[x264-devel] YUV444 decoded frame construction bug

Dawid Pająk dpajak at wi.zut.edu.pl
Sun Aug 14 11:35:04 CEST 2011


Hi Guys,

I have found a small bug in x264_encoder_frame_end() function. It shows 
itself when the encoder is configured for YUV444 processing. When you 
initialize pic_out structure [returned by x264_encoder_encode()] near 
line 3025/encoder.c, you assume 2-plane NV12 format for decoded frames, 
whereas for YUV444 frames you should copy all 3 planes and initialize 
i_csp with I444 [or actually any format returned by 
x264_frame_internal_csp(h->param.i_csp)].

Cheers,

David


More information about the x264-devel mailing list