[FFmpeg-trac] #635(avcodec:new): Incorrect Memory Layout when using avpicture_layout with PIX_FMT_NV12
FFmpeg
trac at avcodec.org
Thu Nov 10 16:53:59 CET 2011
#635: Incorrect Memory Layout when using avpicture_layout with PIX_FMT_NV12
-------------------------------------+-----------------------------------
Reporter: jkersch | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: NV12 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by jkersch):
the Luma plane is correct, however, for Cb and Cr there are two different
buffers instead of an interleaved one where the byte are merged in the
form (Cb)(Cr)(Cb)(Cr).
linesize however correctly displays only 2 planes.
any chance to get this layouted directly within avpicture_layout?
i want to pack those buffers into a media sample to use avcodec as a Media
Foundation Transform decoder. (which works great, except the hack to
output NV12)
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/635#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list