static int Get_I_macroblock_type() { #ifdef TRACE if (Trace_Flag) printf("macroblock_type(I) "); #endif /* TRACE */ if (Get_Bits1()) { #ifdef TRACE if (Trace_Flag) printf("(1): Intra (1)\n"); #endif /* TRACE */ return 1; } if (!Get_Bits1()) { if (!Quiet_Flag) printf("Invalid macroblock_type code\n"); Fault_Flag = 1; } #ifdef TRACE if (Trace_Flag) printf("(01): Intra, Quant (17)\n"); #endif /* TRACE */ return 17; }
int Get_motion_code () { int code; if (Get_Bits1 ()) { return 0; } if ((code = Show_Bits (9)) >= 64) { code >>= 6; Flush_Buffer (MVtab0[code][1]); return Get_Bits1 ()? -MVtab0[code][0] : MVtab0[code][0]; }