/external/libaom/libaom/av1/common/ |
D | mvref_common.h | 113 for (int8_t ref_idx = 0; ref_idx < TOTAL_UNIDIR_COMP_REFS; ++ref_idx) { in get_uni_comp_ref_idx() local 114 if (rf[0] == comp_ref0(ref_idx) && rf[1] == comp_ref1(ref_idx)) in get_uni_comp_ref_idx() 115 return ref_idx; in get_uni_comp_ref_idx() 193 int ref_idx) { in av1_drl_ctx() argument 194 if (ref_mv_stack[ref_idx].weight >= REF_CAT_LEVEL && in av1_drl_ctx() 195 ref_mv_stack[ref_idx + 1].weight >= REF_CAT_LEVEL) in av1_drl_ctx() 198 if (ref_mv_stack[ref_idx].weight >= REF_CAT_LEVEL && in av1_drl_ctx() 199 ref_mv_stack[ref_idx + 1].weight < REF_CAT_LEVEL) in av1_drl_ctx() 202 if (ref_mv_stack[ref_idx].weight < REF_CAT_LEVEL && in av1_drl_ctx() 203 ref_mv_stack[ref_idx + 1].weight < REF_CAT_LEVEL) in av1_drl_ctx()
|
D | mvref_common.c | 59 int8_t ref_idx = cm->ref_frame_side[ref_frame]; in av1_copy_frame_mvs() local 60 if (ref_idx) continue; in av1_copy_frame_mvs() 1026 const int ref_idx = ref_frame - LAST_FRAME; in av1_setup_motion_field() local 1032 ref_buf[ref_idx] = buf; in av1_setup_motion_field() 1033 ref_order_hint[ref_idx] = order_hint; in av1_setup_motion_field() 1286 int ref_idx[2] = { INVALID_IDX, INVALID_IDX }; in av1_setup_skip_mode_allowed() local 1301 ref_idx[0] = i; in av1_setup_skip_mode_allowed() 1310 ref_idx[1] = i; in av1_setup_skip_mode_allowed() 1315 if (ref_idx[0] != INVALID_IDX && ref_idx[1] != INVALID_IDX) { in av1_setup_skip_mode_allowed() 1318 skip_mode_info->ref_frame_idx_0 = AOMMIN(ref_idx[0], ref_idx[1]); in av1_setup_skip_mode_allowed() [all …]
|
D | blockd.h | 314 static INLINE MV_REFERENCE_FRAME comp_ref0(int ref_idx) { in comp_ref0() argument 327 return lut[ref_idx]; in comp_ref0() 330 static INLINE MV_REFERENCE_FRAME comp_ref1(int ref_idx) { in comp_ref1() argument 343 return lut[ref_idx]; in comp_ref1()
|
/external/libaom/libaom/av1/encoder/ |
D | encodemv.c | 188 int_mv av1_get_ref_mv_from_stack(int ref_idx, in av1_get_ref_mv_from_stack() argument 199 if (ref_idx == 0) { in av1_get_ref_mv_from_stack() 202 assert(ref_idx == 1); in av1_get_ref_mv_from_stack() 206 assert(ref_idx == 0); in av1_get_ref_mv_from_stack() 216 int_mv av1_get_ref_mv(const MACROBLOCK *x, int ref_idx) { in av1_get_ref_mv() argument 224 return av1_get_ref_mv_from_stack(ref_idx, mbmi->ref_frame, ref_mv_idx, in av1_get_ref_mv() 233 const int ref_idx = 0; in av1_find_best_ref_mvs_from_stack() local 235 *nearest_mv = av1_get_ref_mv_from_stack(ref_idx, ref_frames, 0, mbmi_ext); in av1_find_best_ref_mvs_from_stack() 237 *near_mv = av1_get_ref_mv_from_stack(ref_idx, ref_frames, 1, mbmi_ext); in av1_find_best_ref_mvs_from_stack()
|
D | encodemv.h | 32 int_mv av1_get_ref_mv(const MACROBLOCK *x, int ref_idx); 33 int_mv av1_get_ref_mv_from_stack(int ref_idx,
|
D | partition_strategy.c | 169 for (int ref_idx = 0; ref_idx < num_refs; ref_idx++) { in simple_motion_search_get_best_ref() local 170 const int ref = refs[ref_idx]; in simple_motion_search_get_best_ref()
|
D | bitstream.c | 2469 int ref_frame, ref_idx; in write_film_grain_params() local 2471 ref_idx = get_ref_frame_map_idx(cm, ref_frame); in write_film_grain_params() 2472 assert(ref_idx != INVALID_IDX); in write_film_grain_params() 2473 const RefCntBuffer *const buf = cm->ref_frame_map[ref_idx]; in write_film_grain_params() 2480 aom_wb_write_literal(wb, ref_idx, 3); in write_film_grain_params() 2766 for (int ref_idx = 0; ref_idx < INTER_REFS_PER_FRAME; ++ref_idx) { in check_frame_refs_short_signaling() local 2770 if (remapped_ref_idx_decoder[ref_idx] != INVALID_IDX) { in check_frame_refs_short_signaling() 2771 ref_frame_buf_new = cm->ref_frame_map[remapped_ref_idx_decoder[ref_idx]]; in check_frame_refs_short_signaling() 2773 if (get_ref_frame_buf(cm, LAST_FRAME + ref_idx) != ref_frame_buf_new) { in check_frame_refs_short_signaling() 2936 for (int ref_idx = 0; ref_idx < REF_FRAMES; ref_idx++) { in write_uncompressed_header_obu() local [all …]
|
D | rdopt.c | 6633 int ref_idx, int is_comp_pred) { in get_single_mode() argument 6637 ref_idx ? compound_ref1_mode(this_mode) : compound_ref0_mode(this_mode); in get_single_mode() 7055 int ref_idx, int *rate_mv) { in single_motion_search() argument 7065 int ref = mbmi->ref_frame[ref_idx]; in single_motion_search() 7066 MV ref_mv = av1_get_ref_mv(x, ref_idx).as_mv; in single_motion_search() 7080 backup_yv12[i] = xd->plane[i].pre[ref_idx]; in single_motion_search() 7082 av1_setup_pre_planes(xd, ref_idx, scaled_ref_frame, mi_row, mi_col, NULL, in single_motion_search() 7128 xd->plane[j].pre[ref_idx] = backup_yv12[j]; in single_motion_search() 7169 xd->plane[i].pre[ref_idx] = backup_yv12[i]; in single_motion_search() 7265 int ref_idx, uint8_t *second_pred) { in build_second_inter_pred() argument [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/ |
D | vp9_impl.cc | 727 for (unsigned int ref_idx = 0; ref_idx < kMaxVp9RefPics; ++ref_idx) { in GenerateRefsAndFlags() local 728 if (refs[ref_idx] == -1) in GenerateRefsAndFlags() 731 RTC_DCHECK_GE(refs[ref_idx], 0); in GenerateRefsAndFlags() 732 RTC_DCHECK_LE(refs[ref_idx], 7); in GenerateRefsAndFlags() 737 sf_conf.lst_fb_idx[layer_idx] = refs[ref_idx]; in GenerateRefsAndFlags() 742 sf_conf.gld_fb_idx[layer_idx] = refs[ref_idx]; in GenerateRefsAndFlags() 747 sf_conf.alt_fb_idx[layer_idx] = refs[ref_idx]; in GenerateRefsAndFlags() 754 RTC_DCHECK_NE(buffer_updated_at_frame_[refs[ref_idx]], -1); in GenerateRefsAndFlags() 757 frames_encoded_ - buffer_updated_at_frame_[refs[ref_idx]]; in GenerateRefsAndFlags() 763 for (unsigned int ref_idx = 0; ref_idx < kMaxVp9RefPics; ++ref_idx) { in GenerateRefsAndFlags() local [all …]
|
/external/libaom/libaom/examples/ |
D | lightfield_decoder.c | 94 size_t frame_size, int tr, int tc, int ref_idx, in decode_tile() argument 106 ref.img = reference_images[ref_idx]; in decode_tile() 314 int image_idx, ref_idx, tc, tr; in main() local 315 sscanf(line, "%d %d %d %d", &image_idx, &ref_idx, &tc, &tr); in main() 320 if (ref_idx >= num_references) { in main() 321 die("Tile list ref_idx out of bounds: %d >= %d.", ref_idx, in main() 328 decode_tile(&codec, frame, frame_size, tr, tc, ref_idx, reference_images, in main()
|
D | lightfield_bitstream_parsing.c | 140 int ref_idx = tiles[i].reference_idx; in process_tile_list() local 167 aom_wb_write_literal(&wb, ref_idx, 8); in process_tile_list()
|
/external/swiftshader/third_party/LLVM/test/Transforms/MemCpyOpt/ |
D | form-memset.ll | 65 %ref_idx = alloca [8 x i8] ; <[8 x i8]*> [#uses=8] 68 %tmp20 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 7 ; <i8*> [#uses=1] 70 %tmp23 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 6 ; <i8*> [#uses=1] 72 %tmp26 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 5 ; <i8*> [#uses=1] 74 %tmp29 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 4 ; <i8*> [#uses=1] 76 %tmp32 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 3 ; <i8*> [#uses=1] 78 %tmp35 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 2 ; <i8*> [#uses=1] 80 %tmp38 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 1 ; <i8*> [#uses=1] 82 %tmp41 = getelementptr [8 x i8]* %ref_idx, i32 0, i32 0 ; <i8*> [#uses=2]
|
/external/libhevc/encoder/ |
D | ihevce_inter_pred.c | 472 WORD32 ref_idx = (ps_pu->mv.i1_l0_ref_idx); in ihevce_luma_inter_pred_pu() local 478 ps_ref_pic_l0 = ps_inter_pred_ctxt->ps_ref_list[0][ref_idx]; in ihevce_luma_inter_pred_pu() 582 WORD32 ref_idx = (ps_pu->mv.i1_l1_ref_idx); in ihevce_luma_inter_pred_pu() local 588 ps_ref_pic_l1 = ps_inter_pred_ctxt->ps_ref_list[1][ref_idx]; in ihevce_luma_inter_pred_pu() 1100 WORD32 ref_idx = (ps_pu->mv.i1_l0_ref_idx); in ihevce_chroma_inter_pred_pu() local 1107 ps_ref_pic_l0 = ps_inter_pred_ctxt->ps_ref_list[0][ref_idx]; in ihevce_chroma_inter_pred_pu() 1167 WORD32 ref_idx = (ps_pu->mv.i1_l1_ref_idx); in ihevce_chroma_inter_pred_pu() local 1173 ps_ref_pic_l1 = ps_inter_pred_ctxt->ps_ref_list[1][ref_idx]; in ihevce_chroma_inter_pred_pu()
|
D | hme_defs.h | 274 ps_mv_store, num_mvs_stored, mvx_cur, mvy_cur, stats_struct, check_for_duplicate, ref_idx) \ argument 284 ((ps_mv_store)[i4_j].i1_ref_idx == ref_idx)) \ 296 (ps_mv_store)[i4_j].i1_ref_idx = ref_idx; \ 397 as_outliers[num_outliers_present].ref_idx = ps_data->ref_id; \ 418 S32 ref_idx = as_outliers[j].ref_idx; \ 420 if((ps_cluster_blk->au1_num_clusters[ref_idx] > MAX_NUM_CLUSTERS_IN_ONE_REF_IDX)) \ 424 ps_cluster_blk->au1_num_clusters[ref_idx]--; \ 430 ps_cluster_data, ps_range_prms, ps_list, ps_mv, is_ref_in_l0, ref_idx) \ argument 432 ps_list = &(ps_cluster_data)->as_mv_list[!(is_ref_in_l0)][(ref_idx)]; \ 440 ps_cluster_data->ai4_ref_id_valid[!(is_ref_in_l0)][(ref_idx)] = 1; \ [all …]
|
D | ihevce_cabac_cu_pu.c | 624 WORD32 ihevce_cabac_encode_refidx(cab_ctxt_t *ps_cabac, WORD32 ref_idx, WORD32 active_refs) in ihevce_cabac_encode_refidx() argument 634 ASSERT((ref_idx >= 0) && (ref_idx < active_refs)); in ihevce_cabac_encode_refidx() 640 ret |= ihevce_cabac_encode_bin(ps_cabac, (ref_idx > 0), ctxt_inc); in ihevce_cabac_encode_refidx() 642 if((active_refs > 2) && (ref_idx > 0)) in ihevce_cabac_encode_refidx() 646 ret |= ihevce_cabac_encode_bin(ps_cabac, (ref_idx > 1), ctxt_inc); in ihevce_cabac_encode_refidx() 649 if((active_refs > 3) && (ref_idx > 1)) in ihevce_cabac_encode_refidx() 652 ret |= ihevce_cabac_encode_tunary_bypass(ps_cabac, (ref_idx - 2), (active_refs - 3)); in ihevce_cabac_encode_refidx() 655 AEV_TRACE("ref_idx", ref_idx, ps_cabac->u4_range); in ihevce_cabac_encode_refidx()
|
D | ihevce_enc_loop_structs.h | 77 #define POPULATE_PU_STRUCT(ps_pu, mvx, mvy, offset_x, offset_y, wd, ht, ref_idx, pred_lx) \ argument 88 (ps_pu)->mv.i1_l1_ref_idx = ref_idx; \ 94 (ps_pu)->mv.i1_l0_ref_idx = ref_idx; \
|
/external/libhevc/common/ |
D | ihevc_chroma_intra_pred_filters.c | 1023 WORD32 idx_u, idx_v, ref_main_idx_u, ref_main_idx_v, ref_idx; in ihevc_intra_pred_chroma_mode_11_to_17() local 1048 ref_idx = (nt * intra_pred_ang) >> 5; in ihevc_intra_pred_chroma_mode_11_to_17() 1053 for(k = -2; k > (2 * ref_idx); k -= 2) in ihevc_intra_pred_chroma_mode_11_to_17() 1141 WORD32 ref_main_idx_u, ref_main_idx_v, ref_idx; in ihevc_intra_pred_chroma_mode_19_to_25() local 1161 ref_idx = (nt * intra_pred_ang) >> 5; in ihevc_intra_pred_chroma_mode_19_to_25() 1167 for(k = -2; k > (2 * ref_idx); k -= 2) in ihevc_intra_pred_chroma_mode_19_to_25()
|
D | ihevc_intra_pred_filters.c | 1363 WORD32 idx, ref_main_idx, ref_idx; in ihevc_intra_pred_luma_mode_11_to_17() local 1384 ref_idx = (nt * intra_pred_ang) >> 5; in ihevc_intra_pred_luma_mode_11_to_17() 1389 for(k = -1; k > ref_idx; k--) in ihevc_intra_pred_luma_mode_11_to_17() 1468 WORD32 ref_main_idx, ref_idx; in ihevc_intra_pred_luma_mode_19_to_25() local 1483 ref_idx = (nt * intra_pred_ang) >> 5; in ihevc_intra_pred_luma_mode_19_to_25() 1489 for(k = -1; k > ref_idx; k--) in ihevc_intra_pred_luma_mode_19_to_25()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/MemCpyOpt/ |
D | form-memset.ll | 65 %ref_idx = alloca [8 x i8] ; <[8 x i8]*> [#uses=8] 68 %tmp20 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 7 ; <i8*> [#uses=1] 70 %tmp23 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 6 ; <i8*> [#uses=1] 72 %tmp26 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 5 ; <i8*> [#uses=1] 74 %tmp29 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 4 ; <i8*> [#uses=1] 76 %tmp32 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 3 ; <i8*> [#uses=1] 78 %tmp35 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 2 ; <i8*> [#uses=1] 80 %tmp38 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 1 ; <i8*> [#uses=1] 82 %tmp41 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 0 ; <i8*> [#uses=2]
|
/external/llvm/test/Transforms/MemCpyOpt/ |
D | form-memset.ll | 65 %ref_idx = alloca [8 x i8] ; <[8 x i8]*> [#uses=8] 68 %tmp20 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 7 ; <i8*> [#uses=1] 70 %tmp23 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 6 ; <i8*> [#uses=1] 72 %tmp26 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 5 ; <i8*> [#uses=1] 74 %tmp29 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 4 ; <i8*> [#uses=1] 76 %tmp32 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 3 ; <i8*> [#uses=1] 78 %tmp35 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 2 ; <i8*> [#uses=1] 80 %tmp38 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 1 ; <i8*> [#uses=1] 82 %tmp41 = getelementptr [8 x i8], [8 x i8]* %ref_idx, i32 0, i32 0 ; <i8*> [#uses=2]
|
/external/libhevc/decoder/ |
D | ihevcd_parse_slice.c | 688 WORD32 ref_idx = 0; in ihevcd_parse_pu_mvp() local 696 ref_idx = ihevcd_cabac_decode_bin(ps_cabac, ps_bitstrm, ctxt_idx); in ihevcd_parse_pu_mvp() 698 if((active_refs > 2) && ref_idx) in ihevcd_parse_pu_mvp() 704 ref_idx += value; in ihevcd_parse_pu_mvp() 708 ref_idx = ihevcd_cabac_decode_bypass_bins_tunary(ps_cabac, in ihevcd_parse_pu_mvp() 712 ref_idx += 2; in ihevcd_parse_pu_mvp() 715 AEV_TRACE("ref_idx", ref_idx, ps_cabac->u4_range); in ihevcd_parse_pu_mvp() 718 ref_idx = CLIP3(ref_idx, 0, MAX_DPB_SIZE - 1); in ihevcd_parse_pu_mvp() 719 ps_pu->mv.i1_l0_ref_idx = ref_idx; in ihevcd_parse_pu_mvp() 737 WORD32 ref_idx = 0; in ihevcd_parse_pu_mvp() local [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 240 auto ref_idx = type_code.sequence_ref; in IterateObject() local 242 if (ref_idx >= 0) { ref = type_table->type_refs[ref_idx](); } in IterateObject()
|
/external/v4l2_codec2/vda/ |
D | vp9_parser.h | 336 const ReferenceSlot& GetRefSlot(size_t ref_idx) const; 340 void UpdateRefSlot(size_t ref_idx, const ReferenceSlot& ref_slot);
|
/external/libaom/libaom/av1/decoder/ |
D | obu.c | 513 int ref_idx = aom_rb_read_literal(rb, 8); in read_and_decode_one_tile_list() local 514 if (ref_idx >= MAX_EXTERNAL_REFERENCES) { in read_and_decode_one_tile_list() 518 av1_set_reference_dec(cm, 0, 1, &pbi->ext_refs.refs[ref_idx]); in read_and_decode_one_tile_list()
|
/external/libhevc/common/arm/ |
D | ihevc_intra_pred_filters_neon_intr.c | 2322 WORD32 ref_idx; in ihevc_intra_pred_luma_mode_11_to_17_neonintr() local 2392 ref_idx = (nt * intra_pred_ang) >> 5; in ihevc_intra_pred_luma_mode_11_to_17_neonintr() 2397 for(k = -1; k > ref_idx; k--) in ihevc_intra_pred_luma_mode_11_to_17_neonintr() 2583 WORD32 ref_idx; in ihevc_intra_pred_luma_mode_19_to_25_neonintr() local 2644 ref_idx = (nt * intra_pred_ang) >> 5; in ihevc_intra_pred_luma_mode_19_to_25_neonintr() 2650 for(k = -1; k > ref_idx; k--) in ihevc_intra_pred_luma_mode_19_to_25_neonintr()
|