62 "Insufficient extradata - need at least %d bytes, got %d\n",
72 mb_size = ((w + 15) >> 4) * ((h + 15) >> 4);
87 for(j = 0; j < 4; j+= 2){
93 for(k = 0; k < 2; k++){
127 return rv30_p_types[code];
129 return rv30_b_types[code];
133 const int stride,
const int lim)
138 for(i = 0; i < 4; i++){
139 diff = ((src[-2*step] - src[1*step]) - (src[-1*step] - src[0*step])*4) >> 3;
140 diff = av_clip(diff, -lim, lim);
141 src[-1*step] = cm[src[-1*step] + diff];
142 src[ 0*step] = cm[src[ 0*step] - diff];
153 int loc_lim, cur_lim, left_lim = 0, top_lim = 0;
156 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
168 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
172 for(j = 0; j < 16; j += 4){
174 for(i = !mb_x; i < 4; i++, Y += 4){
179 else if(!i && r->
deblock_coefs[mb_pos - 1] & (1 << (ij + 3)))
187 for(k = 0; k < 2; k++){
188 int cur_cbp, left_cbp = 0;
189 cur_cbp = (r->
cbp_chroma[mb_pos] >> (k*4)) & 0xF;
191 left_cbp = (r->
cbp_chroma[mb_pos - 1] >> (k*4)) & 0xF;
192 for(j = 0; j < 8; j += 4){
194 for(i = !mb_x; i < 2; i++, C += 4){
195 int ij = i + (j >> 1);
197 if (cur_cbp & (1 << ij))
199 else if(!i && left_cbp & (1 << (ij + 1)))
201 else if( i && cur_cbp & (1 << (ij - 1)))
210 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
214 for(j = 4*!row; j < 16; j += 4){
216 for(i = 0; i < 4; i++, Y += 4){
229 for(k = 0; k < 2; k++){
230 int cur_cbp, top_cbp = 0;
231 cur_cbp = (r->
cbp_chroma[mb_pos] >> (k*4)) & 0xF;
234 for(j = 4*!row; j < 8; j += 4){
236 for(i = 0; i < 2; i++, C += 4){
237 int ij = i + (j >> 1);
241 else if(!j && top_cbp & (1 << (ij + 2)))
243 else if( j && cur_cbp & (1 << (ij - 2)))