Home
last modified time | relevance | path

Searched refs:src_buffer (Results 1 – 25 of 30) sorted by relevance

12

/external/pdfium/core/fxcodec/gif/
Dcfx_gifcontext_unittest.cpp65 uint8_t src_buffer[] = {0x00, 0x01, 0x02, 0x03, 0x04, in TEST() local
67 context.SetInputBuffer(src_buffer, 0); in TEST()
70 EXPECT_EQ(reinterpret_cast<uint8_t*>(src_buffer), context.next_in_); in TEST()
75 context.SetInputBuffer(src_buffer, 10); in TEST()
76 EXPECT_EQ(src_buffer, in TEST()
78 EXPECT_EQ(reinterpret_cast<uint8_t*>(src_buffer), dest_buffer); in TEST()
79 EXPECT_EQ(src_buffer, context.next_in_); in TEST()
84 context.SetInputBuffer(src_buffer, 10); in TEST()
85 EXPECT_EQ(src_buffer, in TEST()
87 EXPECT_EQ(reinterpret_cast<uint8_t*>(src_buffer), dest_buffer); in TEST()
[all …]
/external/libjpeg-turbo/
Dtransupp.c100 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/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc100 llvm::LoadInst* src_buffer = b->CreateLoad(element_ptr); in EmitGetTupleElement() local
105 src_buffer, in EmitGetTupleElement()
106 ByteSizeOf(target_shape, src_buffer->getModule()->getDataLayout())); in EmitGetTupleElement()
108 SetAlignmentMetadataForLoad(src_buffer, alignment); in EmitGetTupleElement()
112 b->CreateBitCast(src_buffer, element_type->getPointerTo()); in EmitGetTupleElement()
/external/mesa3d/src/gallium/drivers/i915/
Di915_blit.c92 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()
Di915_blit.h36 struct i915_winsys_buffer *src_buffer,
/external/webrtc/webrtc/modules/desktop_capture/
Ddesktop_frame.cc31 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()
Ddesktop_frame.h64 void CopyPixelsFrom(uint8_t* src_buffer, int src_stride,
/external/libbrillo/brillo/streams/
Dmemory_containers.cc44 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/mesa/drivers/dri/i965/
Dintel_pixel_draw.c60 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()
Dintel_blit.c520 struct brw_bo *src_buffer, in intelEmitCopyBlit() argument
544 const unsigned bo_sizes = dst_buffer->size + src_buffer->size; in intelEmitCopyBlit()
558 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit()
634 OUT_RELOC64(src_buffer, 0, src_offset); in intelEmitCopyBlit()
636 OUT_RELOC(src_buffer, 0, src_offset); in intelEmitCopyBlit()
Dintel_blit.h35 struct brw_bo *src_buffer,
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pt_emit.c84 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()
Ddraw_pipe_vbuf.c211 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/
Daudio_converter_unittest.cc106 ScopedBuffer src_buffer = CreateBuffer(src_data, src_frames); in RunAudioConverterTest() local
137 converter->Convert(src_buffer->channels(), src_buffer->size(), in RunAudioConverterTest()
Daudio_converter.cc123 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/tensorflow/tensorflow/lite/toco/graph_transformations/
Dlstm_utils.cc25 void CopyArrayData(const Buffer<ArrayDataType::kFloat>& src_buffer, in CopyArrayData() argument
36 dst_buffer->data[idx_dst] = src_buffer.data[idx_src]; in CopyArrayData()
Dlstm_utils.h86 void CopyArrayData(const Buffer<ArrayDataType::kFloat>& src_buffer,
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes.cc74 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/puffin/src/
Dfuzzer.cc109 Buffer src_buffer(kBufferSize); in FuzzPuffPatch() local
111 auto src = MemoryStream::CreateForRead(src_buffer); in FuzzPuffPatch()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c360 struct radv_buffer src_buffer = { in copy_buffer_shader() local
394 .buffer = radv_buffer_to_handle(&src_buffer), in copy_buffer_shader()
479 RADV_FROM_HANDLE(radv_buffer, src_buffer, srcBuffer); in radv_CmdCopyBuffer()
483 uint64_t src_offset = src_buffer->offset + pRegions[r].srcOffset; in radv_CmdCopyBuffer()
487 radv_copy_buffer(cmd_buffer, src_buffer->bo, dest_buffer->bo, in radv_CmdCopyBuffer()
Dradv_meta_copy.c221 RADV_FROM_HANDLE(radv_buffer, src_buffer, srcBuffer); in radv_CmdCopyBufferToImage()
223 meta_copy_buffer_to_image(cmd_buffer, src_buffer, dest_image, destImageLayout, in radv_CmdCopyBufferToImage()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c116 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()
Dintel_blit.c220 drm_intel_bo *src_buffer, in intelEmitCopyBlit() argument
255 aper_array[2] = src_buffer; in intelEmitCopyBlit()
270 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit()
330 OUT_RELOC_FENCED(src_buffer, in intelEmitCopyBlit()
Dintel_blit.h42 drm_intel_bo *src_buffer,
/external/mesa3d/src/gallium/state_trackers/clover/api/
Ddispatch.hpp335 cl_mem src_buffer,
394 cl_mem src_buffer,
612 cl_mem src_buffer,

12