Advertisement
Guest User

Untitled

a guest
Jan 7th, 2012
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. static int decode_frame(AVCodecContext *avctx,
  2. void *data, int *data_size,
  3. AVPacket *avpkt)
  4. {
  5. const uint8_t *buf = avpkt->data;
  6. int buf_size = avpkt->size;
  7. FrapsContext * const s = avctx->priv_data;
  8. AVFrame *frame = data;
  9. AVFrame * const f = (AVFrame*)&s->frame;
  10. uint32_t header;
  11. unsigned int version,header_size;
  12. unsigned int x, y;
  13. const uint32_t *buf32;
  14. uint32_t *luma1,*luma2,*cb,*cr;
  15. uint32_t offs[4];
  16. int i, j, is_chroma, planes;
  17.  
  18. av_log(0,0,"f->height : %d\n",f->height);
  19. av_log(0,0,"f->width : %d\n",f->width);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement