[FFmpeg-devel] [PATCH] J2K encoder: fix bpp and add support for 9, 10, and 16 bit YUV

Michael Bradshaw mbradshaw at sorensonmedia.com
Mon Nov 28 21:33:39 CET 2011

Two patches are attached.  One is for fixing the bits per pixel, which
was incorrectly being set in the first version (according to what I've
learned from here:

The other patch is for encoding 9, 10, and 16 bit YUV video.  One
thing: right now I'm using PIX_FMT_YUV420P9 and the like, rather than
the specific big endian and little endian versions.  If this is a
problem, or if it would be better to support both big and little
endian formats (I don't know what the industry "standard" is), let me
know and I can add support.  It's pretty slow at encoding, just so you

Both patches have been pushed to
https://github.com/mjbshaw/FFmpeg-OpenJPEG-J2K-Encoder and the repo
has been merged to be up to date with the latest FFmpeg code.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fixed-incorrectly-setting-the-bits-per-pixel.patch
Type: application/octet-stream
Size: 2259 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111128/80f9dd82/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0103-Added-support-for-encoding-9-10-and-16-bit-YUV-J2K-v.patch
Type: application/octet-stream
Size: 4132 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111128/80f9dd82/attachment-0001.obj>

More information about the ffmpeg-devel mailing list