/external/libgav1/libgav1/src/dsp/arm/ |
D | intra_edge_neon.cc | 46 auto* const dst_buffer = static_cast<uint8_t*>(buffer); in IntraEdgeFilter_NEON() local 60 kKernelsNEON[kernel_index][0] * dst_buffer[size - 2] + in IntraEdgeFilter_NEON() 61 kKernelsNEON[kernel_index][1] * dst_buffer[size - 1] + in IntraEdgeFilter_NEON() 62 kKernelsNEON[kernel_index][0] * dst_buffer[size - 1], in IntraEdgeFilter_NEON() 69 uint8x16_t src_0 = vld1q_u8(dst_buffer); in IntraEdgeFilter_NEON() 76 const uint8x16_t src_1 = vld1q_u8(dst_buffer + i); in IntraEdgeFilter_NEON() 77 const uint8x16_t src_2 = vld1q_u8(dst_buffer + i + 1); in IntraEdgeFilter_NEON() 90 src_0 = vld1q_u8(dst_buffer + i + 15); in IntraEdgeFilter_NEON() 92 vst1q_u8(dst_buffer + i, result); in IntraEdgeFilter_NEON() 99 const uint8x16_t src_1 = vld1q_u8(dst_buffer + i); in IntraEdgeFilter_NEON() [all …]
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_blit.c | 40 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()
|
D | i915_blit.h | 39 struct i915_winsys_buffer *dst_buffer, 49 struct i915_winsys_buffer *dst_buffer,
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_pixel_read.c | 99 struct radeon_bo *dst_buffer; in do_blit_readpixels() local 142 …dst_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/r200/ |
D | radeon_pixel_read.c | 99 struct radeon_bo *dst_buffer; in do_blit_readpixels() local 142 …dst_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/ |
D | radv_meta_buffer.c | 281 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/libjpeg-turbo/ |
D | transupp.c | 242 JBLOCKARRAY src_buffer, dst_buffer; in do_drop() local 252 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_drop() 261 dst_buffer[offset_y] + x_drop_blocks, comp_width); in do_drop() 265 MEMZERO(dst_buffer[offset_y] + x_drop_blocks, in do_drop() 283 JBLOCKARRAY src_buffer, dst_buffer; in do_crop() local 295 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_crop() 303 dst_buffer[offset_y], compptr->width_in_blocks); in do_crop() 325 JBLOCKARRAY src_buffer, dst_buffer; in do_crop_ext_zero() local 341 dst_buffer = (*srcinfo->mem->access_virt_barray) in do_crop_ext_zero() 348 MEMZERO(dst_buffer[offset_y], in do_crop_ext_zero() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_prim_restart.c | 102 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()
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | tensor_jni.cc | 291 tflite::DynamicBuffer* dst_buffer) { in AddStringDynamicBuffer() argument 297 dst_buffer->AddString(chars, byte_len); in AddStringDynamicBuffer() 304 dst_buffer->AddString(reinterpret_cast<const char*>(bytes), in AddStringDynamicBuffer() 311 tflite::DynamicBuffer* dst_buffer, in PopulateStringDynamicBuffer() argument 321 AddStringDynamicBuffer(env, obj, dst_buffer); in PopulateStringDynamicBuffer() 327 PopulateStringDynamicBuffer(env, row, dst_buffer, dims_left - 1); in PopulateStringDynamicBuffer() 336 tflite::DynamicBuffer dst_buffer; in WriteMultiDimensionalStringArray() local 337 PopulateStringDynamicBuffer(env, src, &dst_buffer, tensor->dims->size); in WriteMultiDimensionalStringArray() 339 dst_buffer.WriteToTensor(tensor, /*new_shape=*/nullptr); in WriteMultiDimensionalStringArray() 387 tflite::DynamicBuffer dst_buffer; in WriteScalarString() local [all …]
|
/external/libgav1/libgav1/src/dsp/x86/ |
D | intra_edge_sse4.cc | 158 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/common_audio/ |
D | audio_converter_unittest.cc | 123 ScopedBuffer dst_buffer = CreateBuffer(dst_data, dst_frames); in RunAudioConverterTest() local 140 dst_buffer->channels(), dst_buffer->size()); in RunAudioConverterTest() 143 ComputeSNR(*ref_buffer.get(), *dst_buffer.get(), delay_frames)); in RunAudioConverterTest()
|
D | audio_converter.cc | 143 auto& dst_buffer = buffers_[i - 1]; in Convert() local 145 dst_buffer->channels(), dst_buffer->size()); in Convert()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel_read.c | 81 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()
|
D | intel_blit.c | 85 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/ |
D | svga_state_constants.c | 590 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/ |
D | intel_blit.c | 251 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/compiler/xla/pjrt/ |
D | local_device_state.cc | 91 se::DeviceMemoryBase src_buffer, se::DeviceMemoryBase dst_buffer) { in ThenMemcpyDeviceToDevice() argument 95 transfer_stream->ThenMemcpyD2D(&dst_buffer, src_buffer, dst_buffer.size()); in ThenMemcpyDeviceToDevice()
|
D | tpu_client.cc | 57 se::DeviceMemoryBase dst_buffer) override; 68 se::DeviceMemoryBase src_buffer, se::DeviceMemoryBase dst_buffer) { in ThenMemcpyDeviceToDevice() argument 72 src_buffer, dst_buffer)); in ThenMemcpyDeviceToDevice()
|
/external/libgav1/libgav1/src/post_filter/ |
D | loop_restoration.cc | 24 const int plane_unit_size, Pixel* dst_buffer) { in ApplyLoopRestorationForOneRow() argument 50 Pixel* dst = dst_buffer + column; in ApplyLoopRestorationForOneRow() 91 &restoration_buffer, dst_buffer + column); in ApplyLoopRestorationForOneRow()
|
/external/libgav1/libgav1/src/dsp/ |
D | intra_edge.cc | 38 auto* const dst_buffer = static_cast<Pixel*>(buffer); in IntraEdgeFilter_C() local 46 dst_buffer[i] = RightShiftWithRounding(sum, 4); in IntraEdgeFilter_C()
|
/external/puffin/src/ |
D | fuzzer_puffpatch.cc | 80 Buffer dst_buffer(kBufferSize); in FuzzPuffPatch() local 82 auto dst = MemoryStream::CreateForWrite(&dst_buffer); in FuzzPuffPatch()
|
/external/libvpx/libvpx/vp8/decoder/ |
D | threading.c | 268 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()
|
D | decodeframe.c | 455 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/ |
D | anv_blorp.c | 685 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, ©); in anv_CmdCopyBuffer() [all …]
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | lstm_utils.cc | 27 Buffer<ArrayDataType::kFloat>* dst_buffer, int dst_stride, in CopyArrayData() argument 36 dst_buffer->data[idx_dst] = src_buffer.data[idx_src]; in CopyArrayData()
|