[FFmpeg-user] Get frame info into an ALIGNED DATA ARRAY. :D

Tomasz Góral tomek at at-net.com.pl
Wed Aug 10 22:44:22 CEST 2011


W dniu 2011-08-10 17:47, ja0335 pisze:
> Hi Stefano
>
> in your sample
> data[0] =
> RGBARGBARGBA....LINE_PADDING...RGBARGBARGBA...LINE_PADDING...RGBARGBARGBA..
>
> what you reffer LINE_PADDING? what is this?
>
> sorry my ingnorance but is the first time in image processing
>
>
Hi,

Memory is divided into segments, LINE_PADDING  is aligned to the next memory segment.

e.g.
memory segment size is 2048 bytes, and one line video is 1536 bytes, the 
remaining bytes of the segment is called compensatory

-- 
Tomasz Góral
AT-net
http://www.at-net.com.pl - oprogramowanie na zamówienie
http://www.imprezylive.pl - transmisje na żywo w internecie
Tel. +48 509 288 840



More information about the ffmpeg-user mailing list