Lines Matching refs:WORD32

216     WORD32 qp_div, /* qpscaled / 6 */
217 WORD32 qp_rem, /* qpscaled % 6 */
218 WORD32 src_strd,
219 WORD32 pred_strd,
220 WORD32 dst_strd,
221 WORD32 zero_cols,
222 WORD32 zero_rows);
225 UWORD8 *pu1_ref, WORD32 src_strd, UWORD8 *pu1_dst, WORD32 dst_strd, WORD32 nt, WORD32 mode);
230 WORD32 *pi4_tmp,
232 WORD32 src_strd,
233 WORD32 pred_strd,
234 WORD32 dst_strd_chr_flag);
236 typedef WORD32 (*pf_quant)(
240 WORD32 qp_div, /* qpscaled / 6 */
241 WORD32 qp_rem, /* qpscaled % 6 */
242 WORD32 q_add,
243 WORD32 src_strd,
244 WORD32 dst_strd,
246 WORD32 csbf_strd,
247 WORD32 *zero_cols,
248 WORD32 *zero_row);
307 WORD32 *pi4_qscale_to_qp;
309 WORD32 *pi4_qp_to_qscale_q_factor;
311 WORD32 *pi4_qp_to_qscale;
392 WORD32 i4_luma_coeff_offset;
395 WORD32 ai4_cb_coeff_offset[2];
398 WORD32 ai4_cr_coeff_offset[2];
676 WORD32 ai4_tu_split_flag[4];
684 WORD32 ai4_tu_early_cbf[4];
699 WORD32 i4_total_cost;
702 WORD32 i4_pred_data_stride;
820 WORD32 ai4_mv_cost[MAX_INTER_CU_CANDIDATES][NUM_INTER_PU_PARTS];
823 WORD32 ai4_err_metric[MAX_INTER_CU_CANDIDATES][NUM_INTER_PU_PARTS];
842 WORD32 i4_act_factor[4][2];
887 WORD32 num_best_results;
909 WORD32 num_best_results;
924 WORD32 num_best_results;
955 WORD32 i4_noise_present;
1003 WORD32 i4_idx;
1052 WORD32 ai4_col_l0_poc[HEVCE_MAX_REF_PICS];
1055 WORD32 ai4_col_l1_poc[HEVCE_MAX_REF_PICS];
1058 WORD32 i4_bottom_field;
1061 WORD32 i4_topfield_first;
1064 WORD32 i4_poc;
1067 WORD32 i4_buf_id;
1070 WORD32 i4_is_reference;
1073 WORD32 i4_pic_type;
1076 WORD32 i4_is_free;
1085 WORD32 i4_deblk_pad_hpel_cur_pic;
1096 WORD32 i4_inv_luma_wt;
1101 WORD32 i4_log2_wt_denom;
1106 WORD32 i4_used_by_cur_pic_flag;
1109 WORD32 i4_frame_qp;
1115 WORD32 i4_idr_gop_num;
1120 WORD32 i4_non_ref_free_flag;
1127 WORD32 i4_display_num;
1166 WORD32 i4_cl_sad_lambda_qf;
1168 WORD32 i4_cl_sad_type2_lambda_qf;
1175 WORD32 i4_ol_sad_lambda_qf;
1177 WORD32 i4_ol_sad_type2_lambda_qf;
1184 WORD32 i4_cl_satd_lambda_qf;
1186 WORD32 i4_cl_satd_type2_lambda_qf;
1193 WORD32 i4_ol_satd_lambda_qf;
1195 WORD32 i4_ol_satd_type2_lambda_qf;
1233 WORD32 i4_8x8_cur_satd;
1276 WORD32 i4_4x4_satd;
1279 WORD32 i4_4x4_cur_satd;
1288 WORD32 i4_sum_4x4_satd[16];
1289 WORD32 i4_min_4x4_satd[16];
1299 WORD32 i4_8x8_satd[16][2];
1311 WORD32 i4_16x16_satd[4][3];
1326 WORD32 i4_32x32_satd[1][4];
1329 WORD32 i4_best_satd_8x8[16];
1334 WORD32 i4_best_sad_cost_8x8_l1_ipe[16];
1336 WORD32 i4_best_sad_8x8_l1_ipe[16];
1338 WORD32 i4_best_sad_cost_8x8_l1_me[16];
1341 WORD32 i4_sad_cost_me_for_ref[16];
1344 WORD32 i4_sad_me_for_ref[16];
1347 WORD32 i4_best_sad_8x8_l1_me[16];
1349 WORD32 i4_best_sad_8x8_l1_me_for_decide[16];
1352 WORD32 ai4_16x16_mean[16];
1355 WORD32 ai4_32x32_mean[4];
1358 WORD32 i4_64x64_mean;
1385 WORD32 i4_best_intra_cost;
1419 WORD32 i4_best_intra_cost;
1460 WORD32 i4_best_intra_cost;
1502 WORD32 ai4_best8x8_intra_cost[MAX_CU_IN_CTB];
1505 WORD32 ai4_best16x16_intra_cost[MAX_CU_IN_CTB >> 2];
1508 WORD32 ai4_best32x32_intra_cost[MAX_CU_IN_CTB >> 4];
1511 WORD32 i4_best64x64_intra_cost;
1530 WORD32 i4_64x64_act_factor[4][2];
1539 WORD32 i4_32x32_act_factor[4][3][2];
1547 WORD32 i4_16x16_act_factor[16][2][2];
1549 WORD32 nodes_created_in_cu_tree;
1553 WORD32 ai4_8x8_act_factor[16];
1554 WORD32 ai4_best_sad_8x8_l1_me[MAX_CU_IN_CTB];
1555 WORD32 ai4_best_sad_8x8_l1_ipe[MAX_CU_IN_CTB];
1556 WORD32 ai4_best_sad_cost_8x8_l1_me[MAX_CU_IN_CTB];
1557 WORD32 ai4_best_sad_cost_8x8_l1_ipe[MAX_CU_IN_CTB];
1560 WORD32 i4_ctb_acc_satd;
1563 WORD32 i4_ctb_acc_mpm_bits;
1583 WORD32 i4_buf_id;
1589 WORD32 i4_end_flag;
1601 WORD32 curr_inp_buf_id;
1662 WORD32 i4_slice_nal_type;
1665 WORD32 i4_inp_timestamp_low;
1668 WORD32 i4_inp_timestamp_high;
1676 WORD32 i4_frm_proc_valid_flag;
1681 WORD32 i4_curr_frm_qp;
1702 WORD32 i4_curr_frame_4x4_avg_act;
1704 WORD32 ai4_mod_factor_derived_by_variance[2];
1718 WORD32 i4_curr_frame_8x8_sum_act_for_strength[2];
1722 WORD32 i4_curr_frame_8x8_num_blks[2];
1726 WORD32 i4_acc_frame_8x8_num_blks[2];
1740 WORD32 i4_curr_frame_16x16_num_blks[3];
1743 WORD32 i4_acc_frame_16x16_num_blks[3];
1756 WORD32 i4_curr_frame_32x32_num_blks[3];
1759 WORD32 i4_acc_frame_32x32_num_blks[3];
1765 WORD32 i4_complexity_percentage;
1767 WORD32 i4_is_high_complex_region;
1769 WORD32 i4_avg_noise_thrshld_4x4;
1772 WORD32 i4_curr_frame_mean_num_blks;
1784 WORD32 i4_size;
1836 WORD32 i4_min_qp;
1837 WORD32 i4_max_qp;
1840 WORD32 i4_max_frame_qp;
1849 WORD32 i4_ref_poc_l0[MAX_DPB_SIZE];
1850 WORD32 i4_ref_poc_l1[MAX_DPB_SIZE];
1912 WORD32 i4_buf_id;
1918 WORD32 i4_end_flag;
1924 WORD32 curr_inp_buf_id;
1930 WORD32 curr_inp_from_me_buf_id;
1936 WORD32 curr_inp_from_l0_ipe_buf_id;
1944 WORD32 i4_frm_proc_valid_flag;
1994 WORD32 i4_end_flag;
2033 WORD32 i4_slice_nal_type;
2036 WORD32 i4_inp_timestamp_low;
2039 WORD32 i4_inp_timestamp_high;
2047 WORD32 i4_frm_proc_valid_flag;
2052 WORD32 ai4_entry_point_offset[MAX_NUM_CTB_ROWS_FRM];
2057 WORD32 i4_rdopt_bits_generated_estimate;
2070 WORD32 i4_qp;
2071 WORD32 i4_poc;
2072 WORD32 i4_display_num;
2073 WORD32 i4_pic_type;
2076 WORD32 i4_is_I_scenecut;
2078 WORD32 i4_is_non_I_scenecut;
2079 WORD32 i4_sub_pic_level_rc;
2081 WORD32 ai4_frame_bits_estimated;
2086 WORD32 i4_is_end_of_idr_gop;
2092 WORD32 i4_out_flush_flag;
2104 WORD32 i4_br_id;
2107 WORD32 i4_frm_id;
2110 WORD32 i4_ctb_count_in_data;
2113 WORD32 i4_ctb_count_out_scale;
2168 WORD32 i4_num_create_memtabs;
2180 WORD32 i4_num_q_memtabs;
2198 WORD32 i4_num_queues;
2320 WORD32 i4_ctb_size;
2326 WORD32 i4_min_cu_size;
2329 WORD32 i4_num_cus_in_ctb;
2332 WORD32 i4_num_pus_in_ctb;
2335 WORD32 i4_num_tus_in_ctb;
2340 WORD32 i4_num_ctbs_horz;
2345 WORD32 i4_num_ctbs_vert;
2350 WORD32 i4_max_cus_in_row;
2355 WORD32 i4_max_pus_in_row;
2360 WORD32 i4_max_tus_in_row;
2367 WORD32 i4_cu_aligned_pic_wd;
2374 WORD32 i4_cu_aligned_pic_ht;
2380 WORD32 *pi4_tile_id_map;
2383 WORD32 i4_tile_id_ctb_map_stride;
2399 WORD32 i4_num_output_dep;
2404 WORD32 ai4_out_dep_unit_off[MAX_OUT_DEP];
2410 WORD32 i4_num_inp_dep;
2421 WORD32 i4_size;
2424 WORD32 i4_buf_id;
2427 WORD32 i4_poc;
2430 WORD32 i4_end_flag;
2436 WORD32 i4_is_last_buf;
2448 WORD32 i4_y_pixels;
2451 WORD32 i4_uv_pixels;
2463 WORD32 i4_force_end_flag;
2471 WORD32 i4_all_thrds_active_flag;
2476 WORD32 i4_seq_mode_enabled_flag;
2482 WORD32 i4_num_enc_proc_thrds;
2489 WORD32 i4_num_active_enc_thrds;
2511 WORD32 ai4_enc_frm_proc_start[MAX_NUM_FRM_PROC_THRDS_ENC];
2533 WORD32 ai4_me_master_done_flag[MAX_NUM_ME_PARALLEL];
2536 WORD32 me_num_thrds_exited[MAX_NUM_ME_PARALLEL];
2539 WORD32 enc_master_done_frame_init[MAX_NUM_ENC_LOOP_PARALLEL];
2542 WORD32 num_thrds_exited[MAX_NUM_ENC_LOOP_PARALLEL];
2545 WORD32 num_thrds_exited_for_reenc;
2548 WORD32 cur_qp[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES];
2564 WORD32 ai4_curr_qp_estimated[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES];
2586 WORD32 ai4_ctb_ctr[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES];
2589 WORD32 ai4_threshold_reached[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES];
2592 WORD32 ai4_prev_chunk_qp[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES];
2595 WORD32 ai4_acc_ctb_ctr[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES];
2598 WORD32 ai4_thrd_id_valid_flag[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES]
2625 WORD32 ai4_curr_qp_acc[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES];
2640 WORD32 ai4_in_frm_l0_ipe_id[MAX_NUM_ME_PARALLEL];
2643 WORD32 out_buf_id[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES]; //[PING_PONG_BUF];
2646 WORD32 ping_pong[MAX_NUM_FRM_PROC_THRDS_ENC];
2656 WORD32 recon_buf_id[NUM_ME_ENC_BUFS][IHEVCE_MAX_NUM_BITRATES]; //[PING_PONG_BUF];
2659 WORD32 me_end_flag;
2662 WORD32 enc_end_flag;
2665 WORD32 num_thrds_done;
2668 WORD32 is_recon_dumped[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES]; //[PING_PONG_BUF];
2671 WORD32 is_out_buf_freed[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES]; //[PING_PONG_BUF];
2675 WORD32 ai4_produce_outbuf[MAX_NUM_ENC_LOOP_PARALLEL][IHEVCE_MAX_NUM_BITRATES];
2678 WORD32 is_in_buf_freed[MAX_NUM_ENC_LOOP_PARALLEL];
2681 WORD32 is_L0_ipe_in_buf_freed[MAX_NUM_ENC_LOOP_PARALLEL];
2696 WORD32 i4_me_coarsest_lyr_type;
2699 WORD32 i4_num_enc_loop_frm_pllel;
2702 WORD32 i4_num_me_frm_pllel;
2709 WORD32 i4_num_pre_enc_proc_thrds;
2716 WORD32 i4_num_active_pre_enc_thrds;
2720 WORD32 ai4_num_thrds_processed_pre_enc[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2726 WORD32 ai4_num_thrds_processed_L0_ipe_qp_init[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2731 WORD32 ai4_num_thrds_processed_decomp[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2736 WORD32 ai4_num_thrds_processed_coarse_me[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2740 WORD32 ai4_decomp_coarse_me_complete_flag[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2755 WORD32 ai4_pre_enc_init_done[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2758 WORD32 ai4_pre_enc_hme_init_done[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2761 WORD32 ai4_pre_enc_deinit_done[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2764 WORD32 ai4_end_flag_pre_enc[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2768 WORD32 i4_ctrl_blocking_mode;
2773 WORD32 i4_last_inp_buf;
2776 WORD32 ai4_in_buf_id_pre_enc[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2785 WORD32 ai4_out_buf_id_pre_enc[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2788 WORD32 i4_L0_IPE_out_buf_id;
2794 WORD32 ai4_cur_frame_qp_pre_enc[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2797 WORD32 ai4_decomp_lyr_buf_idx[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME];
2801 WORD32 i4_qp_update_l0_ipe;
2804 WORD32 i4_last_pic_flag;
2839 WORD32 ai4_ctbs_in_row_proc_ipe_pass[MAX_NUM_CTB_ROWS_FRM];
2849 WORD32 ai4_intra_satd_acc[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME]
2852 WORD32 i4_delay_pre_me_btw_l0_ipe;
2856 WORD32 i4_max_delay_pre_me_btw_l0_ipe;
2862 WORD32 ai4_me_enc_buff_prod_flag[NUM_ME_ENC_BUFS];
2865 WORD32 ai4_me_out_buf_id[NUM_ME_ENC_BUFS];
2868 WORD32 i4_enc_in_buf_id[NUM_ME_ENC_BUFS];
2871 WORD32 i4_is_recon_free_done;
2874 WORD32 i4_idx_dvsr_p;
2875 WORD32 aai4_l1_pre_intra_done[MAX_PRE_ENC_STAGGER + NUM_BUFS_DECOMP_HME]
2878 WORD32 i4_rc_l0_qp;
2882 WORD32 *pi4_active_res_id;
2891 WORD32 i4_encode;
2892 WORD32 i4_in_frame_rc_enabled;
2893 WORD32 i4_num_re_enc;
2903 WORD32 i4_tiles_enabled_flag;
2906 WORD32 i4_uniform_spacing_flag;
2909 WORD32 i4_num_tile_cols;
2910 WORD32 i4_num_tile_rows;
2913 WORD32 i4_curr_tile_width;
2914 WORD32 i4_curr_tile_height;
2917 WORD32 i4_curr_tile_wd_in_ctb_unit;
2918 WORD32 i4_curr_tile_ht_in_ctb_unit;
2925 WORD32 i4_num_tiles;
2928 WORD32 i4_curr_tile_id;
2932 WORD32 i4_first_ctb_x;
2933 WORD32 i4_first_ctb_y;
2937 WORD32 i4_first_sample_x;
2938 WORD32 i4_first_sample_y;
3002 WORD32 ai4_num_buf_recon_q[IHEVCE_MAX_NUM_BITRATES];
3013 WORD32 i4_pre_enc_num_buf_recon_q;
3075 WORD32 i4_num_input_buf_per_queue;
3080 WORD32 i4_cra_poc;
3083 WORD32 i4_num_ref_l0;
3086 WORD32 i4_num_ref_l1;
3089 WORD32 i4_num_ref_l0_active;
3092 WORD32 i4_num_ref_l1_active;
3095 WORD32 i4_pre_enc_num_ref_l0;
3098 WORD32 i4_pre_enc_num_ref_l1;
3101 WORD32 i4_pre_enc_num_ref_l0_active;
3104 WORD32 i4_pre_enc_num_ref_l1_active;
3124 WORD32 i4_io_queues_created;
3126 WORD32 i4_end_flag;
3129 WORD32 i4_num_bitrates;
3132 WORD32 i4_num_enc_loop_frm_pllel;
3135 WORD32 i4_ref_mbr_id;
3138 WORD32 i4_frame_limit_reached;
3145 WORD32 i4_resolution_id;
3157 WORD32 ai4_is_past_pic_complex[2];
3159 WORD32 i4_is_I_reset_done;
3160 WORD32 i4_past_RC_reset_count;
3162 WORD32 i4_future_RC_reset;
3164 WORD32 i4_past_RC_scd_reset_count;
3166 WORD32 i4_future_RC_scd_reset;
3167 WORD32 i4_poc_reset_values;
3173 WORD32 i4_look_ahead_frames_in_first_pass;
3175 WORD32 ai4_mod_factor_derived_by_variance[2];
3198 WORD32 ai4_column_width_array[MAX_TILE_COLUMNS];
3200 WORD32 ai4_row_height_array[MAX_TILE_ROWS];
3207 WORD32 i4_active_scene_num;
3209 WORD32 i4_max_fr_enc_loop_parallel_rc;
3210 WORD32 ai4_rc_query[IHEVCE_MAX_NUM_BITRATES];
3211 WORD32 i4_active_enc_frame_id;
3219 WORD32 i4_blu_ray_spec;
3234 WORD32 i4_ctb_x_off;
3235 WORD32 i4_ctb_y_off;
3247 WORD32 i4_pred_stride;
3250 WORD32 i4_inp_stride;
3253 WORD32 i4_rec_stride;
3256 WORD32 i4_bidir_enabled;
3278 WORD32 *pi4_inv_wt;
3279 WORD32 *pi4_inv_wt_shift_val;
3295 WORD32 i4_lamda;
3299 WORD32 wpred_log_wdc;
3321 WORD32 i4_qstep_ls8;
3326 WORD32 i4_alpha_stim_multiplier;