Lines Matching refs:ps_buf1
95 void compute_psnr(app_ctxt_t *ps_app_ctxt, iv_raw_buf_t *ps_buf1, iv_raw_buf_t *ps_buf2) in compute_psnr() argument
109 pu1_buf1 = (UWORD8 *)ps_buf1->apv_bufs[comp]; in compute_psnr()
111 wd = ps_buf1->au4_wd[comp]; in compute_psnr()
112 ht = ps_buf1->au4_ht[comp]; in compute_psnr()
113 strd1 = ps_buf1->au4_strd[comp]; in compute_psnr()
118 if((IV_YUV_420SP_UV == ps_buf1->e_color_fmt) in compute_psnr()
119 || (IV_YUV_420SP_UV == ps_buf1->e_color_fmt)) in compute_psnr()
124 pu1_buf1 = ps_buf1->apv_bufs[0]; in compute_psnr()
127 if(IV_YUV_420SP_UV == ps_buf1->e_color_fmt) in compute_psnr()
128 pu1_buf1 = (UWORD8 *)ps_buf1->apv_bufs[1]; in compute_psnr()
130 pu1_buf1 = (UWORD8 *)ps_buf1->apv_bufs[1] + 1; in compute_psnr()
134 if(IV_YUV_420SP_UV == ps_buf1->e_color_fmt) in compute_psnr()
135 pu1_buf1 = (UWORD8 *)ps_buf1->apv_bufs[1] + 1; in compute_psnr()
137 pu1_buf1 = ps_buf1->apv_bufs[1]; in compute_psnr()
177 pu1_buf1 += strd1 - ps_buf1->au4_wd[comp]; in compute_psnr()