[FFmpeg-cvslog] Increase AVS palette dynamics.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Nov 13 13:02:36 CET 2011
On Sat, Nov 12, 2011 at 08:57:04PM +0100, Carl Eugen Hoyos wrote:
> ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Sat Nov 12 20:47:33 2011 +0100| [0e8da94c2fec8fa5c66ee8df6e516913271c7863] | committer: Carl Eugen Hoyos
>
> Increase AVS palette dynamics.
>
> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e8da94c2fec8fa5c66ee8df6e516913271c7863
> ---
>
> libavcodec/avs.c | 2 +-
> tests/ref/fate/creatureshock-avs | 110 +++++++++++++++++++-------------------
> 2 files changed, 56 insertions(+), 56 deletions(-)
>
> diff --git a/libavcodec/avs.c b/libavcodec/avs.c
> index 4179821..3ba781c 100644
> --- a/libavcodec/avs.c
> +++ b/libavcodec/avs.c
> @@ -87,7 +87,7 @@ avs_decode_frame(AVCodecContext * avctx,
> buf += 4;
> for (i=first; i<last; i++, buf+=3) {
> pal[i] = (buf[0] << 18) | (buf[1] << 10) | (buf[2] << 2);
As for YOP, AV_RB24(buf) << 2 probably should do it?
More information about the ffmpeg-cvslog
mailing list