[FFmpeg-devel] [PATCH] zmbv: stop doing colorspace conversion

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Mar 2 20:18:46 CET 2013


Paul B Mahol <onemda <at> gmail.com> writes:

>      case ZMBV_FMT_8BPP:

> +        for (j = 0; j < 256; j++)
> +            AV_WN32(&c->pic.data[1][j * 4], AV_RB24(&c->pal[j * 3]));

Without testing, I would assume that "0xFFU << 24 |" is 
missing from that line.

Avoiding the conversions is certainly a good idea!

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list