MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / ff_write_quant_matrix

Function ff_write_quant_matrix

libavcodec/mpegvideo_enc.c:141–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void 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

Callers 2

mpeg4_encode_vol_headerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected