Home
last modified time | relevance | path

Searched refs:SEG_LVL_REF_FRAME (Results 1 – 17 of 17) sorted by relevance

/external/libaom/av1/common/
Dseg_common.c48 seg->segid_preskip |= (j >= SEG_LVL_REF_FRAME); in av1_calculate_segdata()
Dseg_common.h33 SEG_LVL_REF_FRAME, // Optional Segment reference frame enumerator
/external/libvpx/vp9/common/
Dvp9_seg_common.h37 SEG_LVL_REF_FRAME = 2, // Optional Segment reference frame enumerator
/external/libaom/av1/encoder/
Dencoder_utils.c394 av1_enable_segfeature(seg, 0, SEG_LVL_REF_FRAME); in configure_static_seg_features()
395 av1_enable_segfeature(seg, 1, SEG_LVL_REF_FRAME); in configure_static_seg_features()
398 av1_clear_segdata(seg, 0, SEG_LVL_REF_FRAME); in configure_static_seg_features()
399 av1_set_segdata(seg, 0, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
400 av1_clear_segdata(seg, 1, SEG_LVL_REF_FRAME); in configure_static_seg_features()
401 av1_set_segdata(seg, 1, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
Dnonrd_pickmode.c613 segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME); in estimate_single_ref_frame_costs()
2583 if (segfeature_active(seg, mi->segment_id, SEG_LVL_REF_FRAME) &&
2584 get_segdata(seg, mi->segment_id, SEG_LVL_REF_FRAME) == GOLDEN_FRAME) {
3480 if (segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME) &&
3481 get_segdata(seg, segment_id, SEG_LVL_REF_FRAME) != (int)(*ref_frame))
3525 if (!segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) {
Drdopt.c744 segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME); in estimate_ref_frame_costs()
3794 if (segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME) && in init_mode_skip_mask()
3795 get_segdata(seg, segment_id, SEG_LVL_REF_FRAME) != (int)ref_frame) { in init_mode_skip_mask()
3803 if (!segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) { in init_mode_skip_mask()
4233 if (segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) return 1; in inter_mode_compatible_skip()
6089 if (!segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) { in av1_rd_pick_inter_mode()
6203 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) in av1_rd_pick_inter_mode_sb_seg_skip()
6204 mbmi->ref_frame[0] = get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME); in av1_rd_pick_inter_mode_sb_seg_skip()
Dbitstream.c247 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME) || in write_skip_mode()
263 if (!segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in write_is_inter()
504 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in write_ref_frames()
507 get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME)); in write_ref_frames()
Dpartition_search.c967 segfeature_active(&cm->seg, mbmi->segment_id, SEG_LVL_REF_FRAME); in update_stats()
1479 segfeature_active(&cm->seg, mbmi->segment_id, SEG_LVL_REF_FRAME); in encode_b()
1506 segfeature_active(&cm->seg, mbmi->segment_id, SEG_LVL_REF_FRAME); in encode_b()
2104 segfeature_active(&cm->seg, mbmi->segment_id, SEG_LVL_REF_FRAME); in encode_b_nonrd()
/external/crosvm/media/cros-codecs/src/decoders/vp9/
Ddecoder.rs30 use crate::decoders::vp9::parser::SEG_LVL_REF_FRAME;
432 [SEG_LVL_REF_FRAME],
433 reference_frame: seg.feature_data()[usize::from(segment_id)][SEG_LVL_REF_FRAME],
Dparser.rs27 pub const SEG_LVL_REF_FRAME: usize = 2; constant
/external/libvpx/vp9/decoder/
Dvp9_decodemv.c309 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in read_ref_frames()
311 SEG_LVL_REF_FRAME); in read_ref_frames()
438 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in read_is_inter_block()
439 return get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME) != INTRA_FRAME; in read_is_inter_block()
/external/libvpx/vp9/encoder/
Dvp9_pickmode.c1984 if (segfeature_active(seg, mi->segment_id, SEG_LVL_REF_FRAME) && in vp9_pick_inter_mode()
1985 get_segdata(seg, mi->segment_id, SEG_LVL_REF_FRAME) == GOLDEN_FRAME) { in vp9_pick_inter_mode()
2083 if (segfeature_active(seg, mi->segment_id, SEG_LVL_REF_FRAME) && in vp9_pick_inter_mode()
2084 get_segdata(seg, mi->segment_id, SEG_LVL_REF_FRAME) != (int)ref_frame) in vp9_pick_inter_mode()
2107 if (segfeature_active(seg, mi->segment_id, SEG_LVL_REF_FRAME)) continue; in vp9_pick_inter_mode()
2193 if (!segfeature_active(seg, mi->segment_id, SEG_LVL_REF_FRAME)) { in vp9_pick_inter_mode()
2510 if (segfeature_active(seg, mi->segment_id, SEG_LVL_REF_FRAME) && in vp9_pick_inter_mode()
2511 get_segdata(seg, mi->segment_id, SEG_LVL_REF_FRAME) > 0) in vp9_pick_inter_mode()
2816 if (segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME) && in vp9_pick_inter_mode_sub8x8()
2817 get_segdata(seg, segment_id, SEG_LVL_REF_FRAME) != (int)ref_frame) in vp9_pick_inter_mode_sub8x8()
Dvp9_bitstream.c211 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in write_ref_frames()
214 get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME)); in write_ref_frames()
269 if (!segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) in pack_inter_mode_mvs()
Dvp9_rdopt.c2373 segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME); in estimate_ref_frame_costs()
3450 if (segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME) && in vp9_rd_pick_inter_mode_sb()
3451 get_segdata(seg, segment_id, SEG_LVL_REF_FRAME) != (int)ref_frame) { in vp9_rd_pick_inter_mode_sb()
3460 if (!segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) { in vp9_rd_pick_inter_mode_sb()
3644 if (segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) continue; in vp9_rd_pick_inter_mode_sb()
4309 if (segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) continue; in vp9_rd_pick_inter_mode_sub8x8()
4323 if (segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME) && in vp9_rd_pick_inter_mode_sub8x8()
4324 get_segdata(seg, segment_id, SEG_LVL_REF_FRAME) != (int)ref_frame) { in vp9_rd_pick_inter_mode_sub8x8()
4329 } else if (!segfeature_active(seg, segment_id, SEG_LVL_REF_FRAME)) { in vp9_rd_pick_inter_mode_sub8x8()
Dvp9_encoder.c637 vp9_enable_segfeature(seg, i, SEG_LVL_REF_FRAME); in apply_roi_map()
638 vp9_set_segdata(seg, i, SEG_LVL_REF_FRAME, ref_frame[i]); in apply_roi_map()
1218 vp9_set_segdata(seg, 1, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
1219 vp9_enable_segfeature(seg, 1, SEG_LVL_REF_FRAME); in configure_static_seg_features()
1241 vp9_enable_segfeature(seg, 0, SEG_LVL_REF_FRAME); in configure_static_seg_features()
1242 vp9_enable_segfeature(seg, 1, SEG_LVL_REF_FRAME); in configure_static_seg_features()
1245 vp9_clear_segdata(seg, 0, SEG_LVL_REF_FRAME); in configure_static_seg_features()
1246 vp9_set_segdata(seg, 0, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
1247 vp9_clear_segdata(seg, 1, SEG_LVL_REF_FRAME); in configure_static_seg_features()
1248 vp9_set_segdata(seg, 1, SEG_LVL_REF_FRAME, ALTREF_FRAME); in configure_static_seg_features()
Dvp9_encodeframe.c2095 segfeature_active(&cm->seg, mi->segment_id, SEG_LVL_REF_FRAME); in update_stats()
4573 if (segfeature_active(&cpi->common.seg, 1, SEG_LVL_REF_FRAME)) { in check_dual_ref_flags()
/external/libaom/av1/decoder/
Ddecodemv.c430 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME) || in read_skip_mode()
945 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in read_ref_frames()
947 SEG_LVL_REF_FRAME); in read_ref_frames()
1224 if (segfeature_active(&cm->seg, segment_id, SEG_LVL_REF_FRAME)) { in read_is_inter_block()
1225 const int frame = get_segdata(&cm->seg, segment_id, SEG_LVL_REF_FRAME); in read_is_inter_block()