Searched refs:ps_app_ctxt (Results 1 - 7 of 7) sorted by relevance

/external/libavc/test/encoder/
H A Dpsnr.h42 void init_psnr(app_ctxt_t *ps_app_ctxt);
44 void compute_psnr(app_ctxt_t *ps_app_ctxt,
48 void print_average_psnr(app_ctxt_t *ps_app_ctxt);
H A Drecon.c85 void allocate_recon(app_ctxt_t *ps_app_ctxt) argument
98 luma_size = ps_app_ctxt->u4_max_wd * ps_app_ctxt->u4_max_ht;
113 ps_app_ctxt->as_recon_buf[i].pu1_buf = pu1_buf;
114 ps_app_ctxt->as_recon_buf[i].u4_buf_size = pic_size;
115 ps_app_ctxt->as_recon_buf[i].u4_is_free = 1;
118 if(ps_app_ctxt->u4_psnr_enable)
128 ps_app_ctxt->pu1_psnr_buf = pu1_buf;
129 ps_app_ctxt->u4_psnr_buf_size = pic_size;
134 void free_recon(app_ctxt_t *ps_app_ctxt) argument
157 init_raw_buf_descr(app_ctxt_t *ps_app_ctxt, iv_raw_buf_t *ps_raw_buf, UWORD8 *pu1_buf, IV_COLOR_FORMAT_T e_color_fmt) argument
[all...]
H A Doutput.c61 void allocate_output(app_ctxt_t *ps_app_ctxt) argument
68 num_bufs = MAX(DEFAULT_NUM_OUTPUT_BUFS, ps_app_ctxt->s_get_buf_info_op.s_ive_op.u4_min_out_bufs);
71 buf_size = ps_app_ctxt->s_get_buf_info_op.s_ive_op.au4_min_out_buf_size[0];
73 memset(ps_app_ctxt->as_output_buf, 0, sizeof(output_buf_t) * DEFAULT_MAX_OUTPUT_BUFS);
85 ps_app_ctxt->as_output_buf[i].pu1_buf = pu1_buf;
86 ps_app_ctxt->as_output_buf[i].u4_buf_size = buf_size;
87 ps_app_ctxt->as_output_buf[i].u4_is_free = 1;
93 void free_output(app_ctxt_t *ps_app_ctxt) argument
99 num_bufs = MAX(DEFAULT_NUM_OUTPUT_BUFS, ps_app_ctxt->s_get_buf_info_op.s_ive_op.u4_min_out_bufs);
104 ih264a_aligned_free(ps_app_ctxt
[all...]
H A Dmain.c499 void parse_argument(app_ctxt_t *ps_app_ctxt, CHAR *argument, CHAR *value) argument
511 sscanf(value, "%d", &ps_app_ctxt->u4_slice_mode);
514 sscanf(value, "%d", &ps_app_ctxt->u4_slice_param);
517 sscanf(value, "%s", ps_app_ctxt->ac_ip_fname);
521 sscanf(value, "%s", ps_app_ctxt->ac_op_fname);
525 sscanf(value, "%s", ps_app_ctxt->ac_recon_fname);
529 sscanf(value, "%d", &ps_app_ctxt->u4_recon_enable);
533 sscanf(value, "%s", ps_app_ctxt->ac_chksum_fname);
537 sscanf(value, "%d", &ps_app_ctxt->u4_chksum_enable);
541 sscanf(value, "%s", ps_app_ctxt
840 read_cfg_file(app_ctxt_t *ps_app_ctxt, FILE *fp_cfg) argument
867 validate_params(app_ctxt_t *ps_app_ctxt) argument
913 init_default_params(app_ctxt_t *ps_app_ctxt) argument
1009 set_dimensions(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1044 set_frame_rate(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1078 set_ipe_params(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1112 set_bit_rate(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1142 set_frame_type(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high, IV_PICTURE_CODING_TYPE_T e_frame_type) argument
1173 set_qp(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1212 set_enc_mode(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high, IVE_ENC_MODE_T e_enc_mode) argument
1245 set_vbv_params(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1277 set_air_params(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1308 set_me_params(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1348 set_gop_params(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1381 set_profile_params(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1415 set_deblock_params(app_ctxt_t *ps_app_ctxt, UWORD32 u4_timestamp_low, UWORD32 u4_timestamp_high) argument
1449 set_vui_params(app_ctxt_t *ps_app_ctxt) argument
1509 synchronous_encode(iv_obj_t *ps_enc, app_ctxt_t *ps_app_ctxt) argument
[all...]
H A Dpsnr.c62 void init_psnr(app_ctxt_t *ps_app_ctxt) argument
64 ps_app_ctxt->adbl_psnr[0] = 0;
65 ps_app_ctxt->adbl_psnr[1] = 0;
66 ps_app_ctxt->adbl_psnr[2] = 0;
67 ps_app_ctxt->u4_psnr_cnt = 0;
95 void compute_psnr(app_ctxt_t *ps_app_ctxt, iv_raw_buf_t *ps_buf1, iv_raw_buf_t *ps_buf2) argument
104 printf("\nPicNum %4d\t ", ps_app_ctxt->u4_psnr_cnt);
186 ps_app_ctxt->adbl_psnr[comp] += df_psnr[comp];
205 ps_app_ctxt->u4_psnr_cnt++;
233 void print_average_psnr(app_ctxt_t *ps_app_ctxt) argument
[all...]
H A Dinput.c52 IV_STATUS_T read_pic_info(app_ctxt_t *ps_app_ctxt, void *pv_pic_info) argument
57 switch(ps_app_ctxt->u4_pic_info_type)
61 ps_app_ctxt->u4_pic_info_size = sizeof(ih264e_pic_info1_t);
65 ps_app_ctxt->u4_pic_info_size = sizeof(ih264e_pic_info2_t);
72 bytes = fread(pv_pic_info, 1, size, ps_app_ctxt->fp_pic_info);
79 IV_STATUS_T read_mb_info(app_ctxt_t *ps_app_ctxt, void *pv_mb_info) argument
86 num_mbs = ALIGN16(ps_app_ctxt->u4_wd) * ALIGN16(ps_app_ctxt->u4_ht);
89 switch(ps_app_ctxt->u4_mb_info_type)
93 ps_app_ctxt
228 allocate_input(app_ctxt_t *ps_app_ctxt) argument
292 free_input(app_ctxt_t *ps_app_ctxt) argument
[all...]
H A Dapp.h330 void allocate_input(app_ctxt_t *ps_app_ctxt);
331 void allocate_output(app_ctxt_t *ps_app_ctxt);
332 void allocate_recon(app_ctxt_t *ps_app_ctxt);
338 IV_STATUS_T read_mb_info(app_ctxt_t *ps_app_ctxt, void *pv_mb_info);
339 IV_STATUS_T read_pic_info(app_ctxt_t *ps_app_ctxt, void *pv_pic_info);
344 void free_input(app_ctxt_t *ps_app_ctxt);
345 void free_recon(app_ctxt_t *ps_app_ctxt);
346 void free_output(app_ctxt_t *ps_app_ctxt);
348 void init_raw_buf_descr(app_ctxt_t *ps_app_ctxt, iv_raw_buf_t *ps_raw_buf, UWORD8 *pu1_buf, IV_COLOR_FORMAT_T e_color_fmt);

Completed in 113 milliseconds