[Libav-user] Copying pixels directly from AVFrame->data, possible alignment error.
jesper at taxboel.dk
Thu Jun 9 15:02:41 CEST 2016
I am doing a pixel based transformation directly on an AVFrame->data
array, and I am experiencing the following artefact:
The source frame I am working on is 3840x2160 pixels in AV_PIX_FMT_BGR24
format which should place all pixels in the first data array, in BGR order.
The bottom 1/3 part of the picture has a problem with the colors, and I
suspect that the pAVFrame has an alignment problem and I just by chance hit
some data that maps to pixels.
Any Idea what I am doing wrong?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user