| 725 | } |
| 726 | |
| 727 | static void init_dequant_tables(H264Context *h){ |
| 728 | int i,x; |
| 729 | init_dequant4_coeff_table(h); |
| 730 | if(h->pps.transform_8x8_mode) |
| 731 | init_dequant8_coeff_table(h); |
| 732 | if(h->sps.transform_bypass){ |
| 733 | for(i=0; i<6; i++) |
| 734 | for(x=0; x<16; x++) |
| 735 | h->dequant4_coeff[i][0][x] = 1<<6; |
| 736 | if(h->pps.transform_8x8_mode) |
| 737 | for(i=0; i<2; i++) |
| 738 | for(x=0; x<64; x++) |
| 739 | h->dequant8_coeff[i][0][x] = 1<<6; |
| 740 | } |
| 741 | } |
| 742 | |
| 743 | |
| 744 | int ff_h264_alloc_tables(H264Context *h){ |
no test coverage detected