comparison vc1.c @ 8560:a683a89503eb libavcodec

Fill range_map* in VC1Context.
author cehoyos
date Sat, 10 Jan 2009 09:55:55 +0000
parents ce9d640decd1
children 2624a270ef12
comparison
equal deleted inserted replaced
8559:0a7fd7dbea1a 8560:a683a89503eb
1084 avctx->coded_width = (get_bits(gb, 12)+1)<<1; 1084 avctx->coded_width = (get_bits(gb, 12)+1)<<1;
1085 avctx->coded_height = (get_bits(gb, 12)+1)<<1; 1085 avctx->coded_height = (get_bits(gb, 12)+1)<<1;
1086 } 1086 }
1087 if(v->extended_mv) 1087 if(v->extended_mv)
1088 v->extended_dmv = get_bits1(gb); 1088 v->extended_dmv = get_bits1(gb);
1089 if(get_bits1(gb)) { 1089 if((v->range_mapy_flag = get_bits1(gb))) {
1090 av_log(avctx, AV_LOG_ERROR, "Luma scaling is not supported, expect wrong picture\n"); 1090 av_log(avctx, AV_LOG_ERROR, "Luma scaling is not supported, expect wrong picture\n");
1091 skip_bits(gb, 3); // Y range, ignored for now 1091 v->range_mapy = get_bits(gb, 3);
1092 } 1092 }
1093 if(get_bits1(gb)) { 1093 if((v->range_mapuv_flag = get_bits1(gb))) {
1094 av_log(avctx, AV_LOG_ERROR, "Chroma scaling is not supported, expect wrong picture\n"); 1094 av_log(avctx, AV_LOG_ERROR, "Chroma scaling is not supported, expect wrong picture\n");
1095 skip_bits(gb, 3); // UV range, ignored for now 1095 v->range_mapuv = get_bits(gb, 3);
1096 } 1096 }
1097 1097
1098 av_log(avctx, AV_LOG_DEBUG, "Entry point info:\n" 1098 av_log(avctx, AV_LOG_DEBUG, "Entry point info:\n"
1099 "BrokenLink=%i, ClosedEntry=%i, PanscanFlag=%i\n" 1099 "BrokenLink=%i, ClosedEntry=%i, PanscanFlag=%i\n"
1100 "RefDist=%i, Postproc=%i, FastUVMC=%i, ExtMV=%i\n" 1100 "RefDist=%i, Postproc=%i, FastUVMC=%i, ExtMV=%i\n"