Home
last modified time | relevance | path

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

12

/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/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/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/amd/vulkan/
Dradv_meta_buffer.c301 struct radv_buffer dst_buffer = { in fill_buffer_shader() local
323 .buffer = radv_buffer_to_handle(&dst_buffer), in fill_buffer_shader()
354 struct radv_buffer dst_buffer = { in copy_buffer_shader() local
382 .buffer = radv_buffer_to_handle(&dst_buffer), in copy_buffer_shader()
462 RADV_FROM_HANDLE(radv_buffer, dst_buffer, dstBuffer); in radv_CmdFillBuffer()
465 fillSize = (dst_buffer->size - dstOffset) & ~3ull; in radv_CmdFillBuffer()
467 radv_fill_buffer(cmd_buffer, dst_buffer->bo, dst_buffer->offset + dstOffset, in radv_CmdFillBuffer()
500 RADV_FROM_HANDLE(radv_buffer, dst_buffer, dstBuffer); in radv_CmdUpdateBuffer()
503 uint64_t va = radv_buffer_get_va(dst_buffer->bo); in radv_CmdUpdateBuffer()
504 va += dstOffset + dst_buffer->offset; in radv_CmdUpdateBuffer()
[all …]
Dradv_query.c659 struct radv_buffer dst_buffer = { in radv_query_shader() local
687 .buffer = radv_buffer_to_handle(&dst_buffer), in radv_query_shader()
953 RADV_FROM_HANDLE(radv_buffer, dst_buffer, dstBuffer); in radv_CmdCopyQueryPoolResults()
957 uint64_t dest_va = radv_buffer_get_va(dst_buffer->bo); in radv_CmdCopyQueryPoolResults()
958 dest_va += dst_buffer->offset + dstOffset; in radv_CmdCopyQueryPoolResults()
961 radv_cs_add_buffer(cmd_buffer->device->ws, cmd_buffer->cs, dst_buffer->bo, 8); in radv_CmdCopyQueryPoolResults()
981 pool->bo, dst_buffer->bo, firstQuery * pool->stride, in radv_CmdCopyQueryPoolResults()
982 dst_buffer->offset + dstOffset, in radv_CmdCopyQueryPoolResults()
1000 pool->bo, dst_buffer->bo, firstQuery * pool->stride, in radv_CmdCopyQueryPoolResults()
1001 dst_buffer->offset + dstOffset, in radv_CmdCopyQueryPoolResults()
/external/mesa3d/src/gallium/auxiliary/util/
Du_prim_restart.c43 struct pipe_resource **dst_buffer) in util_translate_prim_restart_ib() argument
59 *dst_buffer = pipe_buffer_create(screen, PIPE_BIND_INDEX_BUFFER, in util_translate_prim_restart_ib()
62 if (!*dst_buffer) in util_translate_prim_restart_ib()
66 dst_map = pipe_buffer_map(context, *dst_buffer, in util_translate_prim_restart_ib()
117 if (*dst_buffer) in util_translate_prim_restart_ib()
118 pipe_resource_reference(dst_buffer, NULL); in util_translate_prim_restart_ib()
Du_prim_restart.h48 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/mesa3d/src/gallium/drivers/svga/
Dsvga_state_constants.c481 struct pipe_resource *dst_buffer = NULL; in emit_constbuf_vgpu10() local
567 &dst_buffer, &dst_map); in emit_constbuf_vgpu10()
585 if (svga->state.hw_draw.const0_buffer == dst_buffer && in emit_constbuf_vgpu10()
594 dst_handle = svga_buffer_handle(svga, dst_buffer, in emit_constbuf_vgpu10()
597 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf_vgpu10()
602 pipe_resource_reference(&svga->state.hw_draw.const0_buffer, dst_buffer); in emit_constbuf_vgpu10()
616 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf_vgpu10()
625 pipe_resource_reference(&svga->state.hw_draw.constbuf[shader], dst_buffer); in emit_constbuf_vgpu10()
629 pipe_resource_reference(&dst_buffer, NULL); in emit_constbuf_vgpu10()
/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/mesa3d/src/mesa/drivers/dri/i965/
Dintel_blit.c524 struct brw_bo *dst_buffer, in intelEmitCopyBlit() argument
544 const unsigned bo_sizes = dst_buffer->size + src_buffer->size; in intelEmitCopyBlit()
559 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in intelEmitCopyBlit()
627 OUT_RELOC64(dst_buffer, RELOC_WRITE, dst_offset); in intelEmitCopyBlit()
629 OUT_RELOC(dst_buffer, RELOC_WRITE, dst_offset); in intelEmitCopyBlit()
652 struct brw_bo *dst_buffer, in intelEmitImmediateColorExpandBlit() argument
678 dst_buffer, dst_pitch, dst_offset, x, y, w, h, src_size, dwords); in intelEmitImmediateColorExpandBlit()
705 OUT_RELOC64(dst_buffer, RELOC_WRITE, dst_offset); in intelEmitImmediateColorExpandBlit()
707 OUT_RELOC(dst_buffer, RELOC_WRITE, dst_offset); in intelEmitImmediateColorExpandBlit()
Dintel_blit.h39 struct brw_bo *dst_buffer,
74 struct brw_bo *dst_buffer,
/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.c224 drm_intel_bo *dst_buffer, in intelEmitCopyBlit() argument
254 aper_array[1] = dst_buffer; in intelEmitCopyBlit()
271 dst_buffer, dst_pitch, dst_offset, dst_x, dst_y, w, h); in intelEmitCopyBlit()
325 OUT_RELOC_FENCED(dst_buffer, in intelEmitCopyBlit()
521 drm_intel_bo *dst_buffer, in intelEmitImmediateColorExpandBlit() argument
546 dst_buffer, dst_pitch, dst_offset, x, y, w, h, src_size, dwords); in intelEmitImmediateColorExpandBlit()
569 OUT_RELOC_FENCED(dst_buffer, in intelEmitImmediateColorExpandBlit()
Dintel_blit.h46 drm_intel_bo *dst_buffer,
70 drm_intel_bo *dst_buffer,
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dtensor_jni.cc258 tflite::DynamicBuffer* dst_buffer, in PopulateStringDynamicBuffer() argument
272 dst_buffer->AddString(chars, byte_len); in PopulateStringDynamicBuffer()
279 PopulateStringDynamicBuffer(env, row, dst_buffer, dims_left - 1); in PopulateStringDynamicBuffer()
288 tflite::DynamicBuffer dst_buffer; in WriteMultiDimensionalStringArray() local
289 PopulateStringDynamicBuffer(env, src, &dst_buffer, tensor->dims->size); in WriteMultiDimensionalStringArray()
291 dst_buffer.WriteToTensor(tensor, /*new_shape=*/nullptr); in WriteMultiDimensionalStringArray()
/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/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()
Dlstm_utils.h88 Buffer<ArrayDataType::kFloat>* dst_buffer, int dst_stride,
/external/puffin/src/
Dfuzzer.cc110 Buffer dst_buffer(kBufferSize); in FuzzPuffPatch() local
112 auto dst = MemoryStream::CreateForWrite(&dst_buffer); in FuzzPuffPatch()
/external/mesa3d/src/intel/vulkan/
Danv_blorp.c430 ANV_FROM_HANDLE(anv_buffer, dst_buffer, dstBuffer); in anv_CmdCopyImageToBuffer()
432 copy_buffer_to_image(cmd_buffer, dst_buffer, src_image, in anv_CmdCopyImageToBuffer()
610 ANV_FROM_HANDLE(anv_buffer, dst_buffer, dstBuffer); in anv_CmdCopyBuffer()
622 .buffer = dst_buffer->bo, in anv_CmdCopyBuffer()
623 .offset = dst_buffer->offset + pRegions[r].dstOffset, in anv_CmdCopyBuffer()
641 ANV_FROM_HANDLE(anv_buffer, dst_buffer, dstBuffer); in anv_CmdUpdateBuffer()
675 .buffer = dst_buffer->bo, in anv_CmdUpdateBuffer()
676 .offset = dst_buffer->offset + dstOffset, in anv_CmdUpdateBuffer()
698 ANV_FROM_HANDLE(anv_buffer, dst_buffer, dstBuffer); in anv_CmdFillBuffer()
705 fillSize = anv_buffer_get_range(dst_buffer, dstOffset, fillSize); in anv_CmdFillBuffer()
[all …]
DgenX_query.c678 struct anv_buffer *dst_buffer, uint32_t dst_offset, in gpu_write_query_result() argument
690 .bo = dst_buffer->bo, in gpu_write_query_result()
691 .offset = dst_buffer->offset + dst_offset, in gpu_write_query_result()
699 .bo = dst_buffer->bo, in gpu_write_query_result()
700 .offset = dst_buffer->offset + dst_offset + 4, in gpu_write_query_result()

12