Home
last modified time | relevance | path

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

/third_party/selinux/libselinux/utils/
Dselabel_digest.c68 char cmd_buf[4096]; in main() local
120 memset(cmd_buf, 0, sizeof(cmd_buf)); in main()
171 cmd_ptr = &cmd_buf[0]; in main()
173 cmd_ptr = &cmd_buf[0] + strlen(cmd_buf); in main()
183 rc = run_check_digest(cmd_buf, sha1_buf); in main()
/third_party/gstreamer/gstplugins_bad/ext/vulkan/
Dvkupload.c442 GstVulkanCommandBuffer *cmd_buf; in _buffer_to_image_perform() local
453 if (!(cmd_buf = gst_vulkan_command_pool_create (raw->cmd_pool, &error))) in _buffer_to_image_perform()
487 gst_vulkan_command_buffer_lock (cmd_buf); in _buffer_to_image_perform()
488 err = vkBeginCommandBuffer (cmd_buf->cmd, &cmd_buf_info); in _buffer_to_image_perform()
562 vkCmdPipelineBarrier (cmd_buf->cmd, in _buffer_to_image_perform()
574 vkCmdCopyBufferToImage (cmd_buf->cmd, buf_mem->buffer, img_mem->image, in _buffer_to_image_perform()
578 err = vkEndCommandBuffer (cmd_buf->cmd); in _buffer_to_image_perform()
579 gst_vulkan_command_buffer_unlock (cmd_buf); in _buffer_to_image_perform()
596 .pCommandBuffers = &cmd_buf->cmd, in _buffer_to_image_perform()
615 GST_MINI_OBJECT_CAST (cmd_buf))); in _buffer_to_image_perform()
[all …]
Dvkdownload.c147 GstVulkanCommandBuffer *cmd_buf; in _image_to_raw_perform() local
161 if (!(cmd_buf = gst_vulkan_command_pool_create (raw->cmd_pool, &error))) in _image_to_raw_perform()
195 gst_vulkan_command_buffer_lock (cmd_buf); in _image_to_raw_perform()
196 err = vkBeginCommandBuffer (cmd_buf->cmd, &cmd_buf_info); in _image_to_raw_perform()
271 vkCmdPipelineBarrier (cmd_buf->cmd, in _image_to_raw_perform()
283 vkCmdCopyImageToBuffer (cmd_buf->cmd, img_mem->image, in _image_to_raw_perform()
287 err = vkEndCommandBuffer (cmd_buf->cmd); in _image_to_raw_perform()
288 gst_vulkan_command_buffer_unlock (cmd_buf); in _image_to_raw_perform()
305 .pCommandBuffers = &cmd_buf->cmd, in _image_to_raw_perform()
326 GST_MINI_OBJECT_CAST (cmd_buf))); in _image_to_raw_perform()
[all …]
Dvkcolorconvert.c1210 GstVulkanCommandBuffer *cmd_buf; in gst_vulkan_color_convert_transform() local
1329 if (!(cmd_buf = in gst_vulkan_color_convert_transform()
1345 gst_vulkan_command_buffer_lock (cmd_buf); in gst_vulkan_color_convert_transform()
1346 err = vkBeginCommandBuffer (cmd_buf->cmd, &cmd_buf_info); in gst_vulkan_color_convert_transform()
1351 if (!gst_vulkan_full_screen_quad_fill_command_buffer (conv->quad, cmd_buf, in gst_vulkan_color_convert_transform()
1423 vkCmdPipelineBarrier (cmd_buf->cmd, in gst_vulkan_color_convert_transform()
1435 vkCmdPipelineBarrier (cmd_buf->cmd, in gst_vulkan_color_convert_transform()
1449 vkCmdBlitImage (cmd_buf->cmd, render_img_mems[i]->image, in gst_vulkan_color_convert_transform()
1461 err = vkEndCommandBuffer (cmd_buf->cmd); in gst_vulkan_color_convert_transform()
1462 gst_vulkan_command_buffer_unlock (cmd_buf); in gst_vulkan_color_convert_transform()
[all …]
Dvkviewconvert.c1912 GstVulkanCommandBuffer *cmd_buf = NULL; in gst_vulkan_view_convert_transform() local
1972 if (!(cmd_buf = in gst_vulkan_view_convert_transform()
1988 gst_vulkan_command_buffer_lock (cmd_buf); in gst_vulkan_view_convert_transform()
1989 err = vkBeginCommandBuffer (cmd_buf->cmd, &cmd_buf_info); in gst_vulkan_view_convert_transform()
1995 if (!gst_vulkan_full_screen_quad_fill_command_buffer (conv->quad, cmd_buf, in gst_vulkan_view_convert_transform()
1999 err = vkEndCommandBuffer (cmd_buf->cmd); in gst_vulkan_view_convert_transform()
2000 gst_vulkan_command_buffer_unlock (cmd_buf); in gst_vulkan_view_convert_transform()
2004 if (!gst_vulkan_full_screen_quad_submit (conv->quad, cmd_buf, fence, &error)) in gst_vulkan_view_convert_transform()
2012 if (cmd_buf) { in gst_vulkan_view_convert_transform()
2013 gst_vulkan_command_buffer_unlock (cmd_buf); in gst_vulkan_view_convert_transform()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/vulkan/
Dgstvkswapper.c1044 GstVulkanCommandBuffer *cmd_buf; in _build_render_buffer_cmd() local
1051 if (!(cmd_buf = gst_vulkan_command_pool_create (swapper->cmd_pool, error))) in _build_render_buffer_cmd()
1064 gst_vulkan_command_buffer_lock (cmd_buf); in _build_render_buffer_cmd()
1065 err = vkBeginCommandBuffer (cmd_buf->cmd, &cmd_buf_info); in _build_render_buffer_cmd()
1087 vkCmdPipelineBarrier (cmd_buf->cmd, in _build_render_buffer_cmd()
1163 vkCmdPipelineBarrier (cmd_buf->cmd, img_mem->barrier.parent.pipeline_stages, in _build_render_buffer_cmd()
1171 vkCmdClearColorImage (cmd_buf->cmd, swap_img->image, in _build_render_buffer_cmd()
1173 vkCmdBlitImage (cmd_buf->cmd, img_mem->image, img_mem->barrier.image_layout, in _build_render_buffer_cmd()
1194 vkCmdPipelineBarrier (cmd_buf->cmd, in _build_render_buffer_cmd()
1204 err = vkEndCommandBuffer (cmd_buf->cmd); in _build_render_buffer_cmd()
[all …]
Dgstvkcommandbuffer.c82 VkCommandBuffer cmd_buf, VkCommandBufferLevel level) in gst_vulkan_command_buffer_init() argument
84 cmd->cmd = cmd_buf; in gst_vulkan_command_buffer_init()
Dgstvkcommandpool.c77 do_free_buffer (GstVulkanCommandBuffer * cmd_buf) in do_free_buffer() argument
79 gst_vulkan_command_buffer_unref (cmd_buf); in do_free_buffer()
/third_party/vulkan-loader/tests/
Dloader_threading_tests.cpp81 VKAPI_ATTR void VKAPI_CALL test_vkCmdBindPipeline(VkCommandBuffer cmd_buf, VkPipelineBindPoint pipe… in test_vkCmdBindPipeline() argument
83 VKAPI_ATTR void VKAPI_CALL test_vkCmdBindDescriptorSets(VkCommandBuffer cmd_buf, VkPipelineBindPoin… in test_vkCmdBindDescriptorSets() argument
87 VKAPI_ATTR void VKAPI_CALL test_vkCmdBindVertexBuffers(VkCommandBuffer cmd_buf, uint32_t firstBindi… in test_vkCmdBindVertexBuffers() argument
89 VKAPI_ATTR void VKAPI_CALL test_vkCmdBindIndexBuffer(VkCommandBuffer cmd_buf, uint32_t firstBinding… in test_vkCmdBindIndexBuffer() argument
91 VKAPI_ATTR void VKAPI_CALL test_vkCmdDraw(VkCommandBuffer cmd_buf, uint32_t vertexCount, uint32_t i… in test_vkCmdDraw() argument
/third_party/ffmpeg/libavfilter/
Df_zmq.c156 char cmd_buf[1024]; in filter_frame() local
179 cmd_buf, sizeof(cmd_buf), in filter_frame()
182 -ret, av_err2str(ret), cmd_buf[0] ? "\n" : "", cmd_buf); in filter_frame()
Dvf_avgblur_vulkan.c205 VkCommandBuffer cmd_buf;
214 cmd_buf = ff_vk_get_exec_buf(avctx, s->exec);
283 vkCmdPipelineBarrier(cmd_buf, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
299 vkCmdDispatch(cmd_buf, FFALIGN(s->vkctx.output_width, CGS)/CGS,
304 vkCmdDispatch(cmd_buf, s->vkctx.output_width,
Dvf_chromaber_vulkan.c175 VkCommandBuffer cmd_buf;
183 cmd_buf = ff_vk_get_exec_buf(avctx, s->exec);
232 vkCmdPipelineBarrier(cmd_buf, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
248 vkCmdDispatch(cmd_buf,
Dvf_overlay_vulkan.c233 VkCommandBuffer cmd_buf;
246 cmd_buf = ff_vk_get_exec_buf(avctx, s->exec);
314 vkCmdPipelineBarrier(cmd_buf, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
330 vkCmdDispatch(cmd_buf,
Dvf_scale_vulkan.c297 VkCommandBuffer cmd_buf;
306 cmd_buf = ff_vk_get_exec_buf(avctx, s->exec);
370 vkCmdPipelineBarrier(cmd_buf, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT,
376 vkCmdDispatch(cmd_buf,
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUCommandBuffer.cpp25 GPUCommandBuffer::GPUCommandBuffer(wgpu::CommandBuffer cmd_buf) : cmd_buf_(std::move(cmd_buf)) { in GPUCommandBuffer() argument
DGPUCommandBuffer.h29 GPUCommandBuffer(wgpu::CommandBuffer cmd_buf);
/third_party/mesa3d/src/amd/vulkan/
Dradv_device_generated_commands.c366 struct dgc_cmdbuf cmd_buf = { in build_dgc_prepare_shader() local
370 nir_store_var(&b, cmd_buf.offset, nir_imul(&b, global_id, cmd_buf_stride), 1); in build_dgc_prepare_shader()
371 nir_ssa_def *cmd_buf_end = nir_iadd(&b, nir_load_var(&b, cmd_buf.offset), cmd_buf_stride); in build_dgc_prepare_shader()
554 …nir_store_ssbo(&b, nir_load_var(&b, vbo_data), cmd_buf.descriptor, upload_off, .access = ACCESS_NO… in build_dgc_prepare_shader()
562 dgc_emit(&b, &cmd_buf, nir_vec(&b, packet, 3)); in build_dgc_prepare_shader()
623 &b, nir_load_var(&b, data), cmd_buf.descriptor, in build_dgc_prepare_shader()
658 dgc_emit(&b, &cmd_buf, nir_vec(&b, pkt, 3)); in build_dgc_prepare_shader()
672 dgc_emit(&b, &cmd_buf, nir_vec(&b, pkt, 2)); in build_dgc_prepare_shader()
719 dgc_emit(&b, &cmd_buf, nir_load_var(&b, data)); in build_dgc_prepare_shader()
745 dgc_emit(&b, &cmd_buf, nir_vec(&b, cmd_values, 3)); in build_dgc_prepare_shader()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dwpa_ctrl.c526 char *cmd_buf = NULL; in wpa_ctrl_request() local
536 cmd_buf = os_malloc(_cmd_len); in wpa_ctrl_request()
537 if (cmd_buf == NULL) in wpa_ctrl_request()
539 _cmd = cmd_buf; in wpa_ctrl_request()
540 pos = cmd_buf; in wpa_ctrl_request()
576 os_free(cmd_buf); in wpa_ctrl_request()
579 os_free(cmd_buf); in wpa_ctrl_request()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dwpa_ctrl.c536 char *cmd_buf = NULL; in wpa_ctrl_request() local
548 cmd_buf = os_malloc(_cmd_len); in wpa_ctrl_request()
549 if (cmd_buf == NULL) in wpa_ctrl_request()
551 _cmd = cmd_buf; in wpa_ctrl_request()
552 pos = cmd_buf; in wpa_ctrl_request()
590 os_free(cmd_buf); in wpa_ctrl_request()
593 os_free(cmd_buf); in wpa_ctrl_request()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwpa_priv.c630 void *cmd_buf; in wpa_priv_receive() local
651 cmd_buf = &buf[sizeof(int)]; in wpa_priv_receive()
662 wpa_priv_cmd_scan(iface, cmd_buf, cmd_len); in wpa_priv_receive()
668 wpa_priv_cmd_associate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
677 wpa_priv_cmd_set_key(iface, cmd_buf, cmd_len); in wpa_priv_receive()
684 cmd_buf, cmd_len); in wpa_priv_receive()
693 wpa_priv_cmd_l2_send(iface, &from, fromlen, cmd_buf, cmd_len); in wpa_priv_receive()
696 pos = cmd_buf; in wpa_priv_receive()
703 wpa_priv_cmd_authenticate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dwpa_priv.c637 void *cmd_buf; in wpa_priv_receive() local
658 cmd_buf = &buf[sizeof(int)]; in wpa_priv_receive()
669 wpa_priv_cmd_scan(iface, cmd_buf, cmd_len); in wpa_priv_receive()
675 wpa_priv_cmd_associate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
684 wpa_priv_cmd_set_key(iface, cmd_buf, cmd_len); in wpa_priv_receive()
691 cmd_buf, cmd_len); in wpa_priv_receive()
700 wpa_priv_cmd_l2_send(iface, &from, fromlen, cmd_buf, cmd_len); in wpa_priv_receive()
703 pos = cmd_buf; in wpa_priv_receive()
710 wpa_priv_cmd_authenticate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
/third_party/libdrm/exynos/
Dexynos_fimg2d.c65 struct drm_exynos_g2d_cmd cmd_buf[G2D_MAX_GEM_CMD_NR]; member
257 ctx->cmd_buf[ctx->cmd_buf_nr].offset = cmd; in g2d_add_cmd()
258 ctx->cmd_buf[ctx->cmd_buf_nr].data = value; in g2d_add_cmd()
327 cmdlist.cmd_buf = (uint64_t)(uintptr_t)&ctx->cmd_buf[0]; in g2d_flush()
Dexynos_drm.h121 __u64 cmd_buf; member
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/
DVK_NV_win32_keyed_mutex.txt159 submit_info.pCommandBuffers = &cmd_buf;
/third_party/ffmpeg/libavutil/
Dhwcontext_vulkan.c2963 VkCommandBuffer cmd_buf = get_buf_exec_ctx(hwfc, ectx); in transfer_image_buf() local
3009 vkCmdPipelineBarrier(cmd_buf, VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT, in transfer_image_buf()
3031 vkCmdCopyImageToBuffer(cmd_buf, frame->img[i], frame->layout[i], in transfer_image_buf()
3034 vkCmdCopyBufferToImage(cmd_buf, vkbuf->buf, frame->img[i], in transfer_image_buf()