Home
last modified time | relevance | path

Searched refs:dst_buffer (Results 1 – 25 of 42) sorted by relevance

12

/external/libgav1/libgav1/src/dsp/arm/
Dintra_edge_neon.cc41 auto* const dst_buffer = static_cast<uint8_t*>(buffer); in IntraEdgeFilter_NEON() local
53 kKernelsNEON[kernel_index][0] * dst_buffer[size - 2] + in IntraEdgeFilter_NEON()
54 kKernelsNEON[kernel_index][1] * dst_buffer[size - 1] + in IntraEdgeFilter_NEON()
55 kKernelsNEON[kernel_index][0] * dst_buffer[size - 1], in IntraEdgeFilter_NEON()
62 uint8x16_t src_0 = vld1q_u8(dst_buffer); in IntraEdgeFilter_NEON()
69 const uint8x16_t src_1 = vld1q_u8(dst_buffer + i); in IntraEdgeFilter_NEON()
70 const uint8x16_t src_2 = vld1q_u8(dst_buffer + i + 1); in IntraEdgeFilter_NEON()
83 src_0 = vld1q_u8(dst_buffer + i + 15); in IntraEdgeFilter_NEON()
85 vst1q_u8(dst_buffer + i, result); in IntraEdgeFilter_NEON()
93 const uint8x16_t src_1 = vld1q_u8(dst_buffer + i); in IntraEdgeFilter_NEON()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_blit.c40 struct i915_winsys_buffer *dst_buffer, in i915_fill_blit() argument
50 __FUNCTION__, dst_buffer, dst_pitch, dst_offset, x, y, w, h); in i915_fill_blit()
52 if(!i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)) { in i915_fill_blit()
54 assert(i915_winsys_validate_buffers(i915->batch, &dst_buffer, 1)); in i915_fill_blit()
82 OUT_RELOC_FENCED(dst_buffer, I915_USAGE_2D_TARGET, dst_offset); in i915_fill_blit()
95 struct i915_winsys_buffer *dst_buffer, in i915_copy_blit() argument
104 struct i915_winsys_buffer *buffers[2] = {src_buffer, dst_buffer}; in i915_copy_blit()
111 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in i915_copy_blit()
154 OUT_RELOC_FENCED(dst_buffer, I915_USAGE_2D_TARGET, dst_offset); in i915_copy_blit()
Di915_blit.h39 struct i915_winsys_buffer *dst_buffer,
49 struct i915_winsys_buffer *dst_buffer,
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_pixel_read.c99 struct radeon_bo *dst_buffer; in do_blit_readpixels() local
142dst_buffer = radeon_bo_open(radeon->radeonScreen->bom, 0, dst_imagesize, 1024, RADEON_GEM_DOMAIN_G… in do_blit_readpixels()
147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; in do_blit_readpixels()
167 dst_buffer, in do_blit_readpixels()
181 radeon_bo_map(dst_buffer, 0); in do_blit_readpixels()
182 copy_rows(pixels, dst_rowstride, dst_buffer->ptr, in do_blit_readpixels()
184 radeon_bo_unmap(dst_buffer); in do_blit_readpixels()
185 radeon_bo_unref(dst_buffer); in do_blit_readpixels()
192 radeon_bo_unref(dst_buffer); in do_blit_readpixels()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_pixel_read.c99 struct radeon_bo *dst_buffer; in do_blit_readpixels() local
142dst_buffer = radeon_bo_open(radeon->radeonScreen->bom, 0, dst_imagesize, 1024, RADEON_GEM_DOMAIN_G… in do_blit_readpixels()
147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; in do_blit_readpixels()
167 dst_buffer, in do_blit_readpixels()
181 radeon_bo_map(dst_buffer, 0); in do_blit_readpixels()
182 copy_rows(pixels, dst_rowstride, dst_buffer->ptr, in do_blit_readpixels()
184 radeon_bo_unmap(dst_buffer); in do_blit_readpixels()
185 radeon_bo_unref(dst_buffer); in do_blit_readpixels()
192 radeon_bo_unref(dst_buffer); in do_blit_readpixels()
/external/mesa3d/src/amd/vulkan/
Dradv_meta_buffer.c281 struct radv_buffer dst_buffer = { in fill_buffer_shader() local
303 .buffer = radv_buffer_to_handle(&dst_buffer), in fill_buffer_shader()
334 struct radv_buffer dst_buffer = { in copy_buffer_shader() local
362 .buffer = radv_buffer_to_handle(&dst_buffer), in copy_buffer_shader()
442 RADV_FROM_HANDLE(radv_buffer, dst_buffer, dstBuffer); in radv_CmdFillBuffer()
445 fillSize = (dst_buffer->size - dstOffset) & ~3ull; in radv_CmdFillBuffer()
447 radv_fill_buffer(cmd_buffer, dst_buffer->bo, dst_buffer->offset + dstOffset, in radv_CmdFillBuffer()
454 struct radv_buffer *dst_buffer, in copy_buffer() argument
467 dst_buffer->bo, in copy_buffer()
469 dst_buffer->offset + region->dstOffset, in copy_buffer()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c102 struct pipe_resource **dst_buffer) in util_translate_prim_restart_ib() argument
124 *dst_buffer = pipe_buffer_create(screen, PIPE_BIND_INDEX_BUFFER, in util_translate_prim_restart_ib()
127 if (!*dst_buffer) in util_translate_prim_restart_ib()
131 dst_map = pipe_buffer_map(context, *dst_buffer, in util_translate_prim_restart_ib()
162 if (*dst_buffer) in util_translate_prim_restart_ib()
163 pipe_resource_reference(dst_buffer, NULL); in util_translate_prim_restart_ib()
Du_prim_restart.h52 struct pipe_resource **dst_buffer);
/external/libjpeg-turbo/
Dtransupp.c100 JBLOCKARRAY src_buffer, dst_buffer; in do_crop() local
112 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_crop()
121 dst_buffer[offset_y], in do_crop()
204 JBLOCKARRAY src_buffer, dst_buffer; in do_flip_h() local
223 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_h()
231 dst_row_ptr = dst_buffer[offset_y]; in do_flip_h()
266 JBLOCKARRAY src_buffer, dst_buffer; in do_flip_v() local
288 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_flip_v()
308 dst_row_ptr = dst_buffer[offset_y]; in do_flip_v()
327 dst_buffer[offset_y], in do_flip_v()
[all …]
/external/libgav1/libgav1/src/dsp/x86/
Dintra_edge_sse4.cc158 auto* dst_buffer = static_cast<uint8_t*>(buffer); in IntraEdgeFilter_SSE4_1() local
170 ComputeKernel1Store12(dst_buffer + i + 1, edge + i); in IntraEdgeFilter_SSE4_1()
176 ComputeKernel2Store12(dst_buffer + i + 1, edge + i); in IntraEdgeFilter_SSE4_1()
182 dst_buffer[1] = RightShiftWithRounding( in IntraEdgeFilter_SSE4_1()
187 ComputeKernel3Store8(dst_buffer + i + 2, edge + i); in IntraEdgeFilter_SSE4_1()
198 dst_buffer[final_index] = RightShiftWithRounding(sum, 4); in IntraEdgeFilter_SSE4_1()
/external/webrtc/webrtc/common_audio/
Daudio_converter_unittest.cc123 ScopedBuffer dst_buffer = CreateBuffer(dst_data, dst_frames); in RunAudioConverterTest() local
138 dst_buffer->channels(), dst_buffer->size()); in RunAudioConverterTest()
141 ComputeSNR(*ref_buffer.get(), *dst_buffer.get(), delay_frames)); in RunAudioConverterTest()
Daudio_converter.cc124 auto dst_buffer = buffers_[i - 1]; in Convert() local
127 dst_buffer->channels(), in Convert()
128 dst_buffer->size()); in Convert()
/external/tensorflow/tensorflow/compiler/xla/python/
Dlocal_device_state.cc88 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/mesa3d/src/mesa/drivers/dri/i915/
Dintel_pixel_read.c81 drm_intel_bo *dst_buffer; in do_blit_readpixels() local
129 dst_buffer = intel_bufferobj_buffer(intel, dst); in do_blit_readpixels()
133 dst_buffer, in do_blit_readpixels()
Dintel_blit.c85 drm_intel_bo *dst_buffer, in emit_copy_blit() argument
115 aper_array[1] = dst_buffer; in emit_copy_blit()
132 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in emit_copy_blit()
186 OUT_RELOC_FENCED(dst_buffer, in emit_copy_blit()
502 drm_intel_bo *dst_buffer, in intelEmitImmediateColorExpandBlit() argument
527 dst_buffer, dst_pitch, dst_offset, x, y, w, h, src_size, dwords); in intelEmitImmediateColorExpandBlit()
550 OUT_RELOC_FENCED(dst_buffer, in intelEmitImmediateColorExpandBlit()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_constants.c590 struct pipe_resource *dst_buffer = NULL; in emit_constbuf() local
631 &dst_buffer, &dst_map); in emit_constbuf()
656 if (svga->state.hw_draw.const0_buffer == dst_buffer && in emit_constbuf()
665 dst_handle = svga_buffer_handle(svga, dst_buffer, in emit_constbuf()
668 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf()
704 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf()
709 if (dst_buffer != buffer && dst_buffer) { in emit_constbuf()
710 pipe_resource_reference(&svga->state.hw_draw.const0_buffer, dst_buffer); in emit_constbuf()
719 pipe_resource_reference(&svga->state.hw_draw.constbuf[shader][slot], dst_buffer); in emit_constbuf()
723 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_blit.c251 struct brw_bo *dst_buffer, in emit_copy_blit() argument
271 const unsigned bo_sizes = dst_buffer->size + src_buffer->size; in emit_copy_blit()
286 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in emit_copy_blit()
354 OUT_RELOC64(dst_buffer, RELOC_WRITE, dst_offset); in emit_copy_blit()
356 OUT_RELOC(dst_buffer, RELOC_WRITE, dst_offset); in emit_copy_blit()
626 struct brw_bo *dst_buffer, in intelEmitImmediateColorExpandBlit() argument
652 dst_buffer, dst_pitch, dst_offset, x, y, w, h, src_size, dwords); in intelEmitImmediateColorExpandBlit()
679 OUT_RELOC64(dst_buffer, RELOC_WRITE, dst_offset); in intelEmitImmediateColorExpandBlit()
681 OUT_RELOC(dst_buffer, RELOC_WRITE, dst_offset); in intelEmitImmediateColorExpandBlit()
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc267 tflite::DynamicBuffer* dst_buffer, in PopulateStringDynamicBuffer() argument
281 dst_buffer->AddString(chars, byte_len); in PopulateStringDynamicBuffer()
288 PopulateStringDynamicBuffer(env, row, dst_buffer, dims_left - 1); in PopulateStringDynamicBuffer()
297 tflite::DynamicBuffer dst_buffer; in WriteMultiDimensionalStringArray() local
298 PopulateStringDynamicBuffer(env, src, &dst_buffer, tensor->dims->size); in WriteMultiDimensionalStringArray()
300 dst_buffer.WriteToTensor(tensor, /*new_shape=*/nullptr); in WriteMultiDimensionalStringArray()
/external/puffin/src/
Dfuzzer_puffpatch.cc80 Buffer dst_buffer(kBufferSize); in FuzzPuffPatch() local
82 auto dst = MemoryStream::CreateForWrite(&dst_buffer); in FuzzPuffPatch()
/external/libgav1/libgav1/src/dsp/
Dintra_edge.cc38 auto* const dst_buffer = static_cast<Pixel*>(buffer); in IntraEdgeFilter_C() local
46 dst_buffer[i] = RightShiftWithRounding(sum, 4); in IntraEdgeFilter_C()
/external/libvpx/libvpx/vp8/decoder/
Dthreading.c268 unsigned char *dst_buffer[3]; in mt_decode_mb_rows() local
284 dst_buffer[0] = yv12_fb_new->y_buffer; in mt_decode_mb_rows()
285 dst_buffer[1] = yv12_fb_new->u_buffer; in mt_decode_mb_rows()
286 dst_buffer[2] = yv12_fb_new->v_buffer; in mt_decode_mb_rows()
338 xd->recon_above[0] = dst_buffer[0] + recon_yoffset; in mt_decode_mb_rows()
339 xd->recon_above[1] = dst_buffer[1] + recon_uvoffset; in mt_decode_mb_rows()
340 xd->recon_above[2] = dst_buffer[2] + recon_uvoffset; in mt_decode_mb_rows()
399 xd->dst.y_buffer = dst_buffer[0] + recon_yoffset; in mt_decode_mb_rows()
400 xd->dst.u_buffer = dst_buffer[1] + recon_uvoffset; in mt_decode_mb_rows()
401 xd->dst.v_buffer = dst_buffer[2] + recon_uvoffset; in mt_decode_mb_rows()
Ddecodeframe.c455 unsigned char *dst_buffer[3]; in decode_mb_rows() local
474 eb_dst[0] = lf_dst[0] = dst_buffer[0] = yv12_fb_new->y_buffer; in decode_mb_rows()
475 eb_dst[1] = lf_dst[1] = dst_buffer[1] = yv12_fb_new->u_buffer; in decode_mb_rows()
476 eb_dst[2] = lf_dst[2] = dst_buffer[2] = yv12_fb_new->v_buffer; in decode_mb_rows()
506 xd->recon_above[0] = dst_buffer[0] + recon_yoffset; in decode_mb_rows()
507 xd->recon_above[1] = dst_buffer[1] + recon_uvoffset; in decode_mb_rows()
508 xd->recon_above[2] = dst_buffer[2] + recon_uvoffset; in decode_mb_rows()
556 xd->dst.y_buffer = dst_buffer[0] + recon_yoffset; in decode_mb_rows()
557 xd->dst.u_buffer = dst_buffer[1] + recon_uvoffset; in decode_mb_rows()
558 xd->dst.v_buffer = dst_buffer[2] + recon_uvoffset; in decode_mb_rows()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c685 ANV_FROM_HANDLE(anv_buffer, dst_buffer, dstBuffer); in anv_CmdCopyImageToBuffer()
701 copy_buffer_to_image(cmd_buffer, &batch, dst_buffer, src_image, in anv_CmdCopyImageToBuffer()
716 ANV_FROM_HANDLE(anv_buffer, dst_buffer, pCopyImageToBufferInfo->dstBuffer); in anv_CmdCopyImageToBuffer2KHR()
722 copy_buffer_to_image(cmd_buffer, &batch, dst_buffer, src_image, in anv_CmdCopyImageToBuffer2KHR()
957 struct anv_buffer *dst_buffer, in copy_buffer() argument
967 .buffer = dst_buffer->address.bo, in copy_buffer()
968 .offset = dst_buffer->address.offset + region->dstOffset, in copy_buffer()
969 .mocs = anv_mocs(device, dst_buffer->address.bo, in copy_buffer()
985 ANV_FROM_HANDLE(anv_buffer, dst_buffer, dstBuffer); in anv_CmdCopyBuffer()
998 copy_buffer(cmd_buffer->device, &batch, src_buffer, dst_buffer, &copy); in anv_CmdCopyBuffer()
[all …]
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dlstm_utils.cc27 Buffer<ArrayDataType::kFloat>* dst_buffer, int dst_stride, in CopyArrayData() argument
36 dst_buffer->data[idx_dst] = src_buffer.data[idx_src]; in CopyArrayData()
/external/tensorflow/tensorflow/lite/delegates/gpu/metal/
Dcommon_test.mm41 device TYPE* const dst_buffer[[buffer(1)]],
48 dst_buffer[linear_index] = src_buffer[linear_index];

12