Home
last modified time | relevance | path

Searched refs:pic_type (Results 1 – 24 of 24) sorted by relevance

/external/crosvm/devices/src/irqchip/
Dpic.rs224 fn pic_read_command(&mut self, pic_type: PicSelect) -> u8 { in pic_read_command()
225 if self.pics[pic_type as usize].poll { in pic_read_command()
226 let (ret, update_irq_needed) = self.poll_read(pic_type); in pic_read_command()
227 self.pics[pic_type as usize].poll = false; in pic_read_command()
234 } else if self.pics[pic_type as usize].read_reg_select { in pic_read_command()
235 self.pics[pic_type as usize].isr in pic_read_command()
237 self.pics[pic_type as usize].irr in pic_read_command()
241 fn pic_read_data(&mut self, pic_type: PicSelect) -> u8 { in pic_read_data()
242 if self.pics[pic_type as usize].poll { in pic_read_data()
243 let (ret, update_needed) = self.poll_read(pic_type); in pic_read_data()
[all …]
/external/libavc/encoder/
Dih264e_utils.c305 ps_codec->pic_type = PIC_I; in ih264e_input_queue_update()
308 ps_codec->pic_type = PIC_P; in ih264e_input_queue_update()
311 ps_codec->pic_type = PIC_B; in ih264e_input_queue_update()
314 ps_codec->pic_type = PIC_NA; in ih264e_input_queue_update()
320 if (ps_codec->pic_type == PIC_I) in ih264e_input_queue_update()
322 ps_codec->pic_type = ps_codec->i4_pending_idr_flag ? in ih264e_input_queue_update()
323 PIC_IDR : ps_codec->pic_type; in ih264e_input_queue_update()
409 if (ps_enc_buff->u4_is_last && (ps_codec->pic_type == PIC_P) in ih264e_input_queue_update()
1432 PIC_TYPE_T *pic_type = &ps_codec->pic_type; in ih264e_pic_init() local
1446 if ((PIC_I == *pic_type) || (PIC_IDR == *pic_type)) in ih264e_pic_init()
[all …]
Dirc_rate_control_api.h77 picture_type_e pic_type,
Dih264e_encode.c749 switch (ps_codec->pic_type) in ih264e_encode()
Dih264e_structs.h2216 PIC_TYPE_T pic_type; member
Dih264e_process.c2472 switch (ps_codec->pic_type) in ih264e_update_rc_post_enc()
/external/libhevc/encoder/
Dihevce_rc_interface.c214 IV_PICTURE_CODING_TYPE_T pic_type,
1791 IV_PICTURE_CODING_TYPE_T pic_type = (IV_PICTURE_CODING_TYPE_T)ps_rc_lap_out->i4_rc_pic_type; in ihevce_rc_pre_enc_qp_query() local
1840 switch(pic_type) in ihevce_rc_pre_enc_qp_query()
2091 IV_PICTURE_CODING_TYPE_T pic_type = (IV_PICTURE_CODING_TYPE_T)ps_rc_lap_out->i4_rc_pic_type; in ihevce_rc_get_pic_quant() local
2093 pic_type, in ihevce_rc_get_pic_quant()
2125 switch(pic_type) in ihevce_rc_get_pic_quant()
2181 if(!(pic_type == IV_I_FRAME || pic_type == IV_IDR_FRAME)) in ihevce_rc_get_pic_quant()
2254 if(!(pic_type == IV_I_FRAME || pic_type == IV_IDR_FRAME) && call_type == ENC_GET_QP) in ihevce_rc_get_pic_quant()
2274 is_scd_ref_frame &= (pic_type == IV_I_FRAME || pic_type == IV_IDR_FRAME); in ihevce_rc_get_pic_quant()
2278 if((pic_type == IV_I_FRAME || pic_type == IV_IDR_FRAME) && !is_scd_ref_frame) in ihevce_rc_get_pic_quant()
[all …]
Dihevce_coarse_me_pass.c919 S32 pic_type = ps_enc_lap_inp->s_lap_out.i4_pic_type; in ihevce_coarse_me_frame_init() local
925 if((pic_type == IV_I_FRAME) || (pic_type == IV_II_FRAME) || (pic_type == IV_IDR_FRAME)) in ihevce_coarse_me_frame_init()
930 else if((pic_type == IV_P_FRAME) || (pic_type == IV_PP_FRAME)) in ihevce_coarse_me_frame_init()
934 else if((pic_type == IV_B_FRAME) || (pic_type == IV_BB_FRAME)) in ihevce_coarse_me_frame_init()
Drate_control_api.h140 picture_type_e pic_type,
180 void rc_reset_pic_model(rate_control_handle ps_rate_control_api, picture_type_e pic_type);
184 rate_control_handle ps_rate_control_api, picture_type_e pic_type);
386 WORD32 rc_get_prev_header_bits(rate_control_handle ps_rate_control_api, WORD32 pic_type);
Dihevce_rc_interface.h104 IV_PICTURE_CODING_TYPE_T pic_type,
229 IV_PICTURE_CODING_TYPE_T pic_type,
Dihevce_stasino_helpers.h162 WORD32 pic_type,
178 WORD32 pic_type,
Dihevce_stasino_helpers.c504 WORD32 pic_type, in ihevce_psy_rd_cost_croma() argument
544 (void)pic_type; in ihevce_psy_rd_cost_croma()
681 WORD32 pic_type, in ihevce_psy_rd_cost() argument
723 (void)pic_type; in ihevce_psy_rd_cost()
Dihevce_me_pass.c1275 S32 pic_type = ps_enc_lap_inp->s_lap_out.i4_pic_type; in ihevce_me_frame_init() local
1281 if((pic_type == IV_I_FRAME) || (pic_type == IV_II_FRAME) || (pic_type == IV_IDR_FRAME)) in ihevce_me_frame_init()
1287 else if((pic_type == IV_P_FRAME) || (pic_type == IV_PP_FRAME)) in ihevce_me_frame_init()
1291 else if((pic_type == IV_B_FRAME) || (pic_type == IV_BB_FRAME)) in ihevce_me_frame_init()
Dihevce_encode_header.h78 WORD32 ihevce_generate_aud(bitstrm_t *ps_bitstrm, WORD32 pic_type);
Dbit_allocation.h183 WORD32 get_prev_header_bits(bit_allocation_handle ps_bit_allocation, WORD32 pic_type);
Drate_control_api.c2642 WORD32 rc_get_prev_header_bits(rate_control_api_t *ps_rate_control_api, WORD32 pic_type) in rc_get_prev_header_bits() argument
2644 return (get_prev_header_bits(ps_rate_control_api->ps_bit_allocation, pic_type)); in rc_get_prev_header_bits()
3621 void rc_reset_pic_model(rate_control_api_t *ps_rate_control_api, picture_type_e pic_type) in rc_reset_pic_model() argument
3623 reset_frm_rc_rd_model(ps_rate_control_api->aps_rd_model[pic_type]); in rc_reset_pic_model()
3634 rate_control_api_t *ps_rate_control_api, picture_type_e pic_type) in rc_reset_first_frame_coded_flag() argument
3636 ps_rate_control_api->au1_is_first_frm_coded[pic_type] = 0; in rc_reset_first_frame_coded_flag()
Dihevce_encode_header.c763 WORD32 ihevce_generate_aud(bitstrm_t *ps_bitstrm, WORD32 pic_type) in ihevce_generate_aud() argument
774 PUT_BITS(ps_bitstrm, pic_type, 3, return_status); in ihevce_generate_aud()
775 ENTROPY_TRACE("pic type", pic_type); in ihevce_generate_aud()
Dihevce_lap_interface.c1100 WORD8 pic_type = ps_lap_struct->ai1_pic_type[ps_lap_struct->i4_next_start_ctr]; in ihevce_assign_pic_type() local
1102 switch(pic_type) in ihevce_assign_pic_type()
Dbit_allocation.c2175 WORD32 get_prev_header_bits(bit_allocation_t *ps_bit_allocation, WORD32 pic_type) in get_prev_header_bits() argument
2178 return (ps_bit_allocation->i4_prev_frm_header_bits[pic_type]); in get_prev_header_bits()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc_3_0.c94 RADEON_ENC_CS(enc->enc_pic.h264_enc_params.picture_info_l0_reference_picture0.pic_type); in radeon_enc_encode_params_h264()
99 RADEON_ENC_CS(enc->enc_pic.h264_enc_params.picture_info_l0_reference_picture1.pic_type); in radeon_enc_encode_params_h264()
104 RADEON_ENC_CS(enc->enc_pic.h264_enc_params.picture_info_l1_reference_picture0.pic_type); in radeon_enc_encode_params_h264()
Dradeon_vcn_enc_1_2.c965 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_I; in radeon_enc_encode_params()
968 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_P; in radeon_enc_encode_params()
971 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_P_SKIP; in radeon_enc_encode_params()
974 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_B; in radeon_enc_encode_params()
977 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_I; in radeon_enc_encode_params()
993 RADEON_ENC_CS(enc->enc_pic.enc_params.pic_type); in radeon_enc_encode_params()
1010 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_I; in radeon_enc_encode_params_hevc()
1013 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_P; in radeon_enc_encode_params_hevc()
1016 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_P_SKIP; in radeon_enc_encode_params_hevc()
1019 enc->enc_pic.enc_params.pic_type = RENCODE_PICTURE_TYPE_B; in radeon_enc_encode_params_hevc()
[all …]
Dradeon_uvd_enc_1_1.c861 enc->enc_pic.enc_params.pic_type = RENC_UVD_PICTURE_TYPE_I; in radeon_uvd_enc_encode_params_hevc()
864 enc->enc_pic.enc_params.pic_type = RENC_UVD_PICTURE_TYPE_P; in radeon_uvd_enc_encode_params_hevc()
867 enc->enc_pic.enc_params.pic_type = RENC_UVD_PICTURE_TYPE_P_SKIP; in radeon_uvd_enc_encode_params_hevc()
870 enc->enc_pic.enc_params.pic_type = RENC_UVD_PICTURE_TYPE_B; in radeon_uvd_enc_encode_params_hevc()
873 enc->enc_pic.enc_params.pic_type = RENC_UVD_PICTURE_TYPE_I; in radeon_uvd_enc_encode_params_hevc()
889 if (enc->enc_pic.enc_params.pic_type == RENC_UVD_PICTURE_TYPE_I) in radeon_uvd_enc_encode_params_hevc()
897 RADEON_ENC_CS(enc->enc_pic.enc_params.pic_type); in radeon_uvd_enc_encode_params_hevc()
Dradeon_vcn_enc.h266 unsigned int pic_type; member
273 uint32_t pic_type; member
Dradeon_uvd_enc.h247 uint32_t pic_type; member