npv:aspect ratio handling
[nyanmp.git] / npv / video / local / state.frag.c
blob80399e9d3bb69b32529675c258a4846fb309c7c3
1 struct dec_fr_priv_t {
2 bool was_qed_to_pe;
3 };
4 /*===========================================================================*/
5 static pthread_mutex_t dec_ctx_mutex_l;
6 /*NSPC*/
7 static avutil_video_fr_ref_t *receive_fr;
8 static avcodec_codec_t *dec_l;
9 static struct vk_mem_rqmts_t tmp_mem_rqmts_l;
10 /*NSPC for the types*/
11 static struct {
12 struct blit_vp_t {
13 s32 width;
14 s32 height;
15 struct vk_offset_3d_t top_left;
16 struct vk_offset_3d_t bottom_right;
17 } vp;
18 } blit_l[npv_vk_swpchn_imgs_n_max];
19 /*NSPC*/
20 static avutil_video_fr_ref_t *last_fr_sent_to_pe;