Home
last modified time | relevance | path

Searched refs:ref_idx (Results 1 – 18 of 18) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dhevc_mvs.c104 return MATCH(ref_idx[0]) && MATCH_MV(mv[0]) && in compare_mv_ref_idx()
105 MATCH(ref_idx[1]) && MATCH_MV(mv[1]); in compare_mv_ref_idx()
107 return MATCH(ref_idx[0]) && MATCH_MV(mv[0]); in compare_mv_ref_idx()
109 return MATCH(ref_idx[1]) && MATCH_MV(mv[1]); in compare_mv_ref_idx()
160 refPicList_col, L ## l, temp_col.ref_idx[l])
421 AV_ZERO16(mergecandlist[nb_merge_cand].ref_idx); in derive_spatial_merge_candidates()
446 (refPicList[0].list[l0_cand.ref_idx[0]] != in derive_spatial_merge_candidates()
447 refPicList[1].list[l1_cand.ref_idx[1]] || in derive_spatial_merge_candidates()
449 mergecandlist[nb_merge_cand].ref_idx[0] = l0_cand.ref_idx[0]; in derive_spatial_merge_candidates()
450 mergecandlist[nb_merge_cand].ref_idx[1] = l1_cand.ref_idx[1]; in derive_spatial_merge_candidates()
[all …]
Dhevc_filter.c655 …if (s->ref->refPicList[0].list[curr->ref_idx[0]] == neigh_refPicList[0].list[neigh->ref_idx[0]] && in boundary_strength()
656 … s->ref->refPicList[0].list[curr->ref_idx[0]] == s->ref->refPicList[1].list[curr->ref_idx[1]] && in boundary_strength()
657 … neigh_refPicList[0].list[neigh->ref_idx[0]] == neigh_refPicList[1].list[neigh->ref_idx[1]]) { in boundary_strength()
665 …} else if (neigh_refPicList[0].list[neigh->ref_idx[0]] == s->ref->refPicList[0].list[curr->ref_idx in boundary_strength()
666 … neigh_refPicList[1].list[neigh->ref_idx[1]] == s->ref->refPicList[1].list[curr->ref_idx[1]]) { in boundary_strength()
672 …} else if (neigh_refPicList[1].list[neigh->ref_idx[1]] == s->ref->refPicList[0].list[curr->ref_idx in boundary_strength()
673 … neigh_refPicList[0].list[neigh->ref_idx[0]] == s->ref->refPicList[1].list[curr->ref_idx[1]]) { in boundary_strength()
688 ref_A = s->ref->refPicList[0].list[curr->ref_idx[0]]; in boundary_strength()
691 ref_A = s->ref->refPicList[1].list[curr->ref_idx[1]]; in boundary_strength()
696 ref_B = neigh_refPicList[0].list[neigh->ref_idx[0]]; in boundary_strength()
[all …]
Dnvdec_av1.c79 .decodePicIdx = cf->ref_idx, in nvdec_av1_start_frame()
248 int8_t ref_idx = frame_header->ref_frame_idx[i]; in nvdec_av1_start_frame() local
249 AVFrame *ref_frame = s->ref[ref_idx].tf.f; in nvdec_av1_start_frame()
251 ppc->ref_frame[i].index = ppc->ref_frame_map[ref_idx]; in nvdec_av1_start_frame()
Dnvdec.h46 unsigned int ref_idx; member
Dnvdec.c588 cf->ref_idx = cf->idx = *(unsigned int*)cf->idx_ref->data; in ff_nvdec_start_frame()
623 cf->ref_idx = *(unsigned int*)cf->ref_idx_ref->data; in ff_nvdec_start_frame_sep_ref()
626 cf->ref_idx = cf->idx; in ff_nvdec_start_frame_sep_ref()
760 return cf->ref_idx; in ff_nvdec_get_ref_idx()
Dhevcdec.c1607 … s->sh.luma_weight_l0[current_mv->ref_idx[0]], in luma_mc_bi()
1608 … s->sh.luma_weight_l1[current_mv->ref_idx[1]], in luma_mc_bi()
1609 … s->sh.luma_offset_l0[current_mv->ref_idx[0]], in luma_mc_bi()
1610 … s->sh.luma_offset_l1[current_mv->ref_idx[1]], in luma_mc_bi()
1780 … s->sh.chroma_weight_l0[current_mv->ref_idx[0]][cidx], in chroma_mc_bi()
1781 … s->sh.chroma_weight_l1[current_mv->ref_idx[1]][cidx], in chroma_mc_bi()
1782 … s->sh.chroma_offset_l0[current_mv->ref_idx[0]][cidx], in chroma_mc_bi()
1783 … s->sh.chroma_offset_l1[current_mv->ref_idx[1]][cidx], in chroma_mc_bi()
1812 mv->ref_idx[0]= ff_hevc_ref_idx_lx_decode(s, s->sh.nb_refs[L0]); in hevc_luma_mv_mvp_mode()
1825 mv->ref_idx[1]= ff_hevc_ref_idx_lx_decode(s, s->sh.nb_refs[L1]); in hevc_luma_mv_mvp_mode()
[all …]
Ddxva2_av1.c134 int8_t ref_idx = frame_header->ref_frame_idx[i]; in fill_picture_parameters() local
135 AVFrame *ref_frame = h->ref[ref_idx].tf.f; in fill_picture_parameters()
139 pp->frame_refs[i].Index = ref_frame->buf[0] ? ref_idx : 0xFF; in fill_picture_parameters()
Ddxva2_hevc.c179 #define DO_REF_LIST(ref_idx, ref_list) { \ in fill_picture_parameters() argument
180 const RefPicList *rpl = &h->rps[ref_idx]; \ in fill_picture_parameters()
Dhevcdec.h347 int8_t ref_idx[2]; member
/third_party/openh264/codec/decoder/core/src/
Dparse_mb_syn_cabac.cpp805 int8_t ref_idx = REF_NOT_IN_LIST; in ParseInterBMotionInfoCabac() local
808 pRefCount[listIdx], 0, ref_idx)); in ParseInterBMotionInfoCabac()
809 if ((ref_idx < 0) || (ref_idx >= pRefCount[listIdx]) in ParseInterBMotionInfoCabac()
810 || (pCtx->sRefPic.pRefList[listIdx][ref_idx] == NULL)) { //error ref_idx in ParseInterBMotionInfoCabac()
813 ref_idx = 0; in ParseInterBMotionInfoCabac()
815 RETURN_ERR_IF_NULL(pCtx->sRefPic.pRefList[listIdx][ref_idx]); in ParseInterBMotionInfoCabac()
820 …oncealed = pCtx->bRPLRError || pCtx->bMbRefConcealed || ! (pCtx->sRefPic.pRefList[listIdx][ref_idx] in ParseInterBMotionInfoCabac()
821 … && (pCtx->sRefPic.pRefList[listIdx][ref_idx]->bIsComplete || bIsPending)); in ParseInterBMotionInfoCabac()
823 UpdateP16x8RefIdxCabac (pCurDqLayer, pRefIndex, iPartIdx, ref_idx, listIdx); in ParseInterBMotionInfoCabac()
824 ref_idx_list[listIdx][i] = ref_idx; in ParseInterBMotionInfoCabac()
[all …]
/third_party/flatbuffers/include/flatbuffers/
Dminireflect.h242 auto ref_idx = type_code.sequence_ref; in IterateObject() local
244 if (ref_idx >= 0) { ref = type_table->type_refs[ref_idx](); } in IterateObject()
/third_party/openh264/codec/decoder/core/inc/
Dparse_mb_syn_cabac.h62 int8_t ref_idx[LIST_A][30], int8_t direct[30],
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_descriptors.c1017 unsigned ref_idx = 0; in create_descriptor_ref_template() local
1029 …pdd_cached(pg)->refs[type][ref_idx].sampler.sampler_state = (struct zink_sampler_state**)&ctx->sam… in create_descriptor_ref_template()
1030 … pdd_cached(pg)->refs[type][ref_idx].sampler.dsurf = &ctx->di.sampler_surfaces[stage][index + k]; in create_descriptor_ref_template()
1033 … pdd_cached(pg)->refs[type][ref_idx].dsurf = &ctx->di.image_surfaces[stage][index + k]; in create_descriptor_ref_template()
1040 … pdd_cached(pg)->refs[type][ref_idx].res = &ctx->di.descriptor_res[type][stage][index + k]; in create_descriptor_ref_template()
1043 assert(ref_idx < pdd_cached(pg)->num_refs[type]); in create_descriptor_ref_template()
1044 ref_idx++; in create_descriptor_ref_template()
/third_party/mesa3d/src/gallium/frontends/omx/bellagio/
Dvid_dec_av1.c1120 int ref_idx[2] = { -1, -1 }; in skip_mode_params() local
1129 ref_idx[0] = i; in skip_mode_params()
1135 ref_idx[1] = i; in skip_mode_params()
1140 if (ref_idx[0] != -1 && ref_idx[1] != -1) { in skip_mode_params()
1142 } else if (ref_idx[0] != -1 && ref_idx[1] == -1) { in skip_mode_params()
1151 ref_idx[1] = i; in skip_mode_params()
/third_party/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_dec.h1111 unsigned ref_idx; member
Dradeon_vcn_dec.c769 result.curr_pic_idx = dec->ref_idx; in get_av1_msg()
770 vl_video_buffer_set_associated_data(target, &dec->base, (void *)(uintptr_t)dec->ref_idx++, in get_av1_msg()
/third_party/flatbuffers/src/
Didl_gen_cpp.cpp1011 int ref_idx = -1; in GenMiniReflect() local
1020 ref_idx = static_cast<int>(rit - type_refs.begin()); in GenMiniReflect()
1025 ref_idx = static_cast<int>(type_refs.size()); in GenMiniReflect()
1031 NumToString(is_vector || is_array) + ", " + NumToString(ref_idx) + in GenMiniReflect()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/codecparsers/
Dgstav1parser.c1938 gint ref_idx = frame_header->ref_frame_idx[i]; in gst_av1_parse_frame_size_with_refs() local
1940 ref_info->entry[ref_idx].ref_upscaled_width; in gst_av1_parse_frame_size_with_refs()
1942 parser->state.frame_height = ref_info->entry[ref_idx].ref_frame_height; in gst_av1_parse_frame_size_with_refs()
1943 parser->state.render_width = ref_info->entry[ref_idx].ref_render_width; in gst_av1_parse_frame_size_with_refs()
1944 parser->state.render_height = ref_info->entry[ref_idx].ref_render_height; in gst_av1_parse_frame_size_with_refs()