/external/libxcam/xcore/interface/ |
stitcher.cpp | 255 const RoundViewSlice &slice = _round_view_slices[i]; local 264 // get slice center angle 268 float center_in_slice = center_angle - slice.hori_angle_start; 271 ERROR, center_in_slice < slice.hori_angle_range, 273 "stitcher mark center failed, slice:%d calculated center-angle:%.2f is out of slice angle(start:%.2f, range:%.2f)", 274 center_angle, slice.hori_angle_start, slice.hori_angle_range); 276 uint32_t slice_pos = (uint32_t)(center_in_slice / slice.hori_angle_range * slice.width) [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/ |
fd3_gmem.c | 66 struct fd_resource_slice *slice = NULL; local 85 slice = fd_resource_slice(rsc, psurf->u.tex.level); 105 stride = slice->pitch * rsc->cpp; 323 struct fd_resource_slice *slice = fd_resource_slice(rsc, psurf->u.tex.level); local 338 OUT_RING(ring, A3XX_RB_COPY_DEST_PITCH_PITCH(slice->pitch * rsc->cpp)); [all...] |
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
fd4_gmem.c | 66 struct fd_resource_slice *slice = NULL; local 87 slice = fd_resource_slice(rsc, psurf->u.tex.level); 108 stride = slice->pitch * rsc->cpp; 156 struct fd_resource_slice *slice; local 165 slice = &rsc->slices[psurf->u.tex.level]; 176 OUT_RING(ring, A4XX_RB_COPY_DEST_PITCH_PITCH(slice->pitch * rsc->cpp));
|
/external/mesa3d/src/gallium/drivers/ilo/ |
ilo_blitter_blt.c | 250 int slice; local 271 for (slice = 0; slice < dst_box->depth; slice++) { 275 dst_level, dst_box->z + slice, &x, &y); 290 return (slice == dst_box->depth); 310 int cpp, xscale, slice; local 365 for (slice = 0; slice < src_box->depth; slice++) [all...] |
ilo_render_gen6.c | 721 const struct ilo_texture_slice *slice = local 728 clear_params = slice->clear_value;
|
ilo_render_gen7.c | 579 const struct ilo_texture_slice *slice = local 585 clear_params = slice->clear_value;
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_resource_texture.h | 100 /** array indexed by cube face or 3D/array slice, one bit per mipmap level */ 103 /** array indexed by cube face or 3D/array slice, one bit per mipmap level. 117 unsigned slice; /**< array slice or cube face */ member in struct:svga_transfer
|
/external/mesa3d/src/gallium/state_trackers/clover/util/ |
range.hpp | 288 /// (\a i, \a j) in the source range \a r. Use slice() as 394 slice(R &&r, typename slice_range<R>::size_type i, function in namespace:clover
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
intel_mipmap_tree.h | 117 * \name Offset to slice 121 * compute the slice offsets, so we store them in this table. 123 * The (x, y) offset to slice \c s at level \c l relative the miptrees 126 * x = mt->level[l].slice[s].x_offset 127 * y = mt->level[l].slice[s].y_offset 135 * intel_miptree_map/unmap on this slice. 138 } *slice; member in struct:intel_mipmap_level 313 GLuint level, GLuint slice, 322 GLuint level, GLuint slice, 356 unsigned int slice, [all...] |
/external/mesa3d/src/mesa/main/ |
debug.c | 602 const GLint slice = 0; local 607 ctx->Driver.MapTextureImage(ctx, img, slice, 657 ctx->Driver.UnmapTextureImage(ctx, img, slice);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/ |
SampleEntry.java | 130 setDeadBytes(content.slice());
|
/external/python/cpython3/Objects/ |
sliceobject.c | 4 This includes both the singular ellipsis object and slice objects. 94 /* Slice object implementation */ 96 /* Using a cache is very effective since typically only a single slice is 145 PyObject *start, *end, *slice; local 155 slice = PySlice_New(start, end, NULL); 158 return slice; 207 "slice step cannot be zero"); 213 * does "step = -step" as part of a slice reversal. 298 if (!_PyArg_NoKeywords("slice()", kw)) 301 if (!PyArg_UnpackTuple(args, "slice", 1, 3, &start, &stop, &step) [all...] |
/external/sfntly/cpp/src/sfntly/data/ |
readable_font_data.cc | 314 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset, 325 FontDataPtr slice = new ReadableFontData(this, offset, length); local 326 return slice.Detach(); 329 CALLER_ATTACH FontData* ReadableFontData::Slice(int32_t offset) { 337 FontDataPtr slice = new ReadableFontData(this, offset); local 338 return slice.Detach();
|
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
index_sub_table_format5.cc | 64 data.Attach(down_cast<ReadableFontData*>(data_->Slice( 143 data->Slice(index_sub_table_offset, length))); 166 data->Slice(index_sub_table_offset, length))); 206 source.Attach(down_cast<ReadableFontData*>(InternalReadData()->Slice( 208 target.Attach(down_cast<WritableFontData*>(new_data->Slice( 214 WritableFontDataPtr slice; local 215 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size))); 216 size += BigMetrics()->SubSerialize(slice); 239 data.Attach(down_cast<WritableFontData*>(InternalWriteData()->Slice( [all...] |
/external/sfntly/cpp/src/test/ |
font_data_test.cc | 260 ReadableFontDataPtr slice; local 261 slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 262 EXPECT_TRUE(ReadComparison(trim, length, rfd, slice)); 277 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); 278 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 286 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); 287 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))); 294 w_slice.Attach(down_cast<WritableFontData*>(wfd->Slice(trim, length))); 295 r_slice.Attach(down_cast<ReadableFontData*>(rfd->Slice(trim, length))) [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
ArrayRef.h | 169 /// slice(n, m) - Chop off the first N elements of the array, and keep M 171 ArrayRef<T> slice(size_t N, size_t M) const { function in class:llvm::ArrayRef 176 /// slice(n) - Chop off the first N elements of the array. 177 ArrayRef<T> slice(size_t N) const { return slice(N, size() - N); } function in class:llvm::ArrayRef 182 return slice(N, size() - N); 188 return slice(0, size() - N); 342 /// slice(n, m) - Chop off the first N elements of the array, and keep M 344 MutableArrayRef<T> slice(size_t N, size_t M) const { function in class:llvm::ArrayRef 349 /// slice(n) - Chop off the first N elements of the array 350 MutableArrayRef<T> slice(size_t N) const { function in class:llvm::ArrayRef [all...] |
/external/tensorflow/tensorflow/compiler/jit/kernels/ |
xla_launch_op.cc | 142 Tensor slice = tensor.Slice(0, output_size); local 143 out_tensor->UnsafeCopyFromInternal(slice, dtype, shape);
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
strided_slice_op.cc | 92 xla::ComputationDataHandle slice = ctx->Input(0); variable 94 slice = ctx->builder()->Rev(slice, dimensions_to_reverse); 97 slice = ctx->builder()->Slice(slice, slice_begin, slice_end, slice_strides); 99 slice = ctx->builder()->Reshape(slice, final_shape.dim_sizes()); 100 ctx->SetOutput(0, slice); 156 // Check to make sure dy is consistent with the original slice [all...] |
tensor_array_ops.cc | 125 // relevant slice of 'operand'. 314 // Look for the case where the gather takes a simple slice from the 335 ctx->SetOutput(0, b->Slice(ta, begin, end, strides)); 413 // Slice out part of the value. 416 auto slice = b->Slice(value, value_starts, value_ends, value_strides); variable 419 auto index = b->Slice(indices, {i}, {i + 1}, {1}); 423 ta = DynamicAddSlice(b, ta, slice, slice_dims, start_indices);
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
buffer_liveness_test.cc | 630 HloInstruction* slice = nullptr; local 632 // Create a slice instruction as an additional user of 'gte1'. 633 slice = builder.AddInstruction( 636 update_shape, HloOpcode::kAdd, update, slice)); 654 {dynamic_update_slice, starts, update, CHECK_NOTNULL(slice), gte1}, 717 // 2) Slice at operand 0. 726 // | | | Slice / [all...] |
hlo_rematerialization_test.cc | 47 // F32[1] %slice_1 = slice(%concat_1, {0:1}) 49 // F32[1] %slice_2 = slice(%concat_2, {0:1}); 75 // Add a final slice to make the parameter shape match the output shape 89 // F32[1] %slice_1 = slice(%bcast, {0:1}) 92 // F32[1] %slice_2 = slice(%concat, {0:1}); 153 const HloInstruction* slice = computation->root_instruction(); local 154 ASSERT_THAT(slice, op::Slice(op::Concatenate(op::Broadcast(_), _))); 155 const HloInstruction* concat = slice->operand(0); 169 EXPECT_EQ(computation->root_instruction(), slice); [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
pad_insertion.cc | 309 // [A] = Slice([B A]) 343 // Slice the new backward convolution. 358 // larger, we internally pad the low end of the activations and slice 362 // If the amount of high padding is larger, we slice out the internal 368 // Replace the old backward convolution with the slice. 377 HloInstruction* slice = computation->AddInstruction( local 381 HloInstruction::CreateTuple({slice, new_backward_conv_scratch}));
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
array_slice_test.cc | 280 IntSlice slice; local 281 slice = vec; 283 TestImplicitConversion(slice, vec); 324 // Check sub-slice initialization. 373 IntSlice slice = MutableIntSlice(&vec); local 374 EXPECT_EQ(vec.size(), slice.size()); 375 EXPECT_EQ(vec.data(), slice.data()); 413 IntSlice slice; local 415 CheckType<IntSlice::iterator>(slice.begin()); 418 CheckType<IntSlice::reverse_iterator>(slice.rend()) 514 MutableIntSlice slice; local [all...] |
/external/tensorflow/tensorflow/core/util/tensor_bundle/ |
tensor_bundle_test.cc | 320 // First slice: column 0, all zeros. 321 // Second slice: column 1 to rest, all ones. 362 // Reads a slice consisting of first two columns, "cutting" both slices. 381 // Reads a slice consisting of columns 2-4, "cutting" the second slice only. 410 const TensorSlice slice = TensorSlice::ParseOrDie("-:-"); local 412 TF_ASSERT_OK(reader.LookupSlice("no_extents", slice, &val)); 415 // Slice match exactly and are fully specified. 419 const TensorSlice slice = TensorSlice::ParseOrDie("0,5:0,10"); local 421 TF_ASSERT_OK(reader.LookupSlice("both_extents", slice, &val)) 428 const TensorSlice slice = TensorSlice::ParseOrDie("0,5:0,10"); local 437 const TensorSlice slice = TensorSlice::ParseOrDie("-:-"); local [all...] |
/external/v8/src/interpreter/ |
constant-array-builder.cc | 72 // Print all the entries in the slice to help debug duplicates. 110 ConstantArraySlice* slice = idx_slice_[--i]; local 111 if (slice->size() > 0) { 112 return slice->start_index() + slice->size(); 120 for (ConstantArraySlice* slice : idx_slice_) { 121 if (index <= slice->max_index()) { 122 return slice; 131 const ConstantArraySlice* slice = IndexToSlice(index); local 132 DCHECK_LT(index, slice->capacity()) 234 ConstantArraySlice* slice = nullptr; local 258 ConstantArraySlice* slice = IndexToSlice(index); local 288 ConstantArraySlice* slice = OperandSizeToSlice(operand_size); local [all...] |