Lines Matching refs:stream_format_code
233 static void imc_read_level_coeffs(IMCContext* q, int stream_format_code, int* levlCoeffs)
241 s = stream_format_code >> 1;
248 if(stream_format_code & 4)
313 static int bit_allocation (IMCContext* q, int stream_format_code, int freebits, int flag) {
357 if (stream_format_code & 0x2) {
364 for(i = (stream_format_code & 0x2)?4:0; i < BANDS-1; i++) {
379 for(j = (stream_format_code & 0x2)?4:0; j < BANDS; j++) {
401 for(i = (stream_format_code & 0x2)?4:0; i < BANDS; i++) {
443 if (stream_format_code & 0x2) {
594 static int inverse_quant_coeff (IMCContext* q, int stream_format_code) {
614 quantizer = imc_quantizer2[(stream_format_code & 2) >> 1];
620 quantizer = imc_quantizer1[((stream_format_code & 2) >> 1) | (q->bandFlagsBuf[i] << 1)];
665 int stream_format_code;
696 stream_format_code = get_bits(&q->gb, 3);
698 if(stream_format_code & 1){
699 av_log(avctx, AV_LOG_ERROR, "Stream code format %X is not supported\n", stream_format_code);
703 // av_log(avctx, AV_LOG_DEBUG, "stream_format_code = %d\n", stream_format_code);
705 if (stream_format_code & 0x04)
716 imc_read_level_coeffs(q, stream_format_code, q->levlCoeffBuf);
718 if (stream_format_code & 0x4)
743 if (stream_format_code & 0x2) {
760 if((ret = bit_allocation (q, stream_format_code,
821 if(inverse_quant_coeff(q, stream_format_code) < 0) {