56 "Extradata does not contain selected resolution\n");
65 mb_size = ((w + 15) >> 4) * ((h + 15) >> 4);
80 for(j = 0; j < 4; j+= 2){
86 for(k = 0; k < 2; k++){
120 return rv30_p_types[code];
122 return rv30_b_types[code];
126 const int stride,
const int lim)
131 for(i = 0; i < 4; i++){
132 diff = ((src[-2*step] - src[1*step]) - (src[-1*step] - src[0*step])*4) >> 3;
133 diff = av_clip(diff, -lim, lim);
134 src[-1*step] = cm[src[-1*step] +
diff];
135 src[ 0*step] = cm[src[ 0*step] -
diff];
146 int loc_lim, cur_lim, left_lim = 0, top_lim = 0;
149 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
161 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
165 for(j = 0; j < 16; j += 4){
167 for(i = !mb_x; i < 4; i++, Y += 4){
172 else if(!i && r->
deblock_coefs[mb_pos - 1] & (1 << (ij + 3)))
180 for(k = 0; k < 2; k++){
181 int cur_cbp, left_cbp = 0;
182 cur_cbp = (r->
cbp_chroma[mb_pos] >> (k*4)) & 0xF;
184 left_cbp = (r->
cbp_chroma[mb_pos - 1] >> (k*4)) & 0xF;
185 for(j = 0; j < 8; j += 4){
187 for(i = !mb_x; i < 2; i++, C += 4){
188 int ij = i + (j >> 1);
190 if (cur_cbp & (1 << ij))
192 else if(!i && left_cbp & (1 << (ij + 1)))
194 else if( i && cur_cbp & (1 << (ij - 1)))
203 for(mb_x = 0; mb_x < s->
mb_width; mb_x++, mb_pos++){
207 for(j = 4*!row; j < 16; j += 4){
209 for(i = 0; i < 4; i++, Y += 4){
222 for(k = 0; k < 2; k++){
223 int cur_cbp, top_cbp = 0;
224 cur_cbp = (r->
cbp_chroma[mb_pos] >> (k*4)) & 0xF;
227 for(j = 4*!row; j < 8; j += 4){
229 for(i = 0; i < 2; i++, C += 4){
230 int ij = i + (j >> 1);
234 else if(!j && top_cbp & (1 << (ij + 2)))
236 else if( j && cur_cbp & (1 << (ij - 2)))
262 av_log(avctx,
AV_LOG_ERROR,
"Insufficient extradata - need at least %d bytes, got %d\n",