FORUMS: list search recent posts

wrong chroma buffer offset after decode

COW Forums : FFmpeg

VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


sanjay soniwrong chroma buffer offset after decode
by on Nov 9, 2011 at 10:58:27 am

Hi,
I am using ffmpeg to decoder my H264 stream.
My problem is that in the output yuv - I am seeing that
data[1] != data[0] + (linesize[0] * height)

rather data[1] is data[0] + (linesize[0] * height) + some more offset.

Can somebody tell, why ffmpeg allocates y, u and v pointers separately and not give offset from a big buffer ?


Posts IndexRead Thread


Current Message Thread:





© 2016 CreativeCOW.net All Rights Reserved
[TOP]