Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- static int decode_frame(AVCodecContext *avctx,
- void *data, int *data_size,
- AVPacket *avpkt)
- {
- const uint8_t *buf = avpkt->data;
- int buf_size = avpkt->size;
- FrapsContext * const s = avctx->priv_data;
- AVFrame *frame = data;
- AVFrame * const f = (AVFrame*)&s->frame;
- uint32_t header;
- unsigned int version,header_size;
- unsigned int x, y;
- const uint32_t *buf32;
- uint32_t *luma1,*luma2,*cb,*cr;
- uint32_t offs[4];
- int i, j, is_chroma, planes;
- av_log(0,0,"f->height : %d\n",f->height);
- av_log(0,0,"f->width : %d\n",f->width);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement