Guest User

Untitled

a guest
Jan 7th, 2012
20
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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);
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×