vkencoder-private: move out indent macros
Outside of the structures whenever is possible, given indent limitations. In this way the code has a better readability. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7974>
This commit is contained in:
parent
225d6b7e11
commit
af0e15e9be
@ -391,8 +391,8 @@ gst_vulkan_encoder_get_image_view_from_buffer (GstVulkanEncoder * self,
|
|||||||
|
|
||||||
vkmem = (GstVulkanImageMemory *) mem;
|
vkmem = (GstVulkanImageMemory *) mem;
|
||||||
|
|
||||||
view_create_info = (VkImageViewCreateInfo) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
view_create_info = (VkImageViewCreateInfo) {
|
||||||
.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
|
.sType = VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO,
|
||||||
.viewType = (dpb && priv->layered_dpb) ? VK_IMAGE_VIEW_TYPE_2D_ARRAY : VK_IMAGE_VIEW_TYPE_2D,
|
.viewType = (dpb && priv->layered_dpb) ? VK_IMAGE_VIEW_TYPE_2D_ARRAY : VK_IMAGE_VIEW_TYPE_2D,
|
||||||
.format = vkmem->create_info.format,
|
.format = vkmem->create_info.format,
|
||||||
@ -404,8 +404,8 @@ gst_vulkan_encoder_get_image_view_from_buffer (GstVulkanEncoder * self,
|
|||||||
.layerCount = 1,
|
.layerCount = 1,
|
||||||
.levelCount = 1,
|
.levelCount = 1,
|
||||||
},
|
},
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
return gst_vulkan_get_or_create_image_view_with_info (vkmem,
|
return gst_vulkan_get_or_create_image_view_with_info (vkmem,
|
||||||
&view_create_info);
|
&view_create_info);
|
||||||
@ -661,30 +661,28 @@ gst_vulkan_encoder_start (GstVulkanEncoder * self,
|
|||||||
|
|
||||||
priv->profile = *profile;
|
priv->profile = *profile;
|
||||||
|
|
||||||
priv->profile.usage.encode = (VkVideoEncodeUsageInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
priv->profile.usage.encode = (VkVideoEncodeUsageInfoKHR) {
|
||||||
.pNext = &priv->profile.codec,
|
.pNext = &priv->profile.codec,
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR,
|
||||||
.tuningMode = VK_VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHR,
|
.tuningMode = VK_VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHR,
|
||||||
.videoContentHints = VK_VIDEO_ENCODE_CONTENT_DEFAULT_KHR,
|
.videoContentHints = VK_VIDEO_ENCODE_CONTENT_DEFAULT_KHR,
|
||||||
.videoUsageHints = VK_VIDEO_ENCODE_USAGE_DEFAULT_KHR,
|
.videoUsageHints = VK_VIDEO_ENCODE_USAGE_DEFAULT_KHR,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
priv->profile.profile.pNext = &priv->profile.usage.encode;
|
priv->profile.profile.pNext = &priv->profile.usage.encode;
|
||||||
|
|
||||||
priv->enc_caps = (VkVideoEncodeCapabilitiesKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
priv->enc_caps = (VkVideoEncodeCapabilitiesKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR,
|
||||||
.pNext = &priv->caps.codec,
|
.pNext = &priv->caps.codec,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
priv->caps.caps = (VkVideoCapabilitiesKHR) {
|
priv->caps.caps = (VkVideoCapabilitiesKHR) {
|
||||||
/* *INDENT-OFF* */
|
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_CAPABILITIES_KHR,
|
||||||
.pNext = &priv->enc_caps,
|
.pNext = &priv->enc_caps,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
gpu = gst_vulkan_device_get_physical_device (self->queue->device);
|
gpu = gst_vulkan_device_get_physical_device (self->queue->device);
|
||||||
res = priv->vk.GetPhysicalDeviceVideoCapabilities (gpu,
|
res = priv->vk.GetPhysicalDeviceVideoCapabilities (gpu,
|
||||||
@ -772,8 +770,8 @@ gst_vulkan_encoder_start (GstVulkanEncoder * self,
|
|||||||
if (pic_format == VK_FORMAT_UNDEFINED)
|
if (pic_format == VK_FORMAT_UNDEFINED)
|
||||||
goto failed;
|
goto failed;
|
||||||
|
|
||||||
session_create = (VkVideoSessionCreateInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
session_create = (VkVideoSessionCreateInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_SESSION_CREATE_INFO_KHR,
|
||||||
.queueFamilyIndex = self->queue->family,
|
.queueFamilyIndex = self->queue->family,
|
||||||
.pVideoProfile = &profile->profile,
|
.pVideoProfile = &profile->profile,
|
||||||
@ -783,8 +781,8 @@ gst_vulkan_encoder_start (GstVulkanEncoder * self,
|
|||||||
.maxDpbSlots = priv->caps.caps.maxDpbSlots,
|
.maxDpbSlots = priv->caps.caps.maxDpbSlots,
|
||||||
.maxActiveReferencePictures = priv->caps.caps.maxActiveReferencePictures,
|
.maxActiveReferencePictures = priv->caps.caps.maxActiveReferencePictures,
|
||||||
.pStdHeaderVersion = &_vk_codec_extensions[codec_idx],
|
.pStdHeaderVersion = &_vk_codec_extensions[codec_idx],
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
if (!gst_vulkan_video_session_create (&priv->session, self->queue->device,
|
if (!gst_vulkan_video_session_create (&priv->session, self->queue->device,
|
||||||
&priv->vk, &session_create, error))
|
&priv->vk, &session_create, error))
|
||||||
@ -1078,45 +1076,40 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
|
|||||||
goto bail;
|
goto bail;
|
||||||
|
|
||||||
/* Prepare the encoding scope by flling the VkVideoBeginCodingInfoKHR structure */
|
/* Prepare the encoding scope by flling the VkVideoBeginCodingInfoKHR structure */
|
||||||
begin_coding = (VkVideoBeginCodingInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
begin_coding = (VkVideoBeginCodingInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_BEGIN_CODING_INFO_KHR,
|
||||||
.pNext = NULL,
|
.pNext = NULL,
|
||||||
.videoSession = priv->session.session->handle,
|
.videoSession = priv->session.session->handle,
|
||||||
.videoSessionParameters = priv->session_params->handle,
|
.videoSessionParameters = priv->session_params->handle,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
|
||||||
coding_ctrl = (VkVideoCodingControlInfoKHR) {
|
coding_ctrl = (VkVideoCodingControlInfoKHR) {
|
||||||
/* *INDENT-OFF* */
|
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_CODING_CONTROL_INFO_KHR,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
/* First run, some information such as rate_control and slot index must be initialized. */
|
/* First run, some information such as rate_control and slot index must be initialized. */
|
||||||
if (!priv->first_encode_cmd) {
|
if (!priv->first_encode_cmd) {
|
||||||
priv->current_slot_index = 0;
|
priv->current_slot_index = 0;
|
||||||
GST_OBJECT_LOCK (self);
|
GST_OBJECT_LOCK (self);
|
||||||
rate_control_layer = (VkVideoEncodeRateControlLayerInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
rate_control_layer = (VkVideoEncodeRateControlLayerInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR,
|
||||||
.pNext = pic->codec_rc_layer_info,
|
.pNext = pic->codec_rc_layer_info,
|
||||||
.averageBitrate = priv->prop.average_bitrate,
|
.averageBitrate = priv->prop.average_bitrate,
|
||||||
.maxBitrate = priv->enc_caps.maxBitrate,
|
.maxBitrate = priv->enc_caps.maxBitrate,
|
||||||
.frameRateNumerator = pic->fps_n,
|
.frameRateNumerator = pic->fps_n,
|
||||||
.frameRateDenominator = pic->fps_d,
|
.frameRateDenominator = pic->fps_d,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
priv->rate_control_info = (VkVideoEncodeRateControlInfoKHR) {
|
priv->rate_control_info = (VkVideoEncodeRateControlInfoKHR) {
|
||||||
/* *INDENT-OFF* */
|
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR,
|
||||||
.rateControlMode = priv->prop.rate_control,
|
.rateControlMode = priv->prop.rate_control,
|
||||||
.layerCount = 0,
|
.layerCount = 0,
|
||||||
.pLayers = NULL,
|
.pLayers = NULL,
|
||||||
.initialVirtualBufferSizeInMs = 0,
|
.initialVirtualBufferSizeInMs = 0,
|
||||||
.virtualBufferSizeInMs = 0,
|
.virtualBufferSizeInMs = 0,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
switch (priv->prop.rate_control) {
|
switch (priv->prop.rate_control) {
|
||||||
case VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR:
|
case VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR:
|
||||||
begin_coding.pNext = &priv->rate_control_info;
|
begin_coding.pNext = &priv->rate_control_info;
|
||||||
@ -1141,42 +1134,44 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
|
|||||||
pic->dpb_view =
|
pic->dpb_view =
|
||||||
gst_vulkan_encoder_get_image_view_from_buffer (self, pic->dpb_buffer,
|
gst_vulkan_encoder_get_image_view_from_buffer (self, pic->dpb_buffer,
|
||||||
TRUE);
|
TRUE);
|
||||||
pic->dpb = (VkVideoPictureResourceInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
pic->dpb = (VkVideoPictureResourceInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR,
|
||||||
.pNext = NULL,
|
.pNext = NULL,
|
||||||
.codedOffset = (VkOffset2D) {
|
.codedOffset = { 0, 0 },
|
||||||
0,
|
.codedExtent = {
|
||||||
0
|
.width = pic->width,
|
||||||
},
|
.height = pic->height
|
||||||
.codedExtent = (VkExtent2D) {
|
|
||||||
pic->width,
|
|
||||||
pic->height
|
|
||||||
},
|
},
|
||||||
.baseArrayLayer = 0,
|
.baseArrayLayer = 0,
|
||||||
.imageViewBinding = pic->dpb_view->view,
|
.imageViewBinding = pic->dpb_view->view,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
for (i = 0; i < pic->nb_refs; i++) {
|
for (i = 0; i < pic->nb_refs; i++) {
|
||||||
ref_slots[i] = (VkVideoReferenceSlotInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
ref_slots[i] = (VkVideoReferenceSlotInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR,
|
||||||
.pNext = ref_pics[i]->codec_dpb_slot_info,
|
.pNext = ref_pics[i]->codec_dpb_slot_info,
|
||||||
.slotIndex = ref_pics[i]->slotIndex,
|
.slotIndex = ref_pics[i]->slotIndex,
|
||||||
.pPictureResource = &ref_pics[i]->dpb,
|
.pPictureResource = &ref_pics[i]->dpb,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
ref_slot_num++;
|
ref_slot_num++;
|
||||||
}
|
}
|
||||||
ref_slots[ref_slot_num] = (VkVideoReferenceSlotInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
ref_slots[ref_slot_num] = (VkVideoReferenceSlotInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_REFERENCE_SLOT_INFO_KHR,
|
||||||
.pNext = pic->codec_dpb_slot_info,
|
.pNext = pic->codec_dpb_slot_info,
|
||||||
.slotIndex = pic->slotIndex,
|
.slotIndex = pic->slotIndex,
|
||||||
.pPictureResource = &pic->dpb,
|
.pPictureResource = &pic->dpb,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
ref_slot_num++;
|
ref_slot_num++;
|
||||||
|
|
||||||
/* Setup the begin coding structure using the reference slots */
|
/* Setup the begin coding structure using the reference slots */
|
||||||
begin_coding.referenceSlotCount = ref_slot_num;
|
begin_coding.referenceSlotCount = ref_slot_num;
|
||||||
begin_coding.pReferenceSlots = ref_slots;
|
begin_coding.pReferenceSlots = ref_slots;
|
||||||
@ -1197,12 +1192,12 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
|
|||||||
if (priv->prop.quality_level
|
if (priv->prop.quality_level
|
||||||
&& priv->prop.quality_level <= priv->enc_caps.maxQualityLevels) {
|
&& priv->prop.quality_level <= priv->enc_caps.maxQualityLevels) {
|
||||||
|
|
||||||
quality_level_info = (VkVideoEncodeQualityLevelInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
quality_level_info = (VkVideoEncodeQualityLevelInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR,
|
||||||
.qualityLevel = priv->prop.quality_level,
|
.qualityLevel = priv->prop.quality_level,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
coding_ctrl.pNext = &quality_level_info;
|
coding_ctrl.pNext = &quality_level_info;
|
||||||
coding_ctrl.flags = VK_VIDEO_CODING_CONTROL_ENCODE_QUALITY_LEVEL_BIT_KHR;
|
coding_ctrl.flags = VK_VIDEO_CODING_CONTROL_ENCODE_QUALITY_LEVEL_BIT_KHR;
|
||||||
@ -1256,8 +1251,8 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
|
|||||||
priv->current_slot_index = 0;
|
priv->current_slot_index = 0;
|
||||||
|
|
||||||
/* Setup the encode info */
|
/* Setup the encode info */
|
||||||
encode_info = (VkVideoEncodeInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
encode_info = (VkVideoEncodeInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR,
|
||||||
.pNext = pic->codec_pic_info,
|
.pNext = pic->codec_pic_info,
|
||||||
.flags = 0x0,
|
.flags = 0x0,
|
||||||
@ -1267,8 +1262,11 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
|
|||||||
.srcPictureResource = (VkVideoPictureResourceInfoKHR) { // SPEC: this should be separate
|
.srcPictureResource = (VkVideoPictureResourceInfoKHR) { // SPEC: this should be separate
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_PICTURE_RESOURCE_INFO_KHR,
|
||||||
.pNext = NULL,
|
.pNext = NULL,
|
||||||
.codedOffset = (VkOffset2D) {0, 0},
|
.codedOffset = { 0, 0 },
|
||||||
.codedExtent = (VkExtent2D){ pic->width, pic->height },
|
.codedExtent = {
|
||||||
|
.width = pic->width,
|
||||||
|
.height = pic->height
|
||||||
|
},
|
||||||
.baseArrayLayer = 0,
|
.baseArrayLayer = 0,
|
||||||
.imageViewBinding = pic->img_view->view,
|
.imageViewBinding = pic->img_view->view,
|
||||||
},
|
},
|
||||||
@ -1276,8 +1274,8 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
|
|||||||
.referenceSlotCount = pic->nb_refs,
|
.referenceSlotCount = pic->nb_refs,
|
||||||
.pReferenceSlots = pic->nb_refs ? ref_slots : NULL,
|
.pReferenceSlots = pic->nb_refs ? ref_slots : NULL,
|
||||||
.precedingExternallyEncodedBytes = 0,
|
.precedingExternallyEncodedBytes = 0,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
gst_vulkan_operation_add_dependency_frame (priv->exec, pic->in_buffer,
|
gst_vulkan_operation_add_dependency_frame (priv->exec, pic->in_buffer,
|
||||||
VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT,
|
VK_PIPELINE_STAGE_2_ALL_COMMANDS_BIT,
|
||||||
@ -1299,26 +1297,26 @@ gst_vulkan_encoder_encode (GstVulkanEncoder * self,
|
|||||||
|
|
||||||
barriers = gst_vulkan_operation_retrieve_image_barriers (priv->exec);
|
barriers = gst_vulkan_operation_retrieve_image_barriers (priv->exec);
|
||||||
|
|
||||||
vkCmdPipelineBarrier2 (cmd_buf->cmd, &(VkDependencyInfo) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
vkCmdPipelineBarrier2 (cmd_buf->cmd, &(VkDependencyInfo) {
|
||||||
.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO,
|
.sType = VK_STRUCTURE_TYPE_DEPENDENCY_INFO,
|
||||||
.dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT,
|
.dependencyFlags = VK_DEPENDENCY_BY_REGION_BIT,
|
||||||
.pImageMemoryBarriers = (VkImageMemoryBarrier2 *) barriers->data,
|
.pImageMemoryBarriers = (VkImageMemoryBarrier2 *) barriers->data,
|
||||||
.imageMemoryBarrierCount = barriers->len,
|
.imageMemoryBarrierCount = barriers->len,
|
||||||
/* *INDENT-ON* */
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
/* *INDENT-ON* */
|
||||||
g_array_unref (barriers);
|
g_array_unref (barriers);
|
||||||
|
|
||||||
gst_vulkan_operation_begin_query (priv->exec, 0);
|
gst_vulkan_operation_begin_query (priv->exec, 0);
|
||||||
priv->vk.CmdEncodeVideo (cmd_buf->cmd, &encode_info);
|
priv->vk.CmdEncodeVideo (cmd_buf->cmd, &encode_info);
|
||||||
gst_vulkan_operation_end_query (priv->exec, 0);
|
gst_vulkan_operation_end_query (priv->exec, 0);
|
||||||
|
|
||||||
end_coding = (VkVideoEndCodingInfoKHR) {
|
|
||||||
/* *INDENT-OFF* */
|
/* *INDENT-OFF* */
|
||||||
|
end_coding = (VkVideoEndCodingInfoKHR) {
|
||||||
.sType = VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR,
|
.sType = VK_STRUCTURE_TYPE_VIDEO_END_CODING_INFO_KHR,
|
||||||
/* *INDENT-ON* */
|
|
||||||
};
|
};
|
||||||
|
/* *INDENT-ON* */
|
||||||
|
|
||||||
/* 41.5 4. vkCmdEndVideoCodingKHR signals the end of the recording of the
|
/* 41.5 4. vkCmdEndVideoCodingKHR signals the end of the recording of the
|
||||||
* Vulkan Video Context, as established by vkCmdBeginVideoCodingKHR. */
|
* Vulkan Video Context, as established by vkCmdBeginVideoCodingKHR. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user