/third_party/ffmpeg/libavcodec/ |
H A D | audiotoolboxdec.c | 136 AudioChannelLayout *new_layout; in ffat_convert_layout() local 145 new_layout = av_malloc(*size); in ffat_convert_layout() 146 if (!new_layout) { in ffat_convert_layout() 152 sizeof(UInt32), &layout->mChannelBitmap, size, new_layout); in ffat_convert_layout() 155 sizeof(AudioChannelLayoutTag), &tag, size, new_layout); in ffat_convert_layout() 156 new_layout->mChannelLayoutTag = kAudioChannelLayoutTag_UseChannelDescriptions; in ffat_convert_layout() 158 return new_layout; in ffat_convert_layout()
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_context.h | 437 zink_resource_image_needs_barrier(struct zink_resource *res, VkImageLayout new_layout, VkAccessFlags flags, VkPipelineStageFlags pipeline); 439 zink_resource_image_barrier_init(VkImageMemoryBarrier *imb, struct zink_resource *res, VkImageLayout new_layout, VkAccessFlags flags, VkPipelineStageFlags pipeline); 442 VkImageLayout new_layout, VkAccessFlags flags, VkPipelineStageFlags pipeline);
|
H A D | zink_context.c | 3119 zink_resource_image_needs_barrier(struct zink_resource *res, VkImageLayout new_layout, VkAccessFlags flags, VkPipelineStageFlags pipeline) in zink_resource_image_needs_barrier() argument 3122 pipeline = pipeline_dst_stage(new_layout); in zink_resource_image_needs_barrier() 3124 flags = access_dst_flags(new_layout); in zink_resource_image_needs_barrier() 3125 return res->layout != new_layout || (res->obj->access_stage & pipeline) != pipeline || in zink_resource_image_needs_barrier() 3132 zink_resource_image_barrier_init(VkImageMemoryBarrier *imb, struct zink_resource *res, VkImageLayout new_layout, VkAccessFlags flags, VkPipelineStageFlags pipeline) in zink_resource_image_barrier_init() argument 3135 pipeline = pipeline_dst_stage(new_layout); in zink_resource_image_barrier_init() 3137 flags = access_dst_flags(new_layout); in zink_resource_image_barrier_init() 3150 new_layout, in zink_resource_image_barrier_init() 3156 return res->obj->needs_zs_evaluate || zink_resource_image_needs_barrier(res, new_layout, flags, pipeline); in zink_resource_image_barrier_init() 3241 VkImageLayout new_layout, VkAccessFlag in zink_resource_image_barrier() 3240 zink_resource_image_barrier(struct zink_context *ctx, struct zink_resource *res, VkImageLayout new_layout, VkAccessFlags flags, VkPipelineStageFlags pipeline) zink_resource_image_barrier() argument [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_render_pass.c | 1222 VkImageLayout new_layout, in transition_image_range() 1241 new_layout != new_stencil_layout)) in transition_image_range() 1249 new_layout = new_stencil_layout; in transition_image_range() 1252 if (new_layout != old_layout) { in transition_image_range() 1260 dst_sa = stage_access_for_layout(new_layout, range.aspectMask); in transition_image_range() 1271 .newLayout = new_layout, in transition_image_range() 1219 transition_image_range(const struct vk_image_view *image_view, VkImageSubresourceRange range, VkImageLayout old_layout, VkImageLayout new_layout, VkImageLayout old_stencil_layout, VkImageLayout new_stencil_layout, const VkSampleLocationsInfoEXT *sample_locations, uint32_t *barrier_count, uint32_t max_barrier_count, VkImageMemoryBarrier2 *barriers) transition_image_range() argument
|
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext_vulkan.c | 1910 VkImageLayout new_layout; in prepare_frame() local 1940 new_layout = VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL; in prepare_frame() 1946 new_layout = VK_IMAGE_LAYOUT_GENERAL; in prepare_frame() 1957 new_layout = VK_IMAGE_LAYOUT_GENERAL; in prepare_frame() 1980 img_bar[i].newLayout = new_layout; in prepare_frame() 3733 VkImageLayout new_layout = to_buf ? VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL : in transfer_image_buf() local 3741 if ((frame->layout[i] == new_layout) && (frame->access[i] & new_access)) in transfer_image_buf() 3748 img_bar[bar_num].newLayout = new_layout; in transfer_image_buf()
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_cmd_buffer.c | 200 VkImageLayout new_layout, in dzn_cmd_buffer_queue_image_range_layout_transition() 211 dzn_image_layout_to_state(image, new_layout, aspect); in dzn_cmd_buffer_queue_image_range_layout_transition() 196 dzn_cmd_buffer_queue_image_range_layout_transition(struct dzn_cmd_buffer *cmdbuf, const struct dzn_image *image, const VkImageSubresourceRange *range, VkImageLayout old_layout, VkImageLayout new_layout, uint32_t flags) dzn_cmd_buffer_queue_image_range_layout_transition() argument
|
/third_party/rust/crates/memchr/bench/data/code/ |
H A D | rust-library.rs | 14179 new_layout: Layout, in grow_impl() 14183 new_layout.size() >= old_layout.size(), in grow_impl() 14184 "`new_layout.size()` must be greater than or equal to `old_layout.size()`" in grow_impl() 14188 0 => self.alloc_impl(new_layout, zeroed), in grow_impl() 14192 old_size if old_layout.align() == new_layout.align() => unsafe { in grow_impl() 14193 let new_size = new_layout.size(); in grow_impl() 14206 // SAFETY: because `new_layout.size()` must be greater than or equal to `old_size`, in grow_impl() 14212 let new_ptr = self.alloc_impl(new_layout, zeroed)?; in grow_impl() 14248 new_layout: Layout, in grow() 14251 unsafe { self.grow_impl(ptr, old_layout, new_layout, fals in grow() [all...] |