| 139 | } |
| 140 | |
| 141 | void ff_write_quant_matrix(PutBitContext *pb, uint16_t *matrix){ |
| 142 | int i; |
| 143 | |
| 144 | if(matrix){ |
| 145 | put_bits(pb, 1, 1); |
| 146 | for(i=0;i<64;i++) { |
| 147 | put_bits(pb, 8, matrix[ ff_zigzag_direct[i] ]); |
| 148 | } |
| 149 | }else |
| 150 | put_bits(pb, 1, 0); |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * init s->current_picture.qscale_table from s->lambda_table |
no outgoing calls
no test coverage detected