[FFmpeg-devel] [PATCH] qtrleenc: Add RGB555 and ARGB pixel formats support

Carl Eugen Hoyos cehoyos
Wed Jul 8 10:51:45 CEST 2009


Alexis Ballier <alexis.ballier <at> gmail.com> writes:

> >> + ? ?case PIX_FMT_ARGB:
> >> + ? ? ? ?s->pixel_size = 4;
> >> + ? ? ? ?break;
> >> ? ? ?default:
> >> ? ? ? ? ?av_log(avctx, AV_LOG_ERROR, "Unsupported colorspace.\n");
> >> ? ? ? ? ?break;
> >
> > unrelated?
> 
> sorry but I don't understand; setting pixel_size to the correct value
> is needed by the rest of the encoder.

You are expected to send two patches: One that fixes pixel_size for
PIX_FMT_ARGB, one that adds RGB555 support.

Carl Eugen




More information about the ffmpeg-devel mailing list