Home
last modified time | relevance | path

Searched refs:ps_codec (Results 1 – 25 of 83) sorted by relevance

1234

/external/libavc/decoder/arm/
Dih264d_function_selector_av8.c83 void ih264d_init_function_ptr_av8(dec_struct_t *ps_codec) in ih264d_init_function_ptr_av8() argument
87 ps_codec->apf_intra_pred_luma_16x16[0] = ih264_intra_pred_luma_16x16_mode_vert_av8; in ih264d_init_function_ptr_av8()
88 ps_codec->apf_intra_pred_luma_16x16[1] = ih264_intra_pred_luma_16x16_mode_horz_av8; in ih264d_init_function_ptr_av8()
89 ps_codec->apf_intra_pred_luma_16x16[2] = ih264_intra_pred_luma_16x16_mode_dc_av8; in ih264d_init_function_ptr_av8()
90 ps_codec->apf_intra_pred_luma_16x16[3] = ih264_intra_pred_luma_16x16_mode_plane_av8; in ih264d_init_function_ptr_av8()
94 ps_codec->apf_intra_pred_luma_4x4[0] = ih264_intra_pred_luma_4x4_mode_vert_av8; in ih264d_init_function_ptr_av8()
95 ps_codec->apf_intra_pred_luma_4x4[1] = ih264_intra_pred_luma_4x4_mode_horz_av8; in ih264d_init_function_ptr_av8()
96 ps_codec->apf_intra_pred_luma_4x4[2] = ih264_intra_pred_luma_4x4_mode_dc_av8; in ih264d_init_function_ptr_av8()
97 ps_codec->apf_intra_pred_luma_4x4[3] = ih264_intra_pred_luma_4x4_mode_diag_dl_av8; in ih264d_init_function_ptr_av8()
98 ps_codec->apf_intra_pred_luma_4x4[4] = ih264_intra_pred_luma_4x4_mode_diag_dr_av8; in ih264d_init_function_ptr_av8()
[all …]
Dih264d_function_selector_a9q.c82 void ih264d_init_function_ptr_a9q(dec_struct_t *ps_codec) in ih264d_init_function_ptr_a9q() argument
87 ps_codec->apf_intra_pred_luma_16x16[0] = ih264_intra_pred_luma_16x16_mode_vert_a9q; in ih264d_init_function_ptr_a9q()
88 ps_codec->apf_intra_pred_luma_16x16[1] = ih264_intra_pred_luma_16x16_mode_horz_a9q; in ih264d_init_function_ptr_a9q()
89 ps_codec->apf_intra_pred_luma_16x16[2] = ih264_intra_pred_luma_16x16_mode_dc_a9q; in ih264d_init_function_ptr_a9q()
90 ps_codec->apf_intra_pred_luma_16x16[3] = ih264_intra_pred_luma_16x16_mode_plane_a9q; in ih264d_init_function_ptr_a9q()
94 ps_codec->apf_intra_pred_luma_4x4[0] = ih264_intra_pred_luma_4x4_mode_vert_a9q; in ih264d_init_function_ptr_a9q()
95 ps_codec->apf_intra_pred_luma_4x4[1] = ih264_intra_pred_luma_4x4_mode_horz_a9q; in ih264d_init_function_ptr_a9q()
96 ps_codec->apf_intra_pred_luma_4x4[2] = ih264_intra_pred_luma_4x4_mode_dc_a9q; in ih264d_init_function_ptr_a9q()
97 ps_codec->apf_intra_pred_luma_4x4[3] = ih264_intra_pred_luma_4x4_mode_diag_dl_a9q; in ih264d_init_function_ptr_a9q()
98 ps_codec->apf_intra_pred_luma_4x4[4] = ih264_intra_pred_luma_4x4_mode_diag_dr_a9q; in ih264d_init_function_ptr_a9q()
[all …]
/external/libavc/decoder/
Dih264d_function_selector_generic.c81 void ih264d_init_function_ptr_generic(dec_struct_t *ps_codec) in ih264d_init_function_ptr_generic() argument
88 ps_codec->apf_intra_pred_luma_16x16[0] = in ih264d_init_function_ptr_generic()
90 ps_codec->apf_intra_pred_luma_16x16[1] = in ih264d_init_function_ptr_generic()
92 ps_codec->apf_intra_pred_luma_16x16[2] = in ih264d_init_function_ptr_generic()
94 ps_codec->apf_intra_pred_luma_16x16[3] = in ih264d_init_function_ptr_generic()
99 ps_codec->apf_intra_pred_luma_4x4[0] = ih264_intra_pred_luma_4x4_mode_vert; in ih264d_init_function_ptr_generic()
100 ps_codec->apf_intra_pred_luma_4x4[1] = ih264_intra_pred_luma_4x4_mode_horz; in ih264d_init_function_ptr_generic()
101 ps_codec->apf_intra_pred_luma_4x4[2] = ih264_intra_pred_luma_4x4_mode_dc; in ih264d_init_function_ptr_generic()
102 ps_codec->apf_intra_pred_luma_4x4[3] = in ih264d_init_function_ptr_generic()
104 ps_codec->apf_intra_pred_luma_4x4[4] = in ih264d_init_function_ptr_generic()
[all …]
/external/libhevc/decoder/arm64/
Dihevcd_function_selector_av8.c61 void ihevcd_init_function_ptr_av8(codec_t *ps_codec) in ihevcd_init_function_ptr_av8() argument
63ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_av8()
64ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_av8()
65ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_v… in ihevcd_init_function_ptr_av8()
66ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_h… in ihevcd_init_function_ptr_av8()
67ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_av8()
68ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_av8()
69ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_av8()
70ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_av8()
71ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_av8()
[all …]
/external/libhevc/decoder/arm/
Dihevcd_function_selector_a9q.c61 void ihevcd_init_function_ptr_a9q(codec_t *ps_codec) in ihevcd_init_function_ptr_a9q() argument
63ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_a9q()
64ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_a9q()
65ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_v… in ihevcd_init_function_ptr_a9q()
66ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_h… in ihevcd_init_function_ptr_a9q()
67ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_a9q()
68ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_a9q()
69ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_a9q()
70ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_a9q()
71ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_a9q()
[all …]
Dihevcd_function_selector_noneon.c61 void ihevcd_init_function_ptr_noneon(codec_t *ps_codec) in ihevcd_init_function_ptr_noneon() argument
63ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_noneon()
64ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_noneon()
65ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_v… in ihevcd_init_function_ptr_noneon()
66ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_h… in ihevcd_init_function_ptr_noneon()
67ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_noneon()
68ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_noneon()
69ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_noneon()
70ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_noneon()
71ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_noneon()
[all …]
Dihevcd_function_selector.c61 void ihevcd_init_function_ptr_neonintr(codec_t *ps_codec);
62 void ihevcd_init_function_ptr_noneon(codec_t *ps_codec);
63 void ihevcd_init_function_ptr_a9q(codec_t *ps_codec);
64 void ihevcd_init_function_ptr_av8(codec_t *ps_codec);
67 codec_t *ps_codec = (codec_t *)pv_codec; in ihevcd_init_function_ptr() local
70 switch(ps_codec->e_processor_arch) in ihevcd_init_function_ptr()
74 ihevcd_init_function_ptr_neonintr(ps_codec); in ihevcd_init_function_ptr()
78 ihevcd_init_function_ptr_noneon(ps_codec); in ihevcd_init_function_ptr()
87 ihevcd_init_function_ptr_a9q(ps_codec); in ihevcd_init_function_ptr()
89 ihevcd_init_function_ptr_noneon(ps_codec); in ihevcd_init_function_ptr()
[all …]
/external/libhevc/decoder/x86/
Dihevcd_function_selector_sse42.c63 codec_t *ps_codec = (codec_t *)pv_codec; in ihevcd_init_function_ptr_sse42() local
65ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_sse42()
66ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_sse42()
67ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_v… in ihevcd_init_function_ptr_sse42()
68ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_h… in ihevcd_init_function_ptr_sse42()
69ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_sse42()
70ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_sse42()
71ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_sse42()
72ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_sse42()
73ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_sse42()
[all …]
Dihevcd_function_selector_ssse3.c63 codec_t *ps_codec = (codec_t *)pv_codec; in ihevcd_init_function_ptr_ssse3() local
65ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_ssse3()
66ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_ssse3()
67ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_v… in ihevcd_init_function_ptr_ssse3()
68ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_h… in ihevcd_init_function_ptr_ssse3()
69ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_ssse3()
70ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_ssse3()
71ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_ssse3()
72ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_ssse3()
73ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_ssse3()
[all …]
Dihevcd_function_selector_generic.c63 codec_t *ps_codec = (codec_t *)pv_codec; in ihevcd_init_function_ptr_generic() local
65ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_generic()
66ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_generic()
67ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_v… in ihevcd_init_function_ptr_generic()
68ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_h… in ihevcd_init_function_ptr_generic()
69ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_generic()
70ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_generic()
71ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_generic()
72ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_generic()
73ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_generic()
[all …]
/external/libhevc/decoder/mips/
Dihevcd_function_selector_mips_generic.c61 void ihevcd_init_function_ptr_mips_generic(codec_t *ps_codec) in ihevcd_init_function_ptr_mips_generic() argument
63ps_codec->s_func_selector.ihevc_deblk_chroma_horz_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_mips_generic()
64ps_codec->s_func_selector.ihevc_deblk_chroma_vert_fptr = &ihevc_deblk_chroma… in ihevcd_init_function_ptr_mips_generic()
65ps_codec->s_func_selector.ihevc_deblk_luma_vert_fptr = &ihevc_deblk_luma_v… in ihevcd_init_function_ptr_mips_generic()
66ps_codec->s_func_selector.ihevc_deblk_luma_horz_fptr = &ihevc_deblk_luma_h… in ihevcd_init_function_ptr_mips_generic()
67ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_mips_generic()
68ps_codec->s_func_selector.ihevc_inter_pred_chroma_copy_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_mips_generic()
69ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_mips_generic()
70ps_codec->s_func_selector.ihevc_inter_pred_chroma_horz_w16out_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_mips_generic()
71ps_codec->s_func_selector.ihevc_inter_pred_chroma_vert_fptr = &ihevc_inter_pred_c… in ihevcd_init_function_ptr_mips_generic()
[all …]
/external/libavc/encoder/
Dih264e_function_selector_generic.c112 void ih264e_init_function_ptr_generic(codec_t *ps_codec) in ih264e_init_function_ptr_generic() argument
122 ps_codec->apf_intra_pred_16_l[0] = ih264_intra_pred_luma_16x16_mode_vert; in ih264e_init_function_ptr_generic()
123 ps_codec->apf_intra_pred_16_l[1] = ih264_intra_pred_luma_16x16_mode_horz; in ih264e_init_function_ptr_generic()
124 ps_codec->apf_intra_pred_16_l[2] = ih264_intra_pred_luma_16x16_mode_dc; in ih264e_init_function_ptr_generic()
125 ps_codec->apf_intra_pred_16_l[3] = ih264_intra_pred_luma_16x16_mode_plane; in ih264e_init_function_ptr_generic()
129 ps_codec->apf_intra_pred_4_l[0] = ih264_intra_pred_luma_4x4_mode_vert; in ih264e_init_function_ptr_generic()
130 ps_codec->apf_intra_pred_4_l[1] = ih264_intra_pred_luma_4x4_mode_horz; in ih264e_init_function_ptr_generic()
131 ps_codec->apf_intra_pred_4_l[2] = ih264_intra_pred_luma_4x4_mode_dc; in ih264e_init_function_ptr_generic()
132 ps_codec->apf_intra_pred_4_l[3] = ih264_intra_pred_luma_4x4_mode_diag_dl; in ih264e_init_function_ptr_generic()
133 ps_codec->apf_intra_pred_4_l[4] = ih264_intra_pred_luma_4x4_mode_diag_dr; in ih264e_init_function_ptr_generic()
[all …]
Dih264e_utils.c187 WORD32 ih264e_input_queue_update(codec_t *ps_codec, in ih264e_input_queue_update() argument
202 ps_codec->i4_last_inp_buff_received = 1; in ih264e_input_queue_update()
206 && !ps_codec->i4_last_inp_buff_received) in ih264e_input_queue_update()
222 ps_codec->s_rate_control.pps_rate_control_api, in ih264e_input_queue_update()
223 ps_codec->s_rate_control.pps_pd_frm_rate, in ih264e_input_queue_update()
224 ps_codec->s_rate_control.pps_time_stamp, in ih264e_input_queue_update()
225 ps_codec->s_rate_control.pps_frame_time); in ih264e_input_queue_update()
237 ps_inp_buf = &(ps_codec->as_inp_list[ps_codec->i4_pic_cnt in ih264e_input_queue_update()
263 i4_force_idr = (ps_codec->force_curr_frame_type == IV_IDR_FRAME); in ih264e_input_queue_update()
264 i4_force_idr |= !(ps_codec->i4_pic_cnt % ps_codec->s_cfg.u4_idr_frm_interval); in ih264e_input_queue_update()
[all …]
Dih264e_encode.c119 void ih264e_join_threads(codec_t *ps_codec) in ih264e_join_threads() argument
126 while (i < ps_codec->i4_proc_thread_cnt) in ih264e_join_threads()
128 if (ps_codec->ai4_process_thread_created[i]) in ih264e_join_threads()
130 ret = ithread_join(ps_codec->apv_proc_thread_handle[i], NULL); in ih264e_join_threads()
136 ps_codec->ai4_process_thread_created[i] = 0; in ih264e_join_threads()
141 ps_codec->i4_proc_thread_cnt = 0; in ih264e_join_threads()
205 codec_t *ps_codec = (codec_t *)ps_codec_obj->pv_codec_handle; in ih264e_encode() local
246 ps_codec->i4_encode_api_call_cnt += 1; in ih264e_encode()
249 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_encode()
252 ps_codec->ai4_pic_cnt[ctxt_sel] = -1; in ih264e_encode()
[all …]
Dih264e_process.c138 IH264E_ERROR_T ih264e_generate_sps_pps(codec_t *ps_codec) in ih264e_generate_sps_pps() argument
141 WORD32 ctxt_sel = ps_codec->i4_encode_api_call_cnt % MAX_CTXT_SETS; in ih264e_generate_sps_pps()
144 entropy_ctxt_t *ps_entropy = &ps_codec->as_process[ctxt_sel * MAX_PROCESS_THREADS].s_entropy; in ih264e_generate_sps_pps()
156 out_buf_t *ps_out_buf = &ps_codec->as_out_buf[ctxt_sel]; in ih264e_generate_sps_pps()
168 ps_codec->i4_pps_id %= MAX_PPS_CNT; in ih264e_generate_sps_pps()
171 ps_codec->i4_sps_id %= MAX_SPS_CNT; in ih264e_generate_sps_pps()
174 ps_sps = ps_codec->ps_sps_base + ps_codec->i4_sps_id; in ih264e_generate_sps_pps()
175 ih264e_populate_sps(ps_codec, ps_sps); in ih264e_generate_sps_pps()
178 ps_pps = ps_codec->ps_pps_base + ps_codec->i4_pps_id; in ih264e_generate_sps_pps()
179 ih264e_populate_pps(ps_codec, ps_pps); in ih264e_generate_sps_pps()
[all …]
/external/libavc/encoder/arm/
Dih264e_function_selector_av8.c109 void ih264e_init_function_ptr_neon_av8(codec_t *ps_codec) in ih264e_init_function_ptr_neon_av8() argument
120 ps_codec->apf_intra_pred_16_l[0] = ih264_intra_pred_luma_16x16_mode_vert_av8; in ih264e_init_function_ptr_neon_av8()
121 ps_codec->apf_intra_pred_16_l[1] = ih264_intra_pred_luma_16x16_mode_horz_av8; in ih264e_init_function_ptr_neon_av8()
122 ps_codec->apf_intra_pred_16_l[2] = ih264_intra_pred_luma_16x16_mode_dc_av8; in ih264e_init_function_ptr_neon_av8()
123 ps_codec->apf_intra_pred_16_l[3] = ih264_intra_pred_luma_16x16_mode_plane_av8; in ih264e_init_function_ptr_neon_av8()
127 ps_codec->apf_intra_pred_4_l[0] = ih264_intra_pred_luma_4x4_mode_vert_av8; in ih264e_init_function_ptr_neon_av8()
128 ps_codec->apf_intra_pred_4_l[1] = ih264_intra_pred_luma_4x4_mode_horz_av8; in ih264e_init_function_ptr_neon_av8()
129 ps_codec->apf_intra_pred_4_l[2] = ih264_intra_pred_luma_4x4_mode_dc_av8; in ih264e_init_function_ptr_neon_av8()
130 ps_codec->apf_intra_pred_4_l[3] = ih264_intra_pred_luma_4x4_mode_diag_dl_av8; in ih264e_init_function_ptr_neon_av8()
131 ps_codec->apf_intra_pred_4_l[4] = ih264_intra_pred_luma_4x4_mode_diag_dr_av8; in ih264e_init_function_ptr_neon_av8()
[all …]
Dih264e_function_selector_a9q.c104 void ih264e_init_function_ptr_neon_a9q(codec_t *ps_codec) in ih264e_init_function_ptr_neon_a9q() argument
113 ps_codec->apf_intra_pred_16_l[0] = ih264_intra_pred_luma_16x16_mode_vert_a9q; in ih264e_init_function_ptr_neon_a9q()
114 ps_codec->apf_intra_pred_16_l[1] = ih264_intra_pred_luma_16x16_mode_horz_a9q; in ih264e_init_function_ptr_neon_a9q()
115 ps_codec->apf_intra_pred_16_l[2] = ih264_intra_pred_luma_16x16_mode_dc_a9q; in ih264e_init_function_ptr_neon_a9q()
116 ps_codec->apf_intra_pred_16_l[3] = ih264_intra_pred_luma_16x16_mode_plane_a9q; in ih264e_init_function_ptr_neon_a9q()
120 ps_codec->apf_intra_pred_4_l[0] = ih264_intra_pred_luma_4x4_mode_vert_a9q; in ih264e_init_function_ptr_neon_a9q()
121 ps_codec->apf_intra_pred_4_l[1] = ih264_intra_pred_luma_4x4_mode_horz_a9q; in ih264e_init_function_ptr_neon_a9q()
122 ps_codec->apf_intra_pred_4_l[2] = ih264_intra_pred_luma_4x4_mode_dc_a9q; in ih264e_init_function_ptr_neon_a9q()
123 ps_codec->apf_intra_pred_4_l[3] = ih264_intra_pred_luma_4x4_mode_diag_dl_a9q; in ih264e_init_function_ptr_neon_a9q()
124 ps_codec->apf_intra_pred_4_l[4] = ih264_intra_pred_luma_4x4_mode_diag_dr_a9q; in ih264e_init_function_ptr_neon_a9q()
[all …]
/external/libavc/decoder/x86/
Dih264d_function_selector_ssse3.c82 void ih264d_init_function_ptr_ssse3(dec_struct_t *ps_codec) in ih264d_init_function_ptr_ssse3() argument
89 ps_codec->apf_intra_pred_luma_16x16[0] = ih264_intra_pred_luma_16x16_mode_vert_ssse3; in ih264d_init_function_ptr_ssse3()
90 ps_codec->apf_intra_pred_luma_16x16[1] = ih264_intra_pred_luma_16x16_mode_horz_ssse3; in ih264d_init_function_ptr_ssse3()
91 ps_codec->apf_intra_pred_luma_16x16[2] = ih264_intra_pred_luma_16x16_mode_dc_ssse3; in ih264d_init_function_ptr_ssse3()
92 ps_codec->apf_intra_pred_luma_16x16[3] = ih264_intra_pred_luma_16x16_mode_plane_ssse3; in ih264d_init_function_ptr_ssse3()
96 ps_codec->apf_intra_pred_luma_4x4[0] = ih264_intra_pred_luma_4x4_mode_vert_ssse3; in ih264d_init_function_ptr_ssse3()
97 ps_codec->apf_intra_pred_luma_4x4[1] = ih264_intra_pred_luma_4x4_mode_horz_ssse3; in ih264d_init_function_ptr_ssse3()
98 ps_codec->apf_intra_pred_luma_4x4[2] = ih264_intra_pred_luma_4x4_mode_dc_ssse3; in ih264d_init_function_ptr_ssse3()
99 ps_codec->apf_intra_pred_luma_4x4[3] = ih264_intra_pred_luma_4x4_mode_diag_dl_ssse3; in ih264d_init_function_ptr_ssse3()
100 ps_codec->apf_intra_pred_luma_4x4[4] = ih264_intra_pred_luma_4x4_mode_diag_dr_ssse3; in ih264d_init_function_ptr_ssse3()
[all …]
/external/libhevc/decoder/
Dihevcd_decode.c85 IHEVCD_ERROR_T ihevcd_check_out_buf_size(codec_t *ps_codec);
86 IHEVCD_ERROR_T ihevcd_fmt_conv(codec_t *ps_codec,
93 WORD32 ihevcd_init(codec_t *ps_codec);
95 WORD32 ihevcd_allocate_dynamic_bufs(codec_t *ps_codec);
96 WORD32 ihevcd_free_dynamic_bufs(codec_t *ps_codec);
185 static void ihevcd_fill_outargs(codec_t *ps_codec, in ihevcd_fill_outargs() argument
190 ps_dec_op->u4_error_code = ihevcd_map_error((IHEVCD_ERROR_T)ps_codec->i4_error_code); in ihevcd_fill_outargs()
192 - ps_codec->i4_bytes_remaining; in ihevcd_fill_outargs()
193 if(ps_codec->i4_sps_done) in ihevcd_fill_outargs()
195 ps_dec_op->u4_pic_wd = ps_codec->i4_disp_wd; in ihevcd_fill_outargs()
[all …]
Dihevcd_api.c96 #define ALIGNED_FREE(ps_codec, y) \ argument
97 if(y) {ps_codec->pf_aligned_free(ps_codec->pv_mem_ctxt, ((void *)y)); (y) = NULL;}
104 WORD32 ihevcd_free_dynamic_bufs(codec_t *ps_codec);
897 WORD32 ihevcd_set_default_params(codec_t *ps_codec) in ihevcd_set_default_params() argument
902 ps_codec->e_pic_skip_mode = IVD_SKIP_NONE; in ihevcd_set_default_params()
903 ps_codec->i4_strd = 0; in ihevcd_set_default_params()
904 ps_codec->i4_disp_strd = 0; in ihevcd_set_default_params()
905 ps_codec->i4_header_mode = 0; in ihevcd_set_default_params()
906 ps_codec->e_pic_out_order = IVD_DISPLAY_FRAME_OUT; in ihevcd_set_default_params()
910 void ihevcd_update_function_ptr(codec_t *ps_codec) in ihevcd_update_function_ptr() argument
[all …]
Dihevcd_parse_slice.c117 WORD32 ihevcd_parse_transform_tree(codec_t *ps_codec, in ihevcd_parse_transform_tree() argument
132 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_transform_tree()
136 cab_ctxt_t *ps_cabac = &ps_codec->s_parse.s_cabac; in ihevcd_parse_transform_tree()
138 max_trafo_depth = ps_codec->s_parse.s_cu.i4_max_trafo_depth; in ihevcd_parse_transform_tree()
139 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_parse_transform_tree()
140 ps_pps = ps_codec->s_parse.ps_pps; in ihevcd_parse_transform_tree()
141 intra_split_flag = ps_codec->s_parse.s_cu.i4_intra_split_flag; in ihevcd_parse_transform_tree()
164 (PRED_MODE_INTER == ps_codec->s_parse.s_cu.i4_pred_mode) && in ihevcd_parse_transform_tree()
165 (PART_2Nx2N != ps_codec->s_parse.s_cu.i4_part_mode) && in ihevcd_parse_transform_tree()
181 ps_codec->s_parse.s_cu.ai1_cbf_cr[trafo_depth] = 0; in ihevcd_parse_transform_tree()
[all …]
Dihevcd_utils.c192 WORD32 ihevcd_get_total_pic_buf_size(codec_t *ps_codec, in ihevcd_get_total_pic_buf_size() argument
202 sps_t *ps_sps = (ps_codec->s_parse.ps_sps_base + ps_codec->i4_sps_id); in ihevcd_get_total_pic_buf_size()
207 if(ps_codec->e_frm_out_mode != IVD_DECODE_FRAME_OUT) in ihevcd_get_total_pic_buf_size()
337 WORD32 ihevcd_nctb_cnt(codec_t *ps_codec, sps_t *ps_sps) in ihevcd_nctb_cnt() argument
340 UNUSED(ps_codec); in ihevcd_nctb_cnt()
453 IHEVCD_ERROR_T ihevcd_pic_buf_mgr_add_bufs(codec_t *ps_codec) in ihevcd_pic_buf_mgr_add_bufs() argument
467 ps_sps = ps_codec->s_parse.ps_sps; in ihevcd_pic_buf_mgr_add_bufs()
472 if(ps_codec->e_frm_out_mode != IVD_DECODE_FRAME_OUT) in ihevcd_pic_buf_mgr_add_bufs()
482 pu1_buf = (UWORD8 *)ps_codec->pu1_ref_pic_buf_base; in ihevcd_pic_buf_mgr_add_bufs()
484 ps_pic_buf = (pic_buf_t *)ps_codec->ps_pic_buf; in ihevcd_pic_buf_mgr_add_bufs()
[all …]
Dihevcd_nal.c331 IHEVCD_ERROR_T ihevcd_nal_unit(codec_t *ps_codec) in ihevcd_nal_unit() argument
338 ret = ihevcd_nal_unit_header(&ps_codec->s_parse.s_bitstrm, &s_nal); in ihevcd_nal_unit()
341 if(ps_codec->i4_slice_error) in ihevcd_nal_unit()
342 s_nal.i1_nal_unit_type = ps_codec->s_parse.ps_slice_hdr->i1_nal_unit_type; in ihevcd_nal_unit()
350 ps_codec->i4_rasl_output_flag = 0; in ihevcd_nal_unit()
358 ps_codec->i4_rasl_output_flag = 1; in ihevcd_nal_unit()
362 ps_codec->i4_rasl_output_flag = (0 != ps_codec->i4_cra_as_first_pic) ? 0 : 1; in ihevcd_nal_unit()
387 if(ps_codec->i4_header_mode) in ihevcd_nal_unit()
390 if((0 == ps_codec->i4_sps_done) || in ihevcd_nal_unit()
391 (0 == ps_codec->i4_pps_done)) in ihevcd_nal_unit()
[all …]
Dihevcd_fmt_conv.c690 IHEVCD_ERROR_T ihevcd_fmt_conv(codec_t *ps_codec, in ihevcd_fmt_conv() argument
728 ps_disp_pic = ps_codec->ps_disp_buf; in ihevcd_fmt_conv()
734 …pu1_luma += ps_codec->i4_strd * ps_sps->i2_pic_crop_top_offset * crop_unit_y + ps_sps->i2_pic_c… in ihevcd_fmt_conv()
737 …pu1_chroma += ps_codec->i4_strd * ps_sps->i2_pic_crop_top_offset + ps_sps->i2_pic_crop_left_offse… in ihevcd_fmt_conv()
740 is_u_first = (IV_YUV_420SP_UV == ps_codec->e_ref_chroma_fmt) ? 1 : 0; in ihevcd_fmt_conv()
744 if(1 == ps_codec->i4_share_disp_buf) in ihevcd_fmt_conv()
752 pu1_y_src = pu1_luma + cur_row * ps_codec->i4_strd; in ihevcd_fmt_conv()
753 pu1_uv_src = pu1_chroma + (cur_row / 2) * ps_codec->i4_strd; in ihevcd_fmt_conv()
756 if((1 == ps_codec->i4_share_disp_buf) && (IV_YUV_420P == ps_codec->e_chroma_fmt)) in ihevcd_fmt_conv()
759 for(i = 0; i < ps_codec->i4_share_disp_buf_cnt; i++) in ihevcd_fmt_conv()
[all …]
/external/libavc/encoder/x86/
Dih264e_function_selector_ssse3.c105 void ih264e_init_function_ptr_ssse3(codec_t *ps_codec) in ih264e_init_function_ptr_ssse3() argument
110 ps_codec->apf_intra_pred_16_l[0] = ih264_intra_pred_luma_16x16_mode_vert_ssse3; in ih264e_init_function_ptr_ssse3()
111 ps_codec->apf_intra_pred_16_l[1] = ih264_intra_pred_luma_16x16_mode_horz_ssse3; in ih264e_init_function_ptr_ssse3()
112 ps_codec->apf_intra_pred_16_l[2] = ih264_intra_pred_luma_16x16_mode_dc_ssse3; in ih264e_init_function_ptr_ssse3()
113 ps_codec->apf_intra_pred_16_l[3] = ih264_intra_pred_luma_16x16_mode_plane_ssse3; in ih264e_init_function_ptr_ssse3()
117 ps_codec->apf_intra_pred_4_l[0] = ih264_intra_pred_luma_4x4_mode_vert_ssse3; in ih264e_init_function_ptr_ssse3()
118 ps_codec->apf_intra_pred_4_l[1] = ih264_intra_pred_luma_4x4_mode_horz_ssse3; in ih264e_init_function_ptr_ssse3()
119 ps_codec->apf_intra_pred_4_l[2] = ih264_intra_pred_luma_4x4_mode_dc_ssse3; in ih264e_init_function_ptr_ssse3()
120 ps_codec->apf_intra_pred_4_l[3] = ih264_intra_pred_luma_4x4_mode_diag_dl_ssse3; in ih264e_init_function_ptr_ssse3()
121 ps_codec->apf_intra_pred_4_l[4] = ih264_intra_pred_luma_4x4_mode_diag_dr_ssse3; in ih264e_init_function_ptr_ssse3()
[all …]

1234