[FFmpeg-cvslog] j2kenc: enable 4:2:0 YUV it works as "well" as the other subsampled yuv formats

Michael Niedermayer git at videolan.org
Tue Sep 27 19:32:15 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 27 19:25:43 2011 +0200| [34ac8ec2eaf8a7cc256c19a984c1be8f20db3f31] | committer: Michael Niedermayer

j2kenc: enable 4:2:0 YUV it works as "well" as the other subsampled yuv formats

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=34ac8ec2eaf8a7cc256c19a984c1be8f20db3f31
---

 libavcodec/j2kenc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index ba31f2b..1c2e89a 100644
--- a/libavcodec/j2kenc.c
+++ b/libavcodec/j2kenc.c
@@ -1041,6 +1041,7 @@ AVCodec ff_jpeg2000_encoder = {
     .capabilities= CODEC_CAP_EXPERIMENTAL,
     .pix_fmts =
         (enum PixelFormat[]) {PIX_FMT_GRAY8, PIX_FMT_RGB24,
+                              PIX_FMT_YUV420P,
                               PIX_FMT_YUV422P, PIX_FMT_YUV444P,
                               PIX_FMT_YUV410P, PIX_FMT_YUV411P,
                               -1}



More information about the ffmpeg-cvslog mailing list