Lines Matching refs:ps_raw_buf

54 IV_STATUS_T write_recon(FILE *fp, iv_raw_buf_t *ps_raw_buf)  in write_recon()  argument
64 if(IV_YUV_420P == ps_raw_buf->e_color_fmt) in write_recon()
69 wd = ps_raw_buf->au4_wd[comp]; in write_recon()
70 ht = ps_raw_buf->au4_ht[comp]; in write_recon()
71 pu1_buf = ps_raw_buf->apv_bufs[comp]; in write_recon()
158 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
168 ps_raw_buf->apv_bufs[0] = pu1_buf; in init_raw_buf_descr()
171 ps_raw_buf->apv_bufs[1] = pu1_buf; in init_raw_buf_descr()
174 ps_raw_buf->apv_bufs[2] = NULL; in init_raw_buf_descr()
177 ps_raw_buf->apv_bufs[2] = pu1_buf; in init_raw_buf_descr()
180 ps_raw_buf->e_color_fmt = e_color_fmt; in init_raw_buf_descr()
181 ps_raw_buf->au4_wd[0] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
182 ps_raw_buf->au4_ht[0] = ps_app_ctxt->u4_ht; in init_raw_buf_descr()
183 ps_raw_buf->au4_strd[0] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
187 ps_raw_buf->au4_wd[1] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
188 ps_raw_buf->au4_wd[2] = 0; in init_raw_buf_descr()
190 ps_raw_buf->au4_ht[1] = ps_app_ctxt->u4_ht / 2; in init_raw_buf_descr()
191 ps_raw_buf->au4_ht[2] = 0; in init_raw_buf_descr()
193 ps_raw_buf->au4_strd[1] = ps_app_ctxt->u4_wd; in init_raw_buf_descr()
194 ps_raw_buf->au4_strd[2] = 0; in init_raw_buf_descr()
199 ps_raw_buf->au4_wd[1] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
200 ps_raw_buf->au4_wd[2] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
202 ps_raw_buf->au4_ht[1] = ps_app_ctxt->u4_ht / 2; in init_raw_buf_descr()
203 ps_raw_buf->au4_ht[2] = ps_app_ctxt->u4_ht / 2; in init_raw_buf_descr()
205 ps_raw_buf->au4_strd[1] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
206 ps_raw_buf->au4_strd[2] = ps_app_ctxt->u4_wd / 2; in init_raw_buf_descr()
209 if(0 == ps_raw_buf->au4_strd[0]) in init_raw_buf_descr()
211 ps_raw_buf->au4_strd[0] = ps_raw_buf->au4_wd[0]; in init_raw_buf_descr()
212 ps_raw_buf->au4_strd[1] = ps_raw_buf->au4_wd[1]; in init_raw_buf_descr()
213 ps_raw_buf->au4_strd[2] = ps_raw_buf->au4_wd[2]; in init_raw_buf_descr()
216 ps_raw_buf->u4_size = sizeof(iv_raw_buf_t); in init_raw_buf_descr()