Home
last modified time | relevance | path

Searched refs:offset_val (Results 1 – 14 of 14) sorted by relevance

/third_party/ffmpeg/tests/checkasm/
Dhevc_sao.c76 int16_t offset_val[OFFSET_LENGTH]; in check_sao_band() local
90 randomize_buffers2(offset_val, OFFSET_LENGTH); in check_sao_band()
94 call_ref(dst0, src0, stride, stride, offset_val, left_class, w, block_size); in check_sao_band()
95 call_new(dst1, src1, stride, stride, offset_val, left_class, w, block_size); in check_sao_band()
101 bench_new(dst1, src1, stride, stride, offset_val, left_class, block_size, block_size); in check_sao_band()
113 int16_t offset_val[OFFSET_LENGTH]; in check_sao_edge() local
126 randomize_buffers2(offset_val, OFFSET_LENGTH); in check_sao_edge()
131 call_ref(dst0, src0 + offset, stride, offset_val, eo, w, block_size); in check_sao_edge()
132 call_new(dst1, src1 + offset, stride, offset_val, eo, w, block_size); in check_sao_edge()
138 bench_new(dst1, src1 + offset, stride, offset_val, eo, block_size, block_size); in check_sao_edge()
/third_party/ffmpeg/libavcodec/
Dhevcdsp_template.c347 int offset_val = edge_idx[2 + diff0 + diff1]; in FUNC() local
348 dst[x] = av_clip_pixel(src[x] + sao_offset_val[offset_val]); in FUNC()
364 int16_t *sao_offset_val = sao->offset_val[c_idx]; in FUNC()
373 int offset_val = sao_offset_val[0]; in FUNC() local
375 dst[y * stride_dst] = av_clip_pixel(src[y * stride_src] + offset_val); in FUNC()
380 int offset_val = sao_offset_val[0]; in FUNC() local
383 … dst[x * stride_dst + offset] = av_clip_pixel(src[x * stride_src + offset] + offset_val); in FUNC()
390 int offset_val = sao_offset_val[0]; in FUNC() local
392 dst[x] = av_clip_pixel(src[x] + offset_val); in FUNC()
395 int offset_val = sao_offset_val[0]; in FUNC() local
[all …]
Dhevcdsp.h42 int16_t offset_val[3][5]; ///<SaoOffsetVal member
Dhevc_filter.c338 sao->offset_val[c_idx], sao->band_position[c_idx], in sao_filter_CTB()
344 sao->offset_val[c_idx], sao->band_position[c_idx], in sao_filter_CTB()
445 s->hevcdsp.sao_edge_filter[tab](src, dst, stride_src, sao->offset_val[c_idx], in sao_filter_CTB()
Dhevcdec.c1065 sao->offset_val[c_idx][0] = 0; in hls_sao_param()
1067 sao->offset_val[c_idx][i + 1] = sao->offset_abs[c_idx][i]; in hls_sao_param()
1070 sao->offset_val[c_idx][i + 1] = -sao->offset_val[c_idx][i + 1]; in hls_sao_param()
1072 sao->offset_val[c_idx][i + 1] = -sao->offset_val[c_idx][i + 1]; in hls_sao_param()
1074 sao->offset_val[c_idx][i + 1] *= 1 << log2_sao_offset_scale; in hls_sao_param()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dstr_replace.h142 absl::string_view replacement_str, size_t offset_val) in ViableSubstitution()
143 : old(old_str), replacement(replacement_str), offset(offset_val) {} in ViableSubstitution()
/third_party/ffmpeg/libavcodec/mips/
Dhevc_lpf_sao_msa.c1048 v16i8 offset, offset_val, mask; in hevc_sao_band_filter_4width_msa() local
1052 offset_val = LD_SB(sao_offset_val + 1); in hevc_sao_band_filter_4width_msa()
1053 offset_val = (v16i8) __msa_pckev_d((v2i64) offset_val, (v2i64) offset_val); in hevc_sao_band_filter_4width_msa()
1055 offset_val = __msa_pckev_b(offset_val, offset_val); in hevc_sao_band_filter_4width_msa()
1056 offset1 = (v16i8) __msa_insve_w((v4i32) zero, 3, (v4i32) offset_val); in hevc_sao_band_filter_4width_msa()
1110 v16i8 offset_mask0, offset_mask1, offset_val; in hevc_sao_band_filter_8width_msa() local
1114 offset_val = LD_SB(sao_offset_val + 1); in hevc_sao_band_filter_8width_msa()
1115 offset_val = (v16i8) __msa_pckev_d((v2i64) offset_val, (v2i64) offset_val); in hevc_sao_band_filter_8width_msa()
1116 offset_val = __msa_pckev_b(offset_val, offset_val); in hevc_sao_band_filter_8width_msa()
1117 offset1 = (v16i8) __msa_insve_w((v4i32) zero, 3, (v4i32) offset_val); in hevc_sao_band_filter_8width_msa()
[all …]
Dh264dsp_msa.c28 uint32_t tp0, tp1, offset_val; in avc_wgt_4x2_msa() local
33 offset_val = (unsigned) offset_in << log2_denom; in avc_wgt_4x2_msa()
36 offset = __msa_fill_h(offset_val); in avc_wgt_4x2_msa()
55 uint32_t tp0, tp1, tp2, tp3, offset_val; in avc_wgt_4x4_msa() local
59 offset_val = (unsigned) offset_in << log2_denom; in avc_wgt_4x4_msa()
62 offset = __msa_fill_h(offset_val); in avc_wgt_4x4_msa()
82 uint32_t tp0, tp1, tp2, tp3, offset_val; in avc_wgt_4x8_msa() local
87 offset_val = (unsigned) offset_in << log2_denom; in avc_wgt_4x8_msa()
90 offset = __msa_fill_h(offset_val); in avc_wgt_4x8_msa()
114 uint32_t offset_val; in avc_wgt_8x4_msa() local
[all …]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir_aos.c236 unsigned offset_val = LLVMConstIntGetZExtValue(offset) >> 2; in emit_load_ubo() local
239 offset_val + chan); in emit_load_ubo()
246 lp_build_name(scalar, "const[%u].%c", offset_val, "xyzw"[chan]); in emit_load_ubo()
Dlp_bld_nir.c2383 LLVMValueRef offset_val = get_src(bld_base, instr->src[i].src); in visit_tex() local
2386 offsets[0] = cast_type(bld_base, offset_val, nir_type_int, 32); in visit_tex()
2389 offsets[chan] = LLVMBuildExtractValue(builder, offset_val, in visit_tex()
/third_party/ffmpeg/libavcodec/loongarch/
Dh264dsp_lasx.c1563 uint32_t offset_val; in ff_weight_h264_pixels16_8_lasx() local
1573 offset_val = (unsigned) offset_in << log2_denom; in ff_weight_h264_pixels16_8_lasx()
1576 offset = __lasx_xvreplgr2vr_h(offset_val); in ff_weight_h264_pixels16_8_lasx()
1715 uint32_t offset_val; in avc_wgt_8x4_lasx() local
1722 offset_val = (unsigned) offset_in << log2_denom; in avc_wgt_8x4_lasx()
1725 offset = __lasx_xvreplgr2vr_h(offset_val); in avc_wgt_8x4_lasx()
1755 uint32_t offset_val; in avc_wgt_8x8_lasx() local
1761 offset_val = (unsigned) offset_in << log2_denom; in avc_wgt_8x8_lasx()
1764 offset = __lasx_xvreplgr2vr_h(offset_val); in avc_wgt_8x8_lasx()
1813 uint32_t offset_val; in avc_wgt_8x16_lasx() local
[all …]
/third_party/jerryscript/jerry-core/ecma/builtin-objects/typedarray/
Decma-builtin-typedarray-prototype.c837 ecma_value_t offset_val) /**< offset value */ in ecma_op_typedarray_set_with_typedarray() argument
841 if (ECMA_IS_VALUE_ERROR (ecma_op_to_integer (offset_val, &target_offset_num))) in ecma_op_typedarray_set_with_typedarray()
923 ecma_value_t offset_val) /**< offset value */ in ecma_builtin_typedarray_prototype_set() argument
935 return ecma_op_typedarray_set_with_typedarray (this_arg, arr_val, offset_val); in ecma_builtin_typedarray_prototype_set()
940 ecma_value_t ret_val = ecma_op_to_integer (offset_val, &target_offset_num); in ecma_builtin_typedarray_prototype_set()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_compiler_nir.c1277 uint32_t offset_val = src_offset - *base; in stp_ldp_offset() local
1278 *offset = create_immed(b, offset_val); in stp_ldp_offset()
/third_party/mindspore/patches/
D0005-micro-for-ohos.patch11226 + auto &offset_val = item.second;
11227 + for (size_t j = 0; j < offset_val.size(); ++j) {
11228 + ofs << offset_val[j] << ", ";