Lines Matching defs:stream_format_code
216 static void imc_read_level_coeffs(IMCContext* q, int stream_format_code, int* levlCoeffs)
224 s = stream_format_code >> 1;
231 if(stream_format_code & 4)
296 static int bit_allocation (IMCContext* q, int stream_format_code, int freebits, int flag) {
340 if (stream_format_code & 0x2) {
347 for(i = (stream_format_code & 0x2)?4:0; i < BANDS-1; i++) {
362 for(j = (stream_format_code & 0x2)?4:0; j < BANDS; j++) {
384 for(i = (stream_format_code & 0x2)?4:0; i < BANDS; i++) {
426 if (stream_format_code & 0x2) {
577 static int inverse_quant_coeff (IMCContext* q, int stream_format_code) {
597 quantizer = imc_quantizer2[(stream_format_code & 2) >> 1];
603 quantizer = imc_quantizer1[((stream_format_code & 2) >> 1) | (q->bandFlagsBuf[i] << 1)];
647 int stream_format_code;
670 stream_format_code = get_bits(&q->gb, 3);
672 if(stream_format_code & 1){
673 av_log(avctx, AV_LOG_ERROR, "Stream code format %X is not supported\n", stream_format_code);
677 // av_log(avctx, AV_LOG_DEBUG, "stream_format_code = %d\n", stream_format_code);
679 if (stream_format_code & 0x04)
690 imc_read_level_coeffs(q, stream_format_code, q->levlCoeffBuf);
692 if (stream_format_code & 0x4)
717 if (stream_format_code & 0x2) {
734 if(bit_allocation (q, stream_format_code, 512 - bitscount - get_bits_count(&q->gb), flag) < 0) {
794 if(inverse_quant_coeff(q, stream_format_code) < 0) {