npv:bugs, finer-grained locking, pthread_cond, etc
[nyanmp.git] / npv / video / local / state.frag.c
blobbc28f4db2ee210967c02b6ae9187ec4044e99c55
1 struct dec_fr_priv_t {
2 bool is_being_scaled;
3 bool is_scaled;
4 bool is_last_qed_to_pe;
5 bool was_qed_to_pe;
6 };
7 /*===========================================================================*/
8 static pthread_mutex_t dec_ctx_mutex_l;
9 /*NSPC*/
10 static avutil_video_fr_ref_t *receive_fr;
11 static avcodec_codec_t *dec_l;
12 static struct vk_mem_rqmts_t tmp_mem_rqmts_l;
13 static struct {
14 struct {
15 s32 width;
16 s32 height;
17 } viewport;
18 } blit_l[npv_vk_swpchn_imgs_n_max];