Lines Matching defs:frame
97 static inline void tqi_idct_put(AVCodecContext *avctx, AVFrame *frame,
101 ptrdiff_t linesize = frame->linesize[0];
102 uint8_t *dest_y = frame->data[0] + t->mb_y * 16 * linesize + t->mb_x * 16;
103 uint8_t *dest_cb = frame->data[1] + t->mb_y * 8 * frame->linesize[1] + t->mb_x * 8;
104 uint8_t *dest_cr = frame->data[2] + t->mb_y * 8 * frame->linesize[2] + t->mb_x * 8;
112 ff_ea_idct_put_c(dest_cb, frame->linesize[1], block[4]);
113 ff_ea_idct_put_c(dest_cr, frame->linesize[2], block[5]);
127 static int tqi_decode_frame(AVCodecContext *avctx, AVFrame *frame,
150 if ((ret = ff_get_buffer(avctx, frame, 0)) < 0)
168 tqi_idct_put(avctx, frame, t->block);