Mercurial > libavcodec.hg
comparison mpeg12.c @ 2591:65874d96c2da libavcodec
Typo errors patch by (QuickTime | ffmpeg gmail com>
author | michael |
---|---|
date | Mon, 04 Apr 2005 11:25:44 +0000 |
parents | 4aba13499a91 |
children | 0d88e3f89379 |
comparison
equal
deleted
inserted
replaced
2590:4aba13499a91 | 2591:65874d96c2da |
---|---|
1048 | 1048 |
1049 static int mpeg_decode_mb(MpegEncContext *s, | 1049 static int mpeg_decode_mb(MpegEncContext *s, |
1050 DCTELEM block[12][64]) | 1050 DCTELEM block[12][64]) |
1051 { | 1051 { |
1052 int i, j, k, cbp, val, mb_type, motion_type; | 1052 int i, j, k, cbp, val, mb_type, motion_type; |
1053 const int mb_block_count = 4 + (1<< s->chroma_format) | 1053 const int mb_block_count = 4 + (1<< s->chroma_format); |
1054 | 1054 |
1055 dprintf("decode_mb: x=%d y=%d\n", s->mb_x, s->mb_y); | 1055 dprintf("decode_mb: x=%d y=%d\n", s->mb_x, s->mb_y); |
1056 | 1056 |
1057 assert(s->mb_skiped==0); | 1057 assert(s->mb_skiped==0); |
1058 | 1058 |
2716 s->chroma_intra_matrix[j] = v; | 2716 s->chroma_intra_matrix[j] = v; |
2717 } | 2717 } |
2718 #ifdef DEBUG | 2718 #ifdef DEBUG |
2719 dprintf("intra matrix present\n"); | 2719 dprintf("intra matrix present\n"); |
2720 for(i=0;i<64;i++) | 2720 for(i=0;i<64;i++) |
2721 dprintf(" %d", s->intra_matrix[s->dsp.idct_permutation[i]); | 2721 dprintf(" %d", s->intra_matrix[s->dsp.idct_permutation[i]]); |
2722 printf("\n"); | 2722 printf("\n"); |
2723 #endif | 2723 #endif |
2724 } else { | 2724 } else { |
2725 for(i=0;i<64;i++) { | 2725 for(i=0;i<64;i++) { |
2726 j = s->dsp.idct_permutation[i]; | 2726 j = s->dsp.idct_permutation[i]; |
2741 s->chroma_inter_matrix[j] = v; | 2741 s->chroma_inter_matrix[j] = v; |
2742 } | 2742 } |
2743 #ifdef DEBUG | 2743 #ifdef DEBUG |
2744 dprintf("non intra matrix present\n"); | 2744 dprintf("non intra matrix present\n"); |
2745 for(i=0;i<64;i++) | 2745 for(i=0;i<64;i++) |
2746 dprintf(" %d", s->inter_matrix[s->dsp.idct_permutation[i]); | 2746 dprintf(" %d", s->inter_matrix[s->dsp.idct_permutation[i]]); |
2747 printf("\n"); | 2747 printf("\n"); |
2748 #endif | 2748 #endif |
2749 } else { | 2749 } else { |
2750 for(i=0;i<64;i++) { | 2750 for(i=0;i<64;i++) { |
2751 int j= s->dsp.idct_permutation[i]; | 2751 int j= s->dsp.idct_permutation[i]; |