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_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 …]
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 …]
/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/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/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 …]
/external/libhevc/decoder/x86/
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 …]
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_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 …]
/external/libhevc/decoder/arm/
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_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.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/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/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/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.c84 IHEVCD_ERROR_T ihevcd_fmt_conv(codec_t *ps_codec,
91 WORD32 ihevcd_init(codec_t *ps_codec);
93 WORD32 ihevcd_allocate_dynamic_bufs(codec_t *ps_codec);
94 WORD32 ihevcd_free_dynamic_bufs(codec_t *ps_codec);
181 static void ihevcd_fill_outargs(codec_t *ps_codec, in ihevcd_fill_outargs() argument
186 ps_dec_op->u4_error_code = ihevcd_map_error((IHEVCD_ERROR_T)ps_codec->i4_error_code); in ihevcd_fill_outargs()
188 - ps_codec->i4_bytes_remaining; in ihevcd_fill_outargs()
189 if(ps_codec->i4_sps_done) in ihevcd_fill_outargs()
191 ps_dec_op->u4_pic_wd = ps_codec->i4_disp_wd; in ihevcd_fill_outargs()
192 ps_dec_op->u4_pic_ht = ps_codec->i4_disp_ht; in ihevcd_fill_outargs()
[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_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_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_parse_slice_header.c217 IHEVCD_ERROR_T ihevcd_parse_slice_header(codec_t *ps_codec, in ihevcd_parse_slice_header() argument
229 bitstrm_t *ps_bitstrm = &ps_codec->s_parse.s_bitstrm; in ihevcd_parse_slice_header()
238 if(ps_codec->i4_slice_error == 1) in ihevcd_parse_slice_header()
255 ps_pps = ps_codec->s_parse.ps_pps_base + pps_id; in ihevcd_parse_slice_header()
258 pps_t *ps_pps_ref = ps_codec->ps_pps_base; in ihevcd_parse_slice_header()
262 if((ps_pps_ref - ps_codec->ps_pps_base >= MAX_PPS_CNT - 1)) in ihevcd_parse_slice_header()
266 ihevcd_copy_pps(ps_codec, pps_id, ps_pps_ref->i1_pps_id); in ihevcd_parse_slice_header()
273 ps_sps = ps_codec->s_parse.ps_sps_base + sps_id; in ihevcd_parse_slice_header()
279 if((0 != ps_codec->u4_pic_cnt || ps_codec->i4_pic_present) && in ihevcd_parse_slice_header()
282 if(ps_codec->i4_pic_present) in ihevcd_parse_slice_header()
[all …]
Dihevcd_ilf_padding.c83 codec_t *ps_codec; in ihevcd_ilf_pad_frame() local
89 ps_codec = ps_deblk_ctxt->ps_codec; in ihevcd_ilf_pad_frame()
109 (0 == ps_codec->i4_disable_deblk_pic)) in ihevcd_ilf_pad_frame()
158 * ps_codec->i4_strd); in ihevcd_ilf_pad_frame()
161 + (i4_ctb_y * ctb_size * ps_codec->i4_strd / 2); in ihevcd_ilf_pad_frame()
173ps_codec->s_func_selector.ihevc_pad_left_luma_fptr(pu1_cur_ctb_luma - 8 * ps_codec->i4_strd, ps_co… in ihevcd_ilf_pad_frame()
174ps_codec->s_func_selector.ihevc_pad_left_chroma_fptr(pu1_cur_ctb_chroma - 8 * ps_codec->i4_strd, p… in ihevcd_ilf_pad_frame()
187ps_codec->s_func_selector.ihevc_pad_right_luma_fptr(pu1_cur_ctb_luma + cols_remaining - 8 * ps_cod… in ihevcd_ilf_pad_frame()
188ps_codec->s_func_selector.ihevc_pad_right_chroma_fptr(pu1_cur_ctb_chroma + cols_remaining - 8 * ps… in ihevcd_ilf_pad_frame()
197 …ihevc_pad_top(ps_deblk_ctxt->pu1_cur_pic_luma - PAD_LEFT, ps_codec->i4_strd, ps_sps->i2_pic_width_… in ihevcd_ilf_pad_frame()
[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