/external/pdfium/core/fxcodec/gif/ |
D | cfx_gifcontext_unittest.cpp | 51 uint8_t src_buffer[] = {0x00, 0x01, 0x02, 0x03, 0x04, in TEST() local 62 context.SetTestInputBuffer({src_buffer, 0}); in TEST() 63 dest_buffer.resize(sizeof(src_buffer)); in TEST() 64 EXPECT_FALSE(context.ReadAllOrNone(dest_buffer.data(), sizeof(src_buffer))); in TEST() 66 context.SetTestInputBuffer({src_buffer, 1}); in TEST() 67 EXPECT_FALSE(context.ReadAllOrNone(dest_buffer.data(), sizeof(src_buffer))); in TEST() 69 EXPECT_FALSE(context.ReadAllOrNone(nullptr, sizeof(src_buffer))); in TEST() 72 EXPECT_EQ(src_buffer[0], dest_buffer[0]); in TEST() 74 context.SetTestInputBuffer(src_buffer); in TEST() 75 EXPECT_FALSE(context.ReadAllOrNone(nullptr, sizeof(src_buffer))); in TEST() [all …]
|
/external/libgav1/libgav1/src/post_filter/ |
D | loop_restoration.cc | 35 const Pixel* src_buffer, const ptrdiff_t src_stride, in PrepareLoopRestorationBlock() argument 39 src_buffer -= in PrepareLoopRestorationBlock() 49 src_buffer += kRestorationVerticalBorder * src_stride; in PrepareLoopRestorationBlock() 58 memcpy(dst, src_buffer, in PrepareLoopRestorationBlock() 60 src_buffer += src_stride; in PrepareLoopRestorationBlock() 72 const uint8_t* src_buffer, ptrdiff_t src_stride, 79 const uint16_t* src_buffer, ptrdiff_t src_stride, 87 const Pixel* src_buffer, const Plane plane, const int plane_height, in ApplyLoopRestorationForOneRowInWindow() argument 99 src_buffer += (y + row) * src_stride + x; in ApplyLoopRestorationForOneRowInWindow() 106 const Pixel* src = src_buffer + column; in ApplyLoopRestorationForOneRowInWindow() [all …]
|
D | cdef.cc | 125 const Pixel* src_buffer = in PrepareCdefBlock() local 142 CopyRowForCdef(src_buffer, block_width, unit_width, is_frame_left, in PrepareCdefBlock() 144 src_buffer += src_stride; in PrepareCdefBlock() 152 CopyRowForCdef(src_buffer, block_width, unit_width, is_frame_left, in PrepareCdefBlock() 155 src_buffer += src_stride; in PrepareCdefBlock() 167 CopyRowForCdef(src_buffer, block_width, unit_width, is_frame_left, in PrepareCdefBlock() 169 src_buffer += src_stride; in PrepareCdefBlock() 260 const uint8_t* const src_buffer = src_buffer_base; in ApplyCdefForOneUnit() local 267 CopyPixels(src_buffer, src_stride, cdef_buffer, cdef_stride, in ApplyCdefForOneUnit() 275 dsp_.cdef_direction(src_buffer, src_stride, &direction_y[y_index], in ApplyCdefForOneUnit() [all …]
|
/external/libjpeg-turbo/ |
D | transupp.c | 100 JBLOCKARRAY src_buffer, dst_buffer; in do_crop() local 115 src_buffer = (*srcinfo->mem->access_virt_barray) in do_crop() 120 jcopy_block_row(src_buffer[offset_y] + x_crop_blocks, in do_crop() 204 JBLOCKARRAY src_buffer, dst_buffer; in do_flip_h() local 226 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_h() 232 src_row_ptr = src_buffer[offset_y]; in do_flip_h() 266 JBLOCKARRAY src_buffer, dst_buffer; in do_flip_v() local 293 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_v() 300 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_v() 309 src_row_ptr = src_buffer[compptr->v_samp_factor - offset_y - 1]; in do_flip_v() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_blit.c | 92 struct i915_winsys_buffer *src_buffer, in i915_copy_blit() argument 104 struct i915_winsys_buffer *buffers[2] = {src_buffer, dst_buffer}; in i915_copy_blit() 110 src_buffer, src_pitch, src_offset, src_x, src_y, in i915_copy_blit() 157 OUT_RELOC_FENCED(src_buffer, I915_USAGE_2D_SOURCE, src_offset); in i915_copy_blit()
|
D | i915_blit.h | 36 struct i915_winsys_buffer *src_buffer,
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
D | tuple_ops.cc | 115 llvm::LoadInst* src_buffer = b->CreateLoad(element_ptr); in EmitGetTupleElement() local 120 src_buffer, in EmitGetTupleElement() 121 ByteSizeOf(target_shape, src_buffer->getModule()->getDataLayout())); in EmitGetTupleElement() 123 SetAlignmentMetadataForLoad(src_buffer, alignment); in EmitGetTupleElement() 127 b->CreateBitCast(src_buffer, element_type->getPointerTo()); in EmitGetTupleElement()
|
/external/webrtc/webrtc/modules/desktop_capture/ |
D | desktop_frame.cc | 31 void DesktopFrame::CopyPixelsFrom(uint8_t* src_buffer, int src_stride, in CopyPixelsFrom() argument 37 memcpy(dest, src_buffer, DesktopFrame::kBytesPerPixel * dest_rect.width()); in CopyPixelsFrom() 38 src_buffer += src_stride; in CopyPixelsFrom()
|
/external/libbrillo/brillo/streams/ |
D | memory_containers.cc | 44 const void* src_buffer = GetReadOnlyBuffer(offset, error); in Read() local 45 if (!src_buffer) in Read() 48 CopyMemoryBlock(buffer, src_buffer, size_to_read); in Read()
|
/external/mesa3d/src/amd/vulkan/ |
D | radv_meta_buffer.c | 340 struct radv_buffer src_buffer = { in copy_buffer_shader() local 374 .buffer = radv_buffer_to_handle(&src_buffer), in copy_buffer_shader() 453 struct radv_buffer *src_buffer, in copy_buffer() argument 466 src_buffer->bo, in copy_buffer() 468 src_buffer->offset + region->srcOffset, in copy_buffer() 484 RADV_FROM_HANDLE(radv_buffer, src_buffer, srcBuffer); in radv_CmdCopyBuffer() 495 copy_buffer(cmd_buffer, src_buffer, dst_buffer, ©); in radv_CmdCopyBuffer() 504 RADV_FROM_HANDLE(radv_buffer, src_buffer, pCopyBufferInfo->srcBuffer); in radv_CmdCopyBuffer2KHR() 508 copy_buffer(cmd_buffer, src_buffer, dst_buffer, in radv_CmdCopyBuffer2KHR()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_draw.c | 60 struct brw_bo *src_buffer; in do_blit_drawpixels() local 111 src_buffer = intel_bufferobj_buffer(brw, src, src_offset, in do_blit_drawpixels() 116 src_buffer, in do_blit_drawpixels()
|
/external/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_pt_emit.c | 84 unsigned src_buffer = 0; in draw_pt_emit_prepare() local 95 src_buffer = 1; in draw_pt_emit_prepare() 100 src_buffer = 2; in draw_pt_emit_prepare() 106 hw_key.element[i].input_buffer = src_buffer; in draw_pt_emit_prepare()
|
D | draw_pipe_vbuf.c | 211 unsigned src_buffer = 0; in vbuf_start_prim() local 222 src_buffer = 1; in vbuf_start_prim() 227 src_buffer = 2; in vbuf_start_prim() 233 hw_key.element[i].input_buffer = src_buffer; in vbuf_start_prim()
|
/external/webrtc/webrtc/common_audio/ |
D | audio_converter_unittest.cc | 106 ScopedBuffer src_buffer = CreateBuffer(src_data, src_frames); in RunAudioConverterTest() local 137 converter->Convert(src_buffer->channels(), src_buffer->size(), in RunAudioConverterTest()
|
D | audio_converter.cc | 123 auto src_buffer = buffers_[i - 2]; in Convert() local 125 converters_[i]->Convert(src_buffer->channels(), in Convert() 126 src_buffer->size(), in Convert()
|
/external/puffin/src/ |
D | fuzzer_puffpatch.cc | 79 Buffer src_buffer(kBufferSize); in FuzzPuffPatch() local 81 auto src = MemoryStream::CreateForRead(src_buffer); in FuzzPuffPatch()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | lstm_utils.cc | 25 void CopyArrayData(const Buffer<ArrayDataType::kFloat>& src_buffer, in CopyArrayData() argument 36 dst_buffer->data[idx_dst] = src_buffer.data[idx_src]; in CopyArrayData()
|
/external/libgav1/libgav1/src/ |
D | post_filter.h | 184 static void PrepareLoopRestorationBlock(const Pixel* src_buffer, 421 const Pixel* src_buffer, Plane plane, int plane_height, int plane_width, 555 const uint8_t* src_buffer, ptrdiff_t src_stride, 567 const uint16_t* src_buffer, ptrdiff_t src_stride,
|
/external/tensorflow/tensorflow/compiler/xla/python/ |
D | local_device_state.cc | 88 se::DeviceMemoryBase src_buffer, se::DeviceMemoryBase dst_buffer) { in ThenMemcpyDeviceToDevice() argument 92 transfer_stream->ThenMemcpyD2D(&dst_buffer, src_buffer, dst_buffer.size()); in ThenMemcpyDeviceToDevice()
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | types.cc | 74 auto* src_buffer = buffer.data(); in CopyBuffer() local 76 reinterpret_cast<const NativeT*>(src_buffer->data()); in CopyBuffer() 77 int num_items = src_buffer->size() / sizeof(NativeT); in CopyBuffer()
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | inverse_transform_sse4.cc | 2296 void* src_buffer, int start_x, int start_y, in Dct4TransformLoop_SSE4_1() argument 2300 auto* src = static_cast<int16_t*>(src_buffer); in Dct4TransformLoop_SSE4_1() 2362 void* src_buffer, int start_x, int start_y, in Dct8TransformLoop_SSE4_1() argument 2366 auto* src = static_cast<int16_t*>(src_buffer); in Dct8TransformLoop_SSE4_1() 2428 void* src_buffer, int start_x, int start_y, in Dct16TransformLoop_SSE4_1() argument 2432 auto* src = static_cast<int16_t*>(src_buffer); in Dct16TransformLoop_SSE4_1() 2494 void* src_buffer, int start_x, int start_y, in Dct32TransformLoop_SSE4_1() argument 2498 auto* src = static_cast<int16_t*>(src_buffer); in Dct32TransformLoop_SSE4_1() 2541 void* src_buffer, int start_x, int start_y, in Dct64TransformLoop_SSE4_1() argument 2545 auto* src = static_cast<int16_t*>(src_buffer); in Dct64TransformLoop_SSE4_1() [all …]
|
/external/libgav1/libgav1/src/dsp/arm/ |
D | inverse_transform_neon.cc | 2415 void* src_buffer, int start_x, int start_y, in Dct4TransformLoop_NEON() argument 2419 auto* src = static_cast<int16_t*>(src_buffer); in Dct4TransformLoop_NEON() 2481 void* src_buffer, int start_x, int start_y, in Dct8TransformLoop_NEON() argument 2485 auto* src = static_cast<int16_t*>(src_buffer); in Dct8TransformLoop_NEON() 2547 void* src_buffer, int start_x, int start_y, in Dct16TransformLoop_NEON() argument 2551 auto* src = static_cast<int16_t*>(src_buffer); in Dct16TransformLoop_NEON() 2612 void* src_buffer, int start_x, int start_y, in Dct32TransformLoop_NEON() argument 2616 auto* src = static_cast<int16_t*>(src_buffer); in Dct32TransformLoop_NEON() 2657 void* src_buffer, int start_x, int start_y, in Dct64TransformLoop_NEON() argument 2661 auto* src = static_cast<int16_t*>(src_buffer); in Dct64TransformLoop_NEON() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/ |
D | common_test.mm | 40 kernel void FunctionName(device TYPE* const src_buffer[[buffer(0)]], 48 dst_buffer[linear_index] = src_buffer[linear_index];
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_blit.c | 81 drm_intel_bo *src_buffer, in emit_copy_blit() argument 116 aper_array[2] = src_buffer; in emit_copy_blit() 131 src_buffer, src_pitch, src_offset, src_x, src_y, in emit_copy_blit() 191 OUT_RELOC_FENCED(src_buffer, in emit_copy_blit()
|
D | intel_tex_image.c | 116 drm_intel_bo *src_buffer; in try_pbo_upload() local 144 src_buffer = intel_bufferobj_source(intel, pbo, 64, &src_offset); in try_pbo_upload() 153 src_buffer, in try_pbo_upload()
|