vcmohan
12th April 2021, 07:10
I am using avisynth+ platform, version 3.60, r3276, x86_64. I was trying some code on YUV format using turnleft and turnright. When input was YUV444 8 bit, turnRight after turnLeft worked ok. But when input was YUV420 I get access violation error.
The following is code
imagereader("c:\images\BaseBall.jpg",end = 100)
turnleft()
crop(0,0,800,1060)
#
#converttoYUV420()
#ConvertToYUV444()
F1q=F1Quiver(0,100,25,10,30,10,40,100,60,100,70,20,80,20,100,100, custom = true, morph = false, uv = true)
# for YUV420 access violation. Replacing by TurnLeft runs OK
F1q=turnRight(F1q)
#
Return(F1Q)
The following is code
imagereader("c:\images\BaseBall.jpg",end = 100)
turnleft()
crop(0,0,800,1060)
#
#converttoYUV420()
#ConvertToYUV444()
F1q=F1Quiver(0,100,25,10,30,10,40,100,60,100,70,20,80,20,100,100, custom = true, morph = false, uv = true)
# for YUV420 access violation. Replacing by TurnLeft runs OK
F1q=turnRight(F1q)
#
Return(F1Q)