Lines Matching defs:vpic
58 VAEncPictureParameterBufferVP9 *vpic = ctx->codec_picture_params;
70 vpic->frame_width_src = avctx->width;
71 vpic->frame_height_src = avctx->height;
72 vpic->frame_width_dst = avctx->width;
73 vpic->frame_height_dst = avctx->height;
84 VAEncPictureParameterBufferVP9 *vpic = pic->codec_picture_params;
88 vpic->reconstructed_frame = pic->recon_surface;
89 vpic->coded_buf = pic->output_buffer;
94 num_tile_columns = (vpic->frame_width_src + VP9_MAX_TILE_WIDTH - 1) / VP9_MAX_TILE_WIDTH;
95 vpic->log2_tile_columns = num_tile_columns == 1 ? 0 : av_log2(num_tile_columns - 1) + 1;
100 vpic->ref_flags.bits.force_kf = 1;
101 vpic->refresh_frame_flags = 0xff;
112 vpic->refresh_frame_flags = 1 << hpic->slot | 0xfc;
115 vpic->refresh_frame_flags = 0xff;
117 vpic->ref_flags.bits.ref_frame_ctrl_l0 = 1;
118 vpic->ref_flags.bits.ref_last_idx = href->slot;
119 vpic->ref_flags.bits.ref_last_sign_bias = 1;
132 vpic->refresh_frame_flags = 0x00;
135 vpic->refresh_frame_flags = 0xfe << pic->b_depth & 0xff;
138 vpic->ref_flags.bits.ref_frame_ctrl_l0 = 1;
139 vpic->ref_flags.bits.ref_frame_ctrl_l1 = 2;
140 vpic->ref_flags.bits.ref_last_idx = href0->slot;
141 vpic->ref_flags.bits.ref_last_sign_bias = 1;
142 vpic->ref_flags.bits.ref_gf_idx = href1->slot;
143 vpic->ref_flags.bits.ref_gf_sign_bias = 0;
149 if (vpic->refresh_frame_flags == 0x00) {
157 for (i = 0; i < FF_ARRAY_ELEMS(vpic->reference_frames); i++)
158 vpic->reference_frames[i] = VA_INVALID_SURFACE;
164 av_assert0(vpic->reference_frames[slot] == VA_INVALID_SURFACE);
165 vpic->reference_frames[slot] = ref_pic->recon_surface;
168 vpic->pic_flags.bits.frame_type = (pic->type != PICTURE_TYPE_IDR);
169 vpic->pic_flags.bits.show_frame = pic->display_order <= pic->encode_order;
172 vpic->luma_ac_qindex = priv->q_idx_idr;
174 vpic->luma_ac_qindex = priv->q_idx_p;
176 vpic->luma_ac_qindex = priv->q_idx_b;
177 vpic->luma_dc_qindex_delta = 0;
178 vpic->chroma_ac_qindex_delta = 0;
179 vpic->chroma_dc_qindex_delta = 0;
181 vpic->filter_level = priv->loop_filter_level;
182 vpic->sharpness_level = priv->loop_filter_sharpness;