Lines Matching refs:frame
872 y_ptr = s->frame->data[0] + (mb_y * s->frame->linesize[0] + mb_x) * 8;
873 linesize = s->frame->linesize[0];
886 y_stride = s->frame->linesize[0] * (1 << (3*!enc_blk->dct_mode));
890 y_ptr = s->frame->data[0] +
891 (mb_y * s->frame->linesize[0] + mb_x) * 8;
892 linesize = s->frame->linesize[0];
910 c_offset = ((mb_y >> (s->sys->pix_fmt == AV_PIX_FMT_YUV420P)) * s->frame->linesize[1] +
913 uint8_t *c_ptr = s->frame->data[j] + c_offset;
914 linesize = s->frame->linesize[j];
915 y_stride = (mb_y == 134) ? 8 : (s->frame->linesize[j] * (1 << (3*!enc_blk->dct_mode)));
1024 fs = c->avctx->height == 720 || c->frame->top_field_first ? 0x40 : 0x00;
1026 fs = c->frame->top_field_first ? 0x00 : 0x40;
1066 buf[3] = (1 << 7) | /* frame/field flag 1 -- frame, 0 -- field */
1068 (1 << 5) | /* frame change flag 0 -- same picture as before, 1 -- different */
1121 /* We work with 720p frames split in half. The odd half-frame is chan 2,3 */
1171 const AVFrame *frame, int *got_packet)
1182 s->frame = frame;