*/
/**
- * @file rv30.c
+ * @file libavcodec/rv30.c
* RV30 decoder
*/
{
int i, j, k;
- for(i = 0; i < 4; i++, dst += r->s.b4_stride - 4){
+ for(i = 0; i < 4; i++, dst += r->intra_types_stride - 4){
for(j = 0; j < 4; j+= 2){
int code = svq3_get_ue_golomb(gb) << 1;
if(code >= 81*2){
return -1;
}
for(k = 0; k < 2; k++){
- int A = dst[-r->s.b4_stride] + 1;
+ int A = dst[-r->intra_types_stride] + 1;
int B = dst[-1] + 1;
*dst++ = rv30_itype_from_context[A * 90 + B * 9 + rv30_itype_code[code + k]];
if(dst[-1] == 9){
ff_rv34_decode_end,
ff_rv34_decode_frame,
CODEC_CAP_DR1 | CODEC_CAP_DELAY,
+ .flush = ff_mpeg_flush,
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 3.0"),
+ .pix_fmts= ff_pixfmt_list_420,
};