codecs.conf, vd_ffmpeg: Enable fflagarith video decoder

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32773 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
cehoyos 2011-01-09 18:47:46 +00:00 committed by Uoti Urpala
parent 659c500084
commit 9a021242a9
2 changed files with 9 additions and 1 deletions

View File

@ -2042,6 +2042,14 @@ videocodec cineformhd
guid 0xAD83011E, 0x01d1, 0x4623, 0x91, 0xfd, 0x6b, 0x75, 0xf1, 0x83, 0xc5, 0xa9 guid 0xAD83011E, 0x01d1, 0x4623, 0x91, 0xfd, 0x6b, 0x75, 0xf1, 0x83, 0xc5, 0xa9
out UYVY out UYVY
videocodec fflagarith
info "Lagarith Lossless Video Codec"
status buggy
fourcc LAGS
driver ffmpeg
dll lagarith
out YV12
videocodec lagarith videocodec lagarith
info "Lagarith Lossless Video Codec" info "Lagarith Lossless Video Codec"
comment "http://lags.leetcode.net/codec.html, requires an MMX2 CPU." comment "http://lags.leetcode.net/codec.html, requires an MMX2 CPU."

View File

@ -192,7 +192,7 @@ static int init(sh_video_t *sh){
if(sh->opts->vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug) if(sh->opts->vd_use_slices && (lavc_codec->capabilities&CODEC_CAP_DRAW_HORIZ_BAND) && !do_vis_debug)
ctx->do_slices=1; ctx->do_slices=1;
if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_ROQ && lavc_codec->id != CODEC_ID_VP8) if(lavc_codec->capabilities&CODEC_CAP_DR1 && !do_vis_debug && lavc_codec->id != CODEC_ID_H264 && lavc_codec->id != CODEC_ID_INTERPLAY_VIDEO && lavc_codec->id != CODEC_ID_ROQ && lavc_codec->id != CODEC_ID_VP8 && lavc_codec->id != CODEC_ID_LAGARITH)
ctx->do_dr1=1; ctx->do_dr1=1;
ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64; ctx->b_age= ctx->ip_age[0]= ctx->ip_age[1]= 256*256*256*64;
ctx->ip_count= ctx->b_count= 0; ctx->ip_count= ctx->b_count= 0;