Mercurial > libavcodec.hg
comparison msmpeg4.c @ 5127:4dbe6578f811 libavcodec
misc spelling fixes
author | diego |
---|---|
date | Tue, 12 Jun 2007 09:29:25 +0000 |
parents | 997c368e6433 |
children | 0244bba24b43 |
comparison
equal
deleted
inserted
replaced
5126:7982b376b58a | 5127:4dbe6578f811 |
---|---|
1004 l= level; | 1004 l= level; |
1005 | 1005 |
1006 /* luminance h263 */ | 1006 /* luminance h263 */ |
1007 uni_code= DCtab_lum[size][0]; | 1007 uni_code= DCtab_lum[size][0]; |
1008 uni_len = DCtab_lum[size][1]; | 1008 uni_len = DCtab_lum[size][1]; |
1009 uni_code ^= (1<<uni_len)-1; //M$ doesnt like compatibility | 1009 uni_code ^= (1<<uni_len)-1; //M$ does not like compatibility |
1010 | 1010 |
1011 if (size > 0) { | 1011 if (size > 0) { |
1012 uni_code<<=size; uni_code|=l; | 1012 uni_code<<=size; uni_code|=l; |
1013 uni_len+=size; | 1013 uni_len+=size; |
1014 if (size > 8){ | 1014 if (size > 8){ |
1020 v2_dc_lum_table[level+256][1]= uni_len; | 1020 v2_dc_lum_table[level+256][1]= uni_len; |
1021 | 1021 |
1022 /* chrominance h263 */ | 1022 /* chrominance h263 */ |
1023 uni_code= DCtab_chrom[size][0]; | 1023 uni_code= DCtab_chrom[size][0]; |
1024 uni_len = DCtab_chrom[size][1]; | 1024 uni_len = DCtab_chrom[size][1]; |
1025 uni_code ^= (1<<uni_len)-1; //M$ doesnt like compatibility | 1025 uni_code ^= (1<<uni_len)-1; //M$ does not like compatibility |
1026 | 1026 |
1027 if (size > 0) { | 1027 if (size > 0) { |
1028 uni_code<<=size; uni_code|=l; | 1028 uni_code<<=size; uni_code|=l; |
1029 uni_len+=size; | 1029 uni_len+=size; |
1030 if (size > 8){ | 1030 if (size > 8){ |
1130 case 6: | 1130 case 6: |
1131 //FIXME + TODO VC1 decode mb | 1131 //FIXME + TODO VC1 decode mb |
1132 break; | 1132 break; |
1133 } | 1133 } |
1134 | 1134 |
1135 s->slice_height= s->mb_height; //to avoid 1/0 if the first frame isnt a keyframe | 1135 s->slice_height= s->mb_height; //to avoid 1/0 if the first frame is not a keyframe |
1136 | 1136 |
1137 return 0; | 1137 return 0; |
1138 } | 1138 } |
1139 | 1139 |
1140 int msmpeg4_decode_picture_header(MpegEncContext * s) | 1140 int msmpeg4_decode_picture_header(MpegEncContext * s) |