Lines Matching refs:ps_app_ctxt

85 void allocate_recon(app_ctxt_t *ps_app_ctxt)  in allocate_recon()  argument
98 luma_size = ps_app_ctxt->u4_max_wd * ps_app_ctxt->u4_max_ht; in allocate_recon()
113 ps_app_ctxt->as_recon_buf[i].pu1_buf = pu1_buf; in allocate_recon()
114 ps_app_ctxt->as_recon_buf[i].u4_buf_size = pic_size; in allocate_recon()
115 ps_app_ctxt->as_recon_buf[i].u4_is_free = 1; in allocate_recon()
118 if(ps_app_ctxt->u4_psnr_enable) in allocate_recon()
128 ps_app_ctxt->pu1_psnr_buf = pu1_buf; in allocate_recon()
129 ps_app_ctxt->u4_psnr_buf_size = pic_size; in allocate_recon()
134 void free_recon(app_ctxt_t *ps_app_ctxt) in free_recon() argument
144 ih264a_aligned_free(ps_app_ctxt->as_recon_buf[i].pu1_buf); in free_recon()
147 if(ps_app_ctxt->u4_psnr_enable) in free_recon()
149 ih264a_aligned_free(ps_app_ctxt->pu1_psnr_buf); in free_recon()
157 void init_raw_buf_descr(app_ctxt_t *ps_app_ctxt, iv_raw_buf_t *ps_raw_buf, UWORD8 *pu1_buf, IV_COLO… in init_raw_buf_descr() argument
164 luma_size = ps_app_ctxt->u4_max_wd * ps_app_ctxt->u4_max_ht; in init_raw_buf_descr()
180 ps_raw_buf->au4_wd[0] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
181 ps_raw_buf->au4_ht[0] = ps_app_ctxt->u4_ht; in init_raw_buf_descr()
182 ps_raw_buf->au4_strd[0] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
186 ps_raw_buf->au4_wd[1] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
189 ps_raw_buf->au4_ht[1] = ps_app_ctxt->u4_ht / 2; in init_raw_buf_descr()
192 ps_raw_buf->au4_strd[1] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
198 ps_raw_buf->au4_wd[1] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
199 ps_raw_buf->au4_wd[2] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
201 ps_raw_buf->au4_ht[1] = ps_app_ctxt->u4_ht / 2; in init_raw_buf_descr()
202 ps_raw_buf->au4_ht[2] = ps_app_ctxt->u4_ht / 2; in init_raw_buf_descr()
204 ps_raw_buf->au4_strd[1] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
205 ps_raw_buf->au4_strd[2] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()