Home
last modified time | relevance | path

Searched refs:frame_type (Results 1 – 25 of 86) sorted by relevance

1234

/hardware/intel/img/psb_video/src/
Dtng_slotorder.c103 IMG_FRAME_TYPE frame_type; /*Output. Frame type. 0: I frame. 1: P frame. 2: B frame*/ in getFrameDpyOrder() local
116 frame_type = IMG_INTRA_IDR; in getFrameDpyOrder()
119 frame_type = IMG_INTER_B; in getFrameDpyOrder()
123 frame_type = IMG_INTER_P; in getFrameDpyOrder()
126 frame_type = IMG_INTRA_FRAME; in getFrameDpyOrder()
134 p_last_info->last_frame_type = frame_type; in getFrameDpyOrder()
143 int displaying_order, frame_type, slot;
169 getFrameDpyOrder(i, bframes, intracnt, &last_info, &displaying_order, &frame_type, &slot);
170 printf("%5d\t%5d\t%c\t%d\n", i, displaying_order, ac_frame_type[frame_type], slot);
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/mp2/parser/
Dviddec_mpeg2_frame_attr.c18 MPEG2_FA_DEB("Frame_Type=%d\n", attr->frame_type); in viddec_mpeg2_print_attr()
92 case MPEG2_PC_TYPE_I: attrs->frame_type = VIDDEC_FRAME_TYPE_I; break; in viddec_mpeg2_translate_attr()
93 case MPEG2_PC_TYPE_P: attrs->frame_type = VIDDEC_FRAME_TYPE_P; break; in viddec_mpeg2_translate_attr()
94 case MPEG2_PC_TYPE_B: attrs->frame_type = VIDDEC_FRAME_TYPE_B; break; in viddec_mpeg2_translate_attr()
95 default: attrs->frame_type = VIDDEC_FRAME_TYPE_INVALID; in viddec_mpeg2_translate_attr()
Dviddec_mpeg2_parse.c142 if ((wl->attrs.frame_type != VIDDEC_FRAME_TYPE_I) in viddec_mpeg2_get_error_code()
143 && (wl->attrs.frame_type != VIDDEC_FRAME_TYPE_P) in viddec_mpeg2_get_error_code()
144 && (wl->attrs.frame_type != VIDDEC_FRAME_TYPE_B)) in viddec_mpeg2_get_error_code()
146 wl->attrs.frame_type = VIDDEC_FRAME_TYPE_I; in viddec_mpeg2_get_error_code()
151 if (wl->attrs.frame_type == VIDDEC_FRAME_TYPE_B) in viddec_mpeg2_get_error_code()
Dviddec_mpeg2_workload.c218 int32_t frame_type; in viddec_mpeg2_manage_ref() local
226 frame_type = parser->info.pic_hdr.picture_coding_type; in viddec_mpeg2_manage_ref()
235 if (frame_type != MPEG2_PC_TYPE_B) in viddec_mpeg2_manage_ref()
245 switch(frame_type) in viddec_mpeg2_manage_ref()
276 if (frame_type != MPEG2_PC_TYPE_B) in viddec_mpeg2_manage_ref()
/hardware/intel/common/libmix/mix_video/src/
Dmixvideoframe_private.h29 MixFrameType frame_type; member
50 mix_videoframe_set_frame_type (MixVideoFrame *obj, MixFrameType frame_type);
53 mix_videoframe_get_frame_type (MixVideoFrame *obj, MixFrameType *frame_type);
Dmixvideoformat_mp42.c601 gint frame_type = -1; in mix_videofmt_mp42_process_decode() local
677 frame_type = picture_param->vop_fields.bits.vop_coding_type; in mix_videofmt_mp42_process_decode()
680 if (idx == 0 && frame_type != MP4_VOP_TYPE_I && frame_type in mix_videofmt_mp42_process_decode()
687 if (idx != 0 && frame_type != MP4_VOP_TYPE_B) { in mix_videofmt_mp42_process_decode()
769 frame_type = picture_param->vop_fields.bits.vop_coding_type; in mix_videofmt_mp42_process_decode()
771 if (frame_type == MP4_VOP_TYPE_B) { in mix_videofmt_mp42_process_decode()
803 frame_type = picture_param->vop_fields.bits.vop_coding_type; in mix_videofmt_mp42_process_decode()
804 if (frame_type != MP4_VOP_TYPE_I && frame_type != MP4_VOP_TYPE_P in mix_videofmt_mp42_process_decode()
805 && frame_type != MP4_VOP_TYPE_B) { in mix_videofmt_mp42_process_decode()
807 LOG_E("frame_type is not I, P or B. frame_type = %d\n", frame_type); in mix_videofmt_mp42_process_decode()
[all …]
Dmixvideoframe.c338 MixFrameType frame_type) { in mix_videoframe_set_frame_type() argument
340 VIDEOFRAME_PRIVATE(obj) -> frame_type = frame_type; in mix_videoframe_set_frame_type()
346 MixFrameType *frame_type) { in mix_videoframe_get_frame_type() argument
348 MIX_VIDEOFRAME_GETTER_CHECK_INPUT(obj, frame_type); in mix_videoframe_get_frame_type()
350 *frame_type = VIDEOFRAME_PRIVATE(obj) -> frame_type; in mix_videoframe_get_frame_type()
Dmixframemanager.c586 MixFrameType frame_type; in mix_framemanager_frametype_based_enqueue() local
589 ret = mix_videoframe_get_frame_type(mvf, &frame_type); in mix_framemanager_frametype_based_enqueue()
600 if (frame_type == TYPE_I) { in mix_framemanager_frametype_based_enqueue()
602 } else if (frame_type == TYPE_P) { in mix_framemanager_frametype_based_enqueue()
604 } else if (frame_type == TYPE_B) { in mix_framemanager_frametype_based_enqueue()
615 if (frame_type != TYPE_I) { in mix_framemanager_frametype_based_enqueue()
626 if (frame_type == TYPE_I || frame_type == TYPE_P) { in mix_framemanager_frametype_based_enqueue()
Dmixvideoformat_vc1.c946 enum _picture_type frame_type = pic_params->picture_fields.bits.picture_type; in mix_videofmt_vc1_decode_a_picture() local
954 if (frame_type == VC1_PTYPE_B) in mix_videofmt_vc1_decode_a_picture()
973 LOG_V( "frame type is %d\n", frame_type); in mix_videofmt_vc1_decode_a_picture()
990 switch (frame_type) in mix_videofmt_vc1_decode_a_picture()
995 ret = mix_videoframe_set_frame_type(frame, frame_type); in mix_videofmt_vc1_decode_a_picture()
1012 LOG_V( "Setting reference frames in picparams, frame_type = %d\n", frame_type); in mix_videofmt_vc1_decode_a_picture()
1016 switch (frame_type) in mix_videofmt_vc1_decode_a_picture()
1421 enum _picture_type frame_type = data->pic_data[0].pic_parms->picture_fields.bits.picture_type; in mix_videofmt_vc1_process_decode() local
1425 if ((frame_type == VC1_PTYPE_I) || (frame_type == VC1_PTYPE_P)) in mix_videofmt_vc1_process_decode()
1436 …if ((frame_type == VC1_PTYPE_I) || (frame_type == VC1_PTYPE_P)) //If I or P frame, update the ref… in mix_videofmt_vc1_process_decode()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
Dvp9_ratectrl.c99 int vp9_rc_bits_per_mb(FRAME_TYPE frame_type, int qindex, in vp9_rc_bits_per_mb() argument
102 int enumerator = frame_type == KEY_FRAME ? 3300000 : 2250000; in vp9_rc_bits_per_mb()
278 if (cpi->common.frame_type == KEY_FRAME) { in get_rate_correction_factor()
290 if (cpi->common.frame_type == KEY_FRAME) { in set_rate_correction_factor()
315 projected_size_based_on_q = estimate_bits_at_q(cpi->common.frame_type, q, in vp9_rc_update_rate_correction_factors()
383 const int bits_per_mb_at_this_q = (int)vp9_rc_bits_per_mb(cm->frame_type, i, in vp9_rc_regulate_q()
421 if (cpi->common.frame_type == KEY_FRAME) { in calc_active_worst_quality_one_pass_vbr()
452 if (cpi->common.frame_type == KEY_FRAME) in calc_active_worst_quality_one_pass_cbr()
574 if (cm->frame_type == KEY_FRAME && !rc->this_key_frame_forced) { in rc_pick_q_and_bounds_one_pass_cbr()
580 if (cm->frame_type == KEY_FRAME && rc->this_key_frame_forced) { in rc_pick_q_and_bounds_one_pass_cbr()
[all …]
Dvp9_picklpf.c139 lf->sharpness_level = cm->frame_type == KEY_FRAME ? 0 in vp9_pick_filter_level()
149 if (cm->frame_type == KEY_FRAME) in vp9_pick_filter_level()
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_audio_mvs.h130 uint32_t frame_type; member
140 uint32_t frame_type; member
149 uint32_t frame_type; member
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_audio_mvs.h154 uint32_t frame_type; member
164 uint32_t frame_type; member
171 uint32_t frame_type; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/
Dmr_dissim.c72 store_info->frame_type = cm->frame_type; in vp8_cal_dissimilarity()
74 if(cm->frame_type != KEY_FRAME) in vp8_cal_dissimilarity()
81 if(cm->frame_type != KEY_FRAME) in vp8_cal_dissimilarity()
233 store_info->frame_type = INTER_FRAME; in vp8_store_drop_frame_info()
Donyx_if.c583 if (cpi->common.frame_type != KEY_FRAME) in cyclic_background_refresh()
2794 if ((cm->frame_type != KEY_FRAME) && !cpi->source_alt_ref_active) in update_golden_frame_stats()
2877 if (cm->frame_type == KEY_FRAME) in update_rd_ref_frame_probs()
3054 ( (cm->frame_type == KEY_FRAME) || in recode_loop_test()
3097 if (cm->frame_type == KEY_FRAME) in update_reference_frames()
3224 if (cm->frame_type == KEY_FRAME) in update_reference_frames()
3271 const FRAME_TYPE frame_type = cm->frame_type; in vp8_loopfilter_frame() local
3306 vp8_loop_filter_frame(cm, &cpi->mb.e_mbd, frame_type); in vp8_loopfilter_frame()
3364 cm->frame_type = KEY_FRAME; /* delayed intra frame */ in encode_frame_to_data_rate()
3424 cm->frame_type = KEY_FRAME; in encode_frame_to_data_rate()
[all …]
Dratectrl.c929 ((cpi->common.frame_type != KEY_FRAME))) in calc_pframe_target_size()
1113 if (cpi->common.frame_type == KEY_FRAME) in vp8_update_rate_correction_factors()
1131 …_q = (int)(((.5 + rate_correction_factor * vp8_bits_per_mb[cpi->common.frame_type][Q]) * cpi->comm… in vp8_update_rate_correction_factors()
1194 if (cpi->common.frame_type == KEY_FRAME) in vp8_update_rate_correction_factors()
1219 if (cpi->common.frame_type == KEY_FRAME) in vp8_regulate_q()
1243 if (cpi->common.frame_type == KEY_FRAME) in vp8_regulate_q()
1268 …bits_per_mb_at_this_q = (int)(.5 + correction_factor * vp8_bits_per_mb[cpi->common.frame_type][i]); in vp8_regulate_q()
1296 if (cpi->common.frame_type == KEY_FRAME) in vp8_regulate_q()
1461 if (cpi->common.frame_type == KEY_FRAME) in vp8_compute_frame_size_bounds()
1541 if (cm->frame_type == KEY_FRAME) in vp8_pick_frame_size()
Dbitstream.c874 if (cpi->common.frame_type == KEY_FRAME) in independent_coef_context_savings()
901 if (cpi->common.frame_type != KEY_FRAME || in independent_coef_context_savings()
902 (cpi->common.frame_type == KEY_FRAME && newp != oldp)) in independent_coef_context_savings()
917 cpi->common.frame_type == KEY_FRAME) in independent_coef_context_savings()
1013 if (cpi->common.frame_type != KEY_FRAME) in vp8_estimate_entropy_savings()
1062 if (cpi->common.frame_type == KEY_FRAME) in vp8_update_coef_context()
1153 cpi->common.frame_type == KEY_FRAME && newp != *Pold) in vp8_update_coef_probs()
1281 oh.type = (int)pc->frame_type; in vp8_pack_bitstream()
1491 if (pc->frame_type != KEY_FRAME) in vp8_pack_bitstream()
1518 if (pc->frame_type == KEY_FRAME) in vp8_pack_bitstream()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
Dloopfilter.c208 FRAME_TYPE frame_type = cm->frame_type; in vp8_loop_filter_row_normal() local
224 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in vp8_loop_filter_row_normal()
309 int frame_type) in vp8_loop_filter_frame() argument
356 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in vp8_loop_filter_frame()
465 FRAME_TYPE frame_type = cm->frame_type; in vp8_loop_filter_frame_yonly() local
500 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in vp8_loop_filter_frame_yonly()
576 FRAME_TYPE frame_type = cm->frame_type; in vp8_loop_filter_partial_frame() local
616 const int hev_index = lfi_n->hev_thr_lut[frame_type][filter_level]; in vp8_loop_filter_partial_frame()
Dblockd.h188 FRAME_TYPE frame_type; member
233 FRAME_TYPE frame_type; member
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/h264/parser/
Dviddec_h264_workload.c133 uint8_t frame_type=0; in h264_parse_update_frame_attributes() local
150frame_type = ( (pInfo->dpb.fs[pInfo->dpb.fs_dec_idc].pic_type)&((0x7 << FRAME_TYPE_FRAME_OFFSET)) … in h264_parse_update_frame_attributes()
151 switch(frame_type) in h264_parse_update_frame_attributes()
153 case FRAME_TYPE_IDR: attrs->frame_type = VIDDEC_FRAME_TYPE_IDR; break; in h264_parse_update_frame_attributes()
154 case FRAME_TYPE_I: attrs->frame_type = VIDDEC_FRAME_TYPE_I; break; in h264_parse_update_frame_attributes()
155 case FRAME_TYPE_P: attrs->frame_type = VIDDEC_FRAME_TYPE_P; break; in h264_parse_update_frame_attributes()
156 case FRAME_TYPE_B: attrs->frame_type = VIDDEC_FRAME_TYPE_B; break; in h264_parse_update_frame_attributes()
157 default: attrs->frame_type = VIDDEC_FRAME_TYPE_INVALID; break; in h264_parse_update_frame_attributes()
164frame_type = ( (pInfo->dpb.fs[pInfo->dpb.fs_dec_idc].pic_type)&((0x7 << FRAME_TYPE_TOP_OFFSET)) )>… in h264_parse_update_frame_attributes()
165 switch(frame_type) in h264_parse_update_frame_attributes()
[all …]
/hardware/intel/common/libmix/mix_vbp/viddec_fw/fw/codecs/vc1/parser/
Dviddec_vc1_workload.c57 attrs->frame_type = vc1_populate_frame_type(info->picLayerHeader.PTypeField1); in translate_parser_info_to_frame_attributes()
60 attrs->frame_type = vc1_populate_frame_type(info->picLayerHeader.PTYPE); in translate_parser_info_to_frame_attributes()
396 BF_WRITE(VC1_0_SEQPIC_FRAME_TYPE, FCM, spr->frame_type, pic->FCM); in vc1_fill_hw_struct()
397 BF_WRITE(VC1_0_SEQPIC_FRAME_TYPE, PTYPE, spr->frame_type, pic->PTYPE); in vc1_fill_hw_struct()
595 int frame_type = parser->info.picLayerHeader.PTYPE; in vc1_start_new_frame() local
610 LOG_CRIT("vc1_start_new_frame: frame_type=%d \n",frame_type); in vc1_start_new_frame()
612 parser->is_reference_picture = ((VC1_B_FRAME != frame_type) && (VC1_BI_FRAME != frame_type)); in vc1_start_new_frame()
627 switch( frame_type ) in vc1_start_new_frame()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/decoder/
Ddecodeframe.c907 if (pc->frame_type == KEY_FRAME) in init_frame()
960 xd->frame_type = pc->frame_type; in init_frame()
1002 pc->frame_type = INTER_FRAME; in vp8_decode_frame()
1019 pc->frame_type = (FRAME_TYPE)(clear[0] & 1); in vp8_decode_frame()
1037 if (pc->frame_type == KEY_FRAME) in vp8_decode_frame()
1070 if ((!pbi->decoded_key_frame && pc->frame_type != KEY_FRAME)) in vp8_decode_frame()
1081 if (pc->frame_type == KEY_FRAME) { in vp8_decode_frame()
1213 if (pc->frame_type != KEY_FRAME) in vp8_decode_frame()
1275 pc->refresh_last_frame = pc->frame_type == KEY_FRAME || vp8_read_bit(bc); in vp8_decode_frame()
1289 pc->frame_type, in vp8_decode_frame()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
Dvp9_onyxc_int.h107 FRAME_TYPE frame_type; member
255 return cm->frame_type == KEY_FRAME ? vp9_kf_partition_probs[ctx] in get_partition_probs()
296 return cm->frame_type == KEY_FRAME || cm->intra_only; in frame_is_intra_only()
/hardware/qcom/msm8996/original-kernel-headers/media/
Dmsmb_pproc.h71 enum msm_cpp_frame_type frame_type; member
157 enum msm_vpe_frame_type frame_type; member
266 enum msm_cpp_frame_type frame_type; member
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
Dvp8.h106 vpx_ref_frame_type_t frame_type; /**< which reference frame */ member

1234