Lines Matching defs:stream_format_code
218 static void imc_read_level_coeffs(IMCContext* q, int stream_format_code, int* levlCoeffs)
226 s = stream_format_code >> 1;
233 if(stream_format_code & 4)
298 static int bit_allocation (IMCContext* q, int stream_format_code, int freebits, int flag) {
342 if (stream_format_code & 0x2) {
349 for(i = (stream_format_code & 0x2)?4:0; i < BANDS-1; i++) {
364 for(j = (stream_format_code & 0x2)?4:0; j < BANDS; j++) {
386 for(i = (stream_format_code & 0x2)?4:0; i < BANDS; i++) {
428 if (stream_format_code & 0x2) {
579 static int inverse_quant_coeff (IMCContext* q, int stream_format_code) {
599 quantizer = imc_quantizer2[(stream_format_code & 2) >> 1];
605 quantizer = imc_quantizer1[((stream_format_code & 2) >> 1) | (q->bandFlagsBuf[i] << 1)];
651 int stream_format_code;
674 stream_format_code = get_bits(&q->gb, 3);
676 if(stream_format_code & 1){
677 av_log(avctx, AV_LOG_ERROR, "Stream code format %X is not supported\n", stream_format_code);
681 // av_log(avctx, AV_LOG_DEBUG, "stream_format_code = %d\n", stream_format_code);
683 if (stream_format_code & 0x04)
694 imc_read_level_coeffs(q, stream_format_code, q->levlCoeffBuf);
696 if (stream_format_code & 0x4)
721 if (stream_format_code & 0x2) {
738 if(bit_allocation (q, stream_format_code, 512 - bitscount - get_bits_count(&q->gb), flag) < 0) {
798 if(inverse_quant_coeff(q, stream_format_code) < 0) {