Home
last modified time | relevance | path

Searched refs:pred_mode (Results 1 – 9 of 9) sorted by relevance

/third_party/ffmpeg/tests/checkasm/
Dh264pred.c147 int pred_mode; in check_pred4x4() local
150 for (pred_mode = 0; pred_mode < 15; pred_mode++) { in check_pred4x4()
151 if (check_pred_func(h->pred4x4[pred_mode], "4x4", pred4x4_modes[codec][pred_mode])) { in check_pred4x4()
166 int pred_mode; in check_pred8x8() local
169 for (pred_mode = 0; pred_mode < 11; pred_mode++) { in check_pred8x8()
170 if (check_pred_func(h->pred8x8[pred_mode], (chroma_format == 2) ? "8x16" : "8x8", in check_pred8x8()
171 pred8x8_modes[codec][pred_mode])) { in check_pred8x8()
186 int pred_mode; in check_pred16x16() local
189 for (pred_mode = 0; pred_mode < 9; pred_mode++) { in check_pred16x16()
190 … if (check_pred_func(h->pred16x16[pred_mode], "16x16", pred16x16_modes[codec][pred_mode])) { in check_pred16x16()
[all …]
/third_party/ffmpeg/libavcodec/
Dh264data.h35 uint8_t pred_mode; member
Dh264_cabac.c1364 static int decode_cabac_mb_intra4x4_pred_mode(H264SliceContext *sl, int pred_mode) in decode_cabac_mb_intra4x4_pred_mode() argument
1369 return pred_mode; in decode_cabac_mb_intra4x4_pred_mode()
1375 return mode + ( mode >= pred_mode ); in decode_cabac_mb_intra4x4_pred_mode()
2018 sl->intra16x16_pred_mode = ff_h264_i_mb_type_info[mb_type].pred_mode; in ff_h264_decode_mb_cabac()
2066 int i, pred_mode; in ff_h264_decode_mb_cabac() local
2095 pred_mode = decode_cabac_mb_chroma_pre_mode(h, sl); in ff_h264_decode_mb_cabac()
2097 pred_mode= ff_h264_check_intra_pred_mode(h->avctx, sl->top_samples_available, in ff_h264_decode_mb_cabac()
2098 sl->left_samples_available, pred_mode, 1 ); in ff_h264_decode_mb_cabac()
2099 if( pred_mode < 0 ) return -1; in ff_h264_decode_mb_cabac()
2100 sl->chroma_pred_mode = pred_mode; in ff_h264_decode_mb_cabac()
Dhevc_cabac.c717 if (s->HEVClc->cu.pred_mode == MODE_INTRA) // 0 in ff_hevc_part_mode_decode()
1137 int matrix_id = lc->cu.pred_mode != MODE_INTRA; in ff_hevc_hls_residual_coding()
1152 if (lc->cu.pred_mode == MODE_INTER && s->ps.sps->explicit_rdpcm_enabled_flag && in ff_hevc_hls_residual_coding()
1397 (lc->cu.pred_mode == MODE_INTRA && in ff_hevc_hls_residual_coding()
1498 lc->cu.pred_mode == MODE_INTRA; in ff_hevc_hls_residual_coding()
1507 lc->cu.pred_mode == MODE_INTRA && in ff_hevc_hls_residual_coding()
1513 } else if (lc->cu.pred_mode == MODE_INTRA && c_idx == 0 && log2_trafo_size == 2) { in ff_hevc_hls_residual_coding()
Dh264_cavlc.c765 sl->intra16x16_pred_mode = ff_h264_i_mb_type_info[mb_type].pred_mode; in ff_h264_decode_mb_cavlc()
800 int pred_mode; in ff_h264_decode_mb_cavlc() local
835 pred_mode= ff_h264_check_intra_pred_mode(h->avctx, sl->top_samples_available, in ff_h264_decode_mb_cavlc()
837 if(pred_mode < 0) in ff_h264_decode_mb_cavlc()
839 sl->chroma_pred_mode = pred_mode; in ff_h264_decode_mb_cavlc()
Dhevcdec.c1088 if (lc->cu.pred_mode == MODE_INTRA) { in hls_transform_unit()
1143 if (lc->cu.pred_mode == MODE_INTRA && log2_trafo_size < 4) { in hls_transform_unit()
1169 (lc->cu.pred_mode == MODE_INTER || in hls_transform_unit()
1176 if (lc->cu.pred_mode == MODE_INTRA) { in hls_transform_unit()
1205 if (lc->cu.pred_mode == MODE_INTRA) { in hls_transform_unit()
1233 if (lc->cu.pred_mode == MODE_INTRA) { in hls_transform_unit()
1243 if (lc->cu.pred_mode == MODE_INTRA) { in hls_transform_unit()
1253 } else if (s->ps.sps->chroma_format_idc && lc->cu.pred_mode == MODE_INTRA) { in hls_transform_unit()
1341 lc->cu.pred_mode == MODE_INTER && in hls_transform_tree()
1392 if (lc->cu.pred_mode == MODE_INTRA || trafo_depth != 0 || in hls_transform_tree()
[all …]
Daacenc.c564 int ms_mode = 0, is_mode = 0, tns_mode = 0, pred_mode = 0; in aac_encode_frame() local
766 if (cpe->ch[ch].ics.predictor_present) pred_mode = 1; in aac_encode_frame()
792 if (sce->ics.ltp.present) pred_mode = 1; in aac_encode_frame()
862 if (is_mode || ms_mode || tns_mode || pred_mode) { in aac_encode_frame()
Dhevcdec.h331 enum PredMode pred_mode; ///< PredMode member
Dsvq3.c901 dir = ff_h264_i_mb_type_info[mb_type - 8].pred_mode; in svq3_decode_mb()