63 "Insufficient extradata - need at least %d bytes, got %d\n",
73 mb_size = ((w + 15) >> 4) * ((h + 15) >> 4);
88 for(j = 0; j < 4; j+= 2){
94 for(k = 0; k < 2; k++){
128 return rv30_p_types[code];
130 return rv30_b_types[code];
134 const int stride,
const int lim)
139 for(i = 0; i < 4; i++){
140 diff = ((src[-2*step] - src[1*step]) - (src[-1*step] - src[0*step])*4) >> 3;
141 diff = av_clip(diff, -lim, lim);
142 src[-1*step] = cm[src[-1*step] + diff];
143 src[ 0*step] = cm[src[ 0*step] - diff];
154 int loc_lim, cur_lim, left_lim = 0, top_lim = 0;
157 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
169 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
173 for(j = 0; j < 16; j += 4){
175 for(i = !mb_x; i < 4; i++, Y += 4){
180 else if(!i && r->
deblock_coefs[mb_pos - 1] & (1 << (ij + 3)))
188 for(k = 0; k < 2; k++){
189 int cur_cbp, left_cbp = 0;
190 cur_cbp = (r->
cbp_chroma[mb_pos] >> (k*4)) & 0xF;
192 left_cbp = (r->
cbp_chroma[mb_pos - 1] >> (k*4)) & 0xF;
193 for(j = 0; j < 8; j += 4){
195 for(i = !mb_x; i < 2; i++, C += 4){
196 int ij = i + (j >> 1);
198 if (cur_cbp & (1 << ij))
200 else if(!i && left_cbp & (1 << (ij + 1)))
202 else if( i && cur_cbp & (1 << (ij - 1)))
211 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
215 for(j = 4*!row; j < 16; j += 4){
217 for(i = 0; i < 4; i++, Y += 4){
230 for(k = 0; k < 2; k++){
231 int cur_cbp, top_cbp = 0;
232 cur_cbp = (r->
cbp_chroma[mb_pos] >> (k*4)) & 0xF;
235 for(j = 4*!row; j < 8; j += 4){
237 for(i = 0; i < 2; i++, C += 4){
238 int ij = i + (j >> 1);
242 else if(!j && top_cbp & (1 << (ij + 2)))
244 else if( j && cur_cbp & (1 << (ij - 2)))