62 const int qscale= a->
qscale;
68 component = (n <= 3 ? 0 : n - 4 + 1);
73 block[0] = a->
last_dc[component]<<3;
86 }
else if(level != 0) {
89 level= (level*qscale*quant_matrix[j])>>3;
101 level= (level*qscale*quant_matrix[j])>>3;
105 level= (level*qscale*quant_matrix[j])>>3;
124 const int block_index[6]= {5,4,0,1,2,3};
156 void *
data,
int *got_frame,
160 int buf_size = avpkt->
size;
180 for(i=0; i<buf_size; i+=2){