#include "avcodec.h"
#include "bytestream.h"
-#include "dsputil.h"
#include "roqvideo.h"
static void roqvideo_decode_frame(RoqContext *ri)
}
-static int roq_decode_init(AVCodecContext *avctx)
+static av_cold int roq_decode_init(AVCodecContext *avctx)
{
RoqContext *s = avctx->priv_data;
s->last_frame = &s->frames[0];
s->current_frame = &s->frames[1];
avctx->pix_fmt = PIX_FMT_YUV444P;
- dsputil_init(&s->dsp, avctx);
return 0;
}
return buf_size;
}
-static int roq_decode_end(AVCodecContext *avctx)
+static av_cold int roq_decode_end(AVCodecContext *avctx)
{
RoqContext *s = avctx->priv_data;
roq_decode_end,
roq_decode_frame,
CODEC_CAP_DR1,
+ .long_name = "Id RoQ video",
};