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()
206 JBLOCKARRAY src_buffer, dst_buffer; in do_flip_h() local
228 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_h()
234 src_row_ptr = src_buffer[offset_y]; in do_flip_h()
268 JBLOCKARRAY src_buffer, dst_buffer; in do_flip_v() local
295 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_v()
302 src_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_v()
311 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.cc93 llvm::LoadInst* src_buffer = ir_builder->CreateLoad(element_ptr); in EmitGetTupleElement() local
98 src_buffer, in EmitGetTupleElement()
99 ByteSizeOf(target_shape, src_buffer->getModule()->getDataLayout())); in EmitGetTupleElement()
101 SetAlignmentMetadataForLoad(src_buffer, alignment); in EmitGetTupleElement()
105 ir_builder->CreateBitCast(src_buffer, element_type->getPointerTo()); in EmitGetTupleElement()
/external/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c42 struct pipe_index_buffer *src_buffer, in util_translate_prim_restart_ib() argument
50 const unsigned src_index_size = src_buffer->index_size; in util_translate_prim_restart_ib()
54 dst_index_size = MAX2(2, src_buffer->index_size); in util_translate_prim_restart_ib()
58 assert(src_buffer->user_buffer == NULL); in util_translate_prim_restart_ib()
74 src_map = pipe_buffer_map_range(context, src_buffer->buffer, in util_translate_prim_restart_ib()
75 src_buffer->offset, in util_translate_prim_restart_ib()
Du_prim_restart.h47 struct pipe_index_buffer *src_buffer,
/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 drm_intel_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.c477 drm_intel_bo *src_buffer, in can_fast_copy_blit() argument
575 drm_intel_bo *src_buffer, in intelEmitCopyBlit() argument
606 aper_array[2] = src_buffer; in intelEmitCopyBlit()
623 src_buffer, src_pitch, src_offset, src_x, src_y, in intelEmitCopyBlit()
637 src_buffer, in intelEmitCopyBlit()
747 OUT_RELOC64(src_buffer, in intelEmitCopyBlit()
751 OUT_RELOC(src_buffer, in intelEmitCopyBlit()
Dintel_blit.h35 drm_intel_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.c229 unsigned src_buffer = 0; in vbuf_start_prim() local
240 src_buffer = 1; in vbuf_start_prim()
245 src_buffer = 2; in vbuf_start_prim()
251 hw_key.element[i].input_buffer = src_buffer; in vbuf_start_prim()
/external/tensorflow/tensorflow/contrib/lite/toco/tflite/
Dtypes.cc35 auto* src_buffer = buffer.data(); in CopyBuffer() local
37 reinterpret_cast<const NativeT*>(src_buffer->data()); in CopyBuffer()
38 int num_items = src_buffer->size() / sizeof(NativeT); in CopyBuffer()
/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/puffin/src/
Dfuzzer.cc55 Buffer src_buffer(kBufferSize); in FuzzPuffPatch() local
57 auto src = MemoryStream::CreateForRead(src_buffer); in FuzzPuffPatch()
/external/tensorflow/tensorflow/contrib/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.h79 void CopyArrayData(const Buffer<ArrayDataType::kFloat>& src_buffer,
/external/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c376 struct radv_buffer src_buffer = { in copy_buffer_shader() local
406 .buffer = radv_buffer_to_handle(&src_buffer), in copy_buffer_shader()
496 RADV_FROM_HANDLE(radv_buffer, src_buffer, srcBuffer); in radv_CmdCopyBuffer()
500 uint64_t src_offset = src_buffer->offset + pRegions[r].srcOffset; in radv_CmdCopyBuffer()
504 radv_copy_buffer(cmd_buffer, src_buffer->bo, dest_buffer->bo, in radv_CmdCopyBuffer()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex_image.c116 drm_intel_bo *src_buffer; in try_pbo_upload() local
150 src_buffer = intel_bufferobj_source(intel, pbo, 64, &src_offset); in try_pbo_upload()
159 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,

12