Re: [FFmpeg-devel] [PATCH]lavc/h264: Output pix_fmt GRAY for monochrome input.

2018-08-31 Thread Michael Niedermayer
On Tue, Aug 07, 2018 at 11:40:08PM +0200, Carl Eugen Hoyos wrote: [...] > +if (h->ps.sps->chroma_format_idc) { > const uint8_t *src_cb = sl->intra_pcm_ptr + 256; > const uint8_t *src_cr = sl->intra_pcm_ptr + 256 + > block_h * 8; >

Re: [FFmpeg-devel] [PATCH]lavc/h264: Output pix_fmt GRAY for monochrome input.

2018-08-07 Thread Carl Eugen Hoyos
2018-08-07 22:26 GMT+02:00, James Almer : > On 8/7/2018 4:51 PM, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch makes the h264 decoder output AV_PIX_FMT_GRAY for >> monochrome h264 streams. >> fate output is identical (and identical with the reference decoder) if >> compared with extractplanes

Re: [FFmpeg-devel] [PATCH]lavc/h264: Output pix_fmt GRAY for monochrome input.

2018-08-07 Thread James Almer
On 8/7/2018 4:51 PM, Carl Eugen Hoyos wrote: > Hi! > > Attached patch makes the h264 decoder output AV_PIX_FMT_GRAY for > monochrome h264 streams. > fate output is identical (and identical with the reference decoder) if > compared with extractplanes=y. > > Please review, Carl Eugen > > > 0001-l

[FFmpeg-devel] [PATCH]lavc/h264: Output pix_fmt GRAY for monochrome input.

2018-08-07 Thread Carl Eugen Hoyos
Hi! Attached patch makes the h264 decoder output AV_PIX_FMT_GRAY for monochrome h264 streams. fate output is identical (and identical with the reference decoder) if compared with extractplanes=y. Please review, Carl Eugen From 6434eff6c14698db192ec2f8777d2b4d2fdd3e8c Mon Sep 17 00:00:00 2001 From