Home
last modified time | relevance | path

Searched refs:offset1 (Results 1 – 25 of 75) sorted by relevance

123

/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dcl_utils.h20 inline bool OverlapRegions(size_t offset1, size_t offset2, size_t size) in OverlapRegions() argument
25 return (offset1 <= offset2 && offset2 <= offset1 + size - 1u) || in OverlapRegions()
26 (offset2 <= offset1 && offset1 <= offset2 + size - 1u); in OverlapRegions()
/third_party/glslang/Test/
Dspv.float16Fetch.frag86 const int offset1 = 1;
191 texel += textureOffset(s1D, c1, offset1);
192 texel += textureOffset(s1D, f16c1, offset1, f16bias);
201 texel.x += textureOffset(s1DShadow, c3, offset1);
202 texel.x += textureOffset(s1DShadow, f16c2, compare, offset1, f16bias);
205 texel += textureOffset(s1DArray, c2, offset1);
206 texel += textureOffset(s1DArray, f16c2, offset1, f16bias);
209 texel.x += textureOffset(s1DArrayShadow, c3, offset1);
210 texel.x += textureOffset(s1DArrayShadow, f16c2, compare, offset1, f16bias);
221 texel += textureProjOffset(s1D, c2, offset1);
[all …]
Dspv.floatFetch.frag71 const int offset1 = 1;
141 texel += textureOffset(s1D, c1, offset1);
146 texel.x += textureOffset(s1DShadow, c3, offset1);
148 texel += textureOffset(s1DArray, c2, offset1);
150 texel.x += textureOffset(s1DArrayShadow, c3, offset1);
160 texel += textureProjOffset(s1D, c2, offset1);
161 texel += textureProjOffset(s1D, c4, offset1);
168 texel.x += textureProjOffset(s1DShadow, c4, offset1);
178 texel += textureLodOffset(s1D, c1, lod, offset1);
181 texel.x += textureLodOffset(s1DShadow, c3, lod, offset1);
[all …]
/third_party/ffmpeg/libavcodec/mips/
Dhevc_mc_biw_msa.c92 int32_t offset1, in hevc_biwgt_copy_4w_msa() argument
105 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_4w_msa()
181 int32_t offset1, in hevc_biwgt_copy_6w_msa() argument
194 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_6w_msa()
235 int32_t offset1, in hevc_biwgt_copy_8w_msa() argument
247 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_8w_msa()
323 int32_t offset1, in hevc_biwgt_copy_12w_msa() argument
335 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_12w_msa()
382 int32_t offset1, in hevc_biwgt_copy_16w_msa() argument
394 offset = (offset0 + offset1) << rnd_val; in hevc_biwgt_copy_16w_msa()
[all …]
Dhevc_lpf_sao_msa.c1049 v16i8 dst0, offset0, offset1; in hevc_sao_band_filter_4width_msa() local
1056 offset1 = (v16i8) __msa_insve_w((v4i32) zero, 3, (v4i32) offset_val); in hevc_sao_band_filter_4width_msa()
1057 offset0 = __msa_sld_b(offset1, zero, 28 - ((sao_left_class) & 31)); in hevc_sao_band_filter_4width_msa()
1058 offset1 = __msa_sld_b(zero, offset1, 28 - ((sao_left_class) & 31)); in hevc_sao_band_filter_4width_msa()
1064 SWAP(offset0, offset1); in hevc_sao_band_filter_4width_msa()
1074 offset = __msa_vshf_b(mask, offset1, offset0); in hevc_sao_band_filter_4width_msa()
1092 offset = __msa_vshf_b(mask, offset1, offset0); in hevc_sao_band_filter_4width_msa()
1111 v16i8 offset0, offset1, dst0, dst1; in hevc_sao_band_filter_8width_msa() local
1117 offset1 = (v16i8) __msa_insve_w((v4i32) zero, 3, (v4i32) offset_val); in hevc_sao_band_filter_8width_msa()
1118 offset0 = __msa_sld_b(offset1, zero, 28 - ((sao_left_class) & 31)); in hevc_sao_band_filter_8width_msa()
[all …]
/third_party/ffmpeg/libavcodec/
Dtruespeech.c46 int offset1[2]; ///< 8-bit value, used in one copying offset member
99 dec->offset1[0] = get_bits(&gb, 4) << 4; in truespeech_read_frame()
105 dec->offset1[1] = get_bits(&gb, 4); in truespeech_read_frame()
109 dec->offset1[1] |= get_bits(&gb, 4) << 4; in truespeech_read_frame()
113 dec->offset1[0] |= get_bits1(&gb); in truespeech_read_frame()
117 dec->offset1[0] |= get_bits1(&gb) << 1; in truespeech_read_frame()
121 dec->offset1[0] |= get_bits1(&gb) << 2; in truespeech_read_frame()
125 dec->offset1[0] |= get_bits1(&gb) << 3; in truespeech_read_frame()
183 off = (t / 25) + dec->offset1[quart >> 1] + 18; in truespeech_apply_twopoint_filter()
Ddvdsubdec.c229 int64_t offset1, offset2; in decode_dvd_subtitles() local
261 offset1 = -1; in decode_dvd_subtitles()
317 offset1 = AV_RB16(buf + pos); in decode_dvd_subtitles()
319 ff_dlog(NULL, "offset1=0x%04"PRIx64" offset2=0x%04"PRIx64"\n", offset1, offset2); in decode_dvd_subtitles()
325 offset1 = AV_RB32(buf + pos); in decode_dvd_subtitles()
327 ff_dlog(NULL, "offset1=0x%04"PRIx64" offset2=0x%04"PRIx64"\n", offset1, offset2); in decode_dvd_subtitles()
355 if (offset1 >= buf_size || offset2 >= buf_size) in decode_dvd_subtitles()
358 if (offset1 >= 0 && offset2 >= 0) { in decode_dvd_subtitles()
383 buf, offset1, buf_size, is_8bit) < 0) in decode_dvd_subtitles()
Dvp6.c592 int offset1, int offset2, ptrdiff_t stride, in vp6_filter() argument
609 && (vp6_block_variance(src+offset1, stride) in vp6_filter()
616 if ((y8 && (offset2-offset1)*s->flip<0) || (!y8 && offset1 > offset2)) { in vp6_filter()
617 offset1 = offset2; in vp6_filter()
622 vp6_filter_hv4(dst, src+offset1, stride, 1, in vp6_filter()
625 vp6_filter_hv4(dst, src+offset1, stride, stride, in vp6_filter()
628 s->vp56dsp.vp6_filter_diag4(dst, src+offset1+((mv.x^mv.y)>>31), stride, in vp6_filter()
634 s->h264chroma.put_h264_chroma_pixels_tab[0](dst, src + offset1, stride, 8, x8, y8); in vp6_filter()
636 vp6_filter_diag2(s, dst, src+offset1 + ((mv.x^mv.y)>>31), stride, x8, y8); in vp6_filter()
/third_party/ffmpeg/tests/checkasm/
Dsynth_filter.c66 int i, offset0 = 0, offset1 = 0, offset_b = 0; in checkasm_check_synth_filter() local
91 call_new(&imdct, buf1, &offset1, buf2_1, window, in checkasm_check_synth_filter()
94 if (offset0 != offset1) { in checkasm_check_synth_filter()
96 fprintf(stderr, "offsets do not match: %d, %d", offset0, offset1); in checkasm_check_synth_filter()
/third_party/mesa3d/src/egl/wayland/wayland-drm/
Dwayland-drm.c64 int32_t offset1, int32_t stride1, in create_buffer() argument
82 buffer->offset[1] = offset1; in create_buffer()
140 int32_t offset1, int32_t stride1, in drm_create_planar_buffer() argument
160 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_planar_buffer()
169 int32_t offset1, int32_t stride1, in drm_create_prime_buffer() argument
173 offset0, stride0, offset1, stride1, offset2, stride2); in drm_create_prime_buffer()
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/testutils/
DTestUtils.java52 public static boolean equals(byte[] b1, int offset1, byte[] b2, int offset2, int length) { in equals() argument
54 if (b1[i + offset1] != b2[i + offset2]) { in equals()
209 int offset1, ReadableFontData rfd1, int offset2, ReadableFontData rfd2, int length) { in equals() argument
211 int b1 = rfd1.readByte(i + offset1); in equals()
/third_party/icu/icu4c/source/samples/layout/
Dcmaps.cpp70 le_uint32 offset1 = 0, offset10 = 0; in createUnicodeMapper() local
78 offset1 = SWAPL(esh->encodingOffset); in createUnicodeMapper()
92 } else if (offset1 != 0) { in createUnicodeMapper()
93 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); in createUnicodeMapper()
/third_party/skia/third_party/externals/icu/source/samples/layout/
Dcmaps.cpp70 le_uint32 offset1 = 0, offset10 = 0; in createUnicodeMapper() local
78 offset1 = SWAPL(esh->encodingOffset); in createUnicodeMapper()
92 } else if (offset1 != 0) { in createUnicodeMapper()
93 subtable = (const CMAPEncodingSubtable *) ((const char *) cmap + offset1); in createUnicodeMapper()
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_offsets.c156 unsigned offset1 = nir_intrinsic_offset1(intrin) * stride; in try_fold_shared2() local
164 offset1 += const_offset; in try_fold_shared2()
165 bool st64 = offset0 % (64 * comp_size) == 0 && offset1 % (64 * comp_size) == 0; in try_fold_shared2()
167 if (const_offset % stride || offset0 > 255 * stride || offset1 > 255 * stride) in try_fold_shared2()
173 nir_intrinsic_set_offset1(intrin, offset1 / stride); in try_fold_shared2()
/third_party/elfutils/libcpu/defs/
Di386.doc61 6bit offset1
66 6bit offset1
71 3bit offset1
/third_party/skia/third_party/externals/brotli/c/enc/
Dbackward_references.c31 size_t offset1 = distance_plus_3 - (size_t)dist_cache[1]; in ComputeDistanceCode() local
38 } else if (offset1 < 7) { in ComputeDistanceCode()
39 return (0xFDB1ACE >> (4 * offset1)) & 0xF; in ComputeDistanceCode()
/third_party/node/deps/brotli/c/enc/
Dbackward_references.c31 size_t offset1 = distance_plus_3 - (size_t)dist_cache[1]; in ComputeDistanceCode() local
38 } else if (offset1 < 7) { in ComputeDistanceCode()
39 return (0xFDB1ACE >> (4 * offset1)) & 0xF; in ComputeDistanceCode()
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/
Dtime_zone_libc.cc259 int offset0, offset1; in MakeTime() local
260 if (make_time(cs, 0, &t0, &offset0) && make_time(cs, 1, &t1, &offset1)) { in MakeTime()
269 std::swap(offset0, offset1); in MakeTime()
271 const std::time_t tt = find_trans(t0, t1, offset1); in MakeTime()
274 if (offset0 < offset1) { in MakeTime()
/third_party/musl/libc-test/src/functionalext/supplement/dirent/
Dtelldir.c40 long offset1 = telldir(dir); in telldir_0100() local
50 if (offset1 == offset2) { in telldir_0100()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dtest_utils.h44 int32_t offset1,
56 int32_t offset1,
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DBufferTests.cpp280 size_t offset1 = 8; in TEST_P() local
281 MapAsyncAndWait(buffer, wgpu::MapMode::Write, offset1, sizeof(data1)); in TEST_P()
282 memcpy(buffer.GetMappedRange(offset1), &data1, sizeof(data1)); in TEST_P()
291 EXPECT_BUFFER_U32_EQ(data1, buffer, offset1); in TEST_P()
300 size_t offset1 = 8; in TEST_P() local
301 MapAsyncAndWait(buffer, wgpu::MapMode::Write, offset1, 8); in TEST_P()
302 memcpy(buffer.GetMappedRange(offset1), data1, 8); in TEST_P()
327 size_t offset1 = 8; in TEST_P() local
331 memcpy(buffer.GetMappedRange(offset1), &data1, sizeof(data1)); in TEST_P()
335 EXPECT_BUFFER_U32_EQ(data1, buffer, offset1); in TEST_P()
/third_party/typescript/src/testRunner/unittests/tsserver/
DtextStorage.ts46 const { line: line1, offset: offset1 } = ts1.positionToLineOffset(pos);
49 …assert.strictEqual(offset1, offset2, `positionToLineOffset ${pos}::offset:: expected ${offset1} to…
/third_party/ffmpeg/libavformat/
Daviobuf.c263 int64_t offset1; in avio_seek() local
284 offset1 = pos + (s->buf_ptr - s->buffer); in avio_seek()
286 return offset1; in avio_seek()
287 if (offset > INT64_MAX - offset1) in avio_seek()
289 offset += offset1; in avio_seek()
300 offset1 = offset - pos; // "offset1" is the relative offset from the beginning of s->buffer in avio_seek()
303 offset1 >= 0 && offset1 <= (s->write_flag ? s->buf_ptr_max - s->buffer : buffer_size)) { in avio_seek()
305 s->buf_ptr = s->buffer + offset1; in avio_seek()
307 offset1 <= buffer_size + short_seek) && in avio_seek()
308 !s->write_flag && offset1 >= 0 && in avio_seek()
[all …]
/third_party/python/Modules/
D_datetimemodule.c4411 PyObject *offset1, *offset2; in time_richcompare() local
4423 offset1 = time_utcoffset(self, NULL); in time_richcompare()
4424 if (offset1 == NULL) in time_richcompare()
4433 if ((offset1 == offset2) || in time_richcompare()
4434 (PyDelta_Check(offset1) && PyDelta_Check(offset2) && in time_richcompare()
4435 delta_cmp(offset1, offset2) == 0)) { in time_richcompare()
4442 else if (offset1 != Py_None && offset2 != Py_None) { in time_richcompare()
4444 assert(offset1 != offset2); /* else last "if" handled it */ in time_richcompare()
4448 GET_TD_DAYS(offset1) * 86400 - in time_richcompare()
4449 GET_TD_SECONDS(offset1); in time_richcompare()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DDSInstructions.td76 bits<8> offset1;
80 let offset1 = !if(ds.has_offset, offset{15-8}, ?);
140 offset0:$offset0, offset1:$offset1, gds:$gds),
141 "$addr, $data0, $data1$offset0$offset1$gds"> {
207 (ins VGPR_32:$addr, src:$data0, src:$data1, offset0:$offset0, offset1:$offset1, gds:$gds),
208 "$vdst, $addr, $data0, $data1$offset0$offset1$gds"> {
254 (ins VGPR_32:$addr, offset0:$offset0, offset1:$offset1, gds:$gds),
255 "$vdst, $addr$offset0$offset1$gds"> {
742 (v2i32 (frag (DS64Bit4ByteAligned i32:$ptr, i8:$offset0, i8:$offset1))),
743 (inst $ptr, $offset0, $offset1, (i1 0))
[all …]

123