[FFmpeg-devel] [PATCH 1/2] avformat/aeadec, avcodec/atrac1: Fix 8 and 4-channel ATRAC1 support

2024-07-03 Thread asivery via ffmpeg-devel
hannels > 8) { av_log(s, AV_LOG_ERROR, "Channels %d not supported!\n", channels); return AVERROR_INVALIDDATA; } -- 2.45.2 _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/

[FFmpeg-devel] [PATCH 2/2] fate/atrac1: add test for 4-track file

2024-07-03 Thread asivery via ffmpeg-devel
) FATE_ATRAC3 += fate-atrac3-1 -- 2.45.2 ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 1/2] avformat/aeadec, avcodec/atrac1: Fix 8 and 4-channel ATRAC1 support

2024-07-03 Thread asivery via ffmpeg-devel
dt wrote: > asivery via ffmpeg-devel: > > > I'm sending the patch again, so that it is correctly rebased on the current > > master. > > Here are the two sample files required by the FATE test: > > https://0x0.st/Xaw2.aea/boxboy333_house_mus

[FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: add a new mechanism to expose used queue families

2024-07-08 Thread Lynne via ffmpeg-devel
queue_family_(tx/comp/encode/decode)_index) must also be included in + * this list until they're removed after deprecation. + */ +AVVulkanDeviceQueueFamily qf[16]; +int nb_qf; } AVVulkanDeviceContext; /** -- 2.45.1.288.g0e0cd299f1 _________

[FFmpeg-devel] [PATCH 2/2] vulkan: use the new queue family mechanism

2024-07-08 Thread Lynne via ffmpeg-devel
(qf->queue_family = vk_qf_get_index(s, dev_family, &qf->nb_queues)); diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h index 15d954fcb8..bedadedde6 100644 --- a/libavutil/vulkan.h +++ b/libavutil/vulkan.h @@ -257,7 +257,7 @@ typedef struct FFVulkanContext { AVHWFramesContext *frames; A

[FFmpeg-devel] [PATCH v2 1/2] hwcontext_vulkan: add a new mechanism to expose used queue families

2024-07-09 Thread Lynne via ffmpeg-devel
* duplicates. + * + * For compatibility reasons, all the enabled queue families listed above + * (queue_family_(tx/comp/encode/decode)_index) must also be included in + * this list until they're removed after deprecation. + */ + AVVulkanDeviceQueueFamily qf[16]; +int nb_qf;

[FFmpeg-devel] [PATCH v2 2/2] vulkan: use the new queue family mechanism

2024-07-09 Thread Lynne via ffmpeg-devel
(qf->queue_family = vk_qf_get_index(s, dev_family, &qf->nb_queues)); diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h index 15d954fcb8..bedadedde6 100644 --- a/libavutil/vulkan.h +++ b/libavutil/vulkan.h @@ -257,7 +257,7 @@ typedef struct FFVulkanContext { AVHWFramesContext *frames; A

Re: [FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: add a new mechanism to expose used queue families

2024-07-09 Thread Lynne via ffmpeg-devel
On 09/07/2024 08:57, Anton Khirnov wrote: Quoting Lynne via ffmpeg-devel (2024-07-09 03:07:12) @@ -151,6 +162,17 @@ typedef struct AVVulkanDeviceContext { * Similar to lock_queue(), unlocks a queue. Must only be called after locking. */ void (*unlock_queue)(struct

[FFmpeg-devel] [PATCH v3 1/2] hwcontext_vulkan: add a new mechanism to expose used queue families

2024-07-09 Thread Lynne via ffmpeg-devel
ates. + * + * For compatibility reasons, all the enabled queue families listed above + * (queue_family_(tx/comp/encode/decode)_index) must also be included in + * this list until they're removed after deprecation. + */ +AVVulkanDeviceQueueFamily qf[16]; +int nb_qf; } A

Re: [FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: add a new mechanism to expose used queue families

2024-07-12 Thread Lynne via ffmpeg-devel
On 10/07/2024 10:18, Anton Khirnov wrote: Quoting Lynne via ffmpeg-devel (2024-07-10 01:56:57) On 09/07/2024 08:57, Anton Khirnov wrote: Quoting Lynne via ffmpeg-devel (2024-07-09 03:07:12) @@ -151,6 +162,17 @@ typedef struct AVVulkanDeviceContext { * Similar to lock_queue(), unlocks

[FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present

2024-07-14 Thread patches via ffmpeg-devel
, NULL, &device_list); -if (ret < S_OK) +if (ret < S_OK && ret != AVERROR(EIO)) goto error; ret = dshow_cycle_devices(avctx, devenum, AudioDevice, AudioSourceDevice, NULL, NULL, &device_list); -- 2.43.0 ______

[FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: rewrite queue picking system for the new API

2024-07-16 Thread Lynne via ffmpeg-devel
\ +nb_field = hwctx->qf[i].num; \ +} \ +} while (0) -av_free(qf); +for (uint32_t i = 0; i < hwctx->nb_qf; i++) { + SET_OLD_QF(hwctx->queue_family_index, hwctx->nb_graphics_queues, VK_QUEUE_GRAPHICS_B

[FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: initialize optical flow queues if available

2024-07-16 Thread Lynne via ffmpeg-devel
___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present

2024-07-17 Thread patches via ffmpeg-devel
-Original Message- From: ffmpeg-devel On Behalf Of Roger Pack Sent: Wednesday, July 17, 2024 3:03 AM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present > LGTM I also need thi

[FFmpeg-devel] [PATCH] vulkan_video: remove NIH pooled buffer implementation

2024-07-18 Thread Lynne via ffmpeg-devel
t32_t nb_mem; - -AVBufferPool *buf_pool; } FFVkVideoCommon; /** @@ -63,11 +61,6 @@ VkVideoComponentBitDepthFlagBitsKHR ff_vk_depth_from_av_depth(int depth); int ff_vk_h264_level_to_av(StdVideoH264LevelIdc level); int ff_vk_h265_level_to_av(StdVideoH265LevelIdc level); -typedef str

[FFmpeg-devel] [PATCH] hwcontext_vulkan: rewrite upload/download

2024-07-19 Thread Lynne via ffmpeg-devel
+if (err < 0) { +ff_vk_exec_discard_deps(&p->vkctx, exec); +} else if (!upload) { + ff_vk_exec_wait(&p->vkctx, exec); +if (!host_mapped) + err = copy_buffer_data(hwfc, bufs[0], swf, region, planes, 0); } end: -for (int i = 0;

Re: [FFmpeg-devel] [PATCH 1/2] lavc/hw_base_encode: correct the timestamp when input_order = decode_delay

2024-07-20 Thread Lynne via ffmpeg-devel
On 19/07/2024 15:45, Tong Wu wrote: From: Tong Wu Sent: 2024年7月8日 23:13 To: [email protected] Cc: Tong Wu Subject: [FFmpeg-devel][PATCH 1/2] lavc/hw_base_encode: correct the timestamp when input_order = decode_delay Fixed the command line: ffmpeg -hwaccel vaapi -pix_fmt nv12 -s:v

Re: [FFmpeg-devel] [PATCH v5 00/10] aacdec: add a native xHE-AAC decoder

2024-07-20 Thread Lynne via ffmpeg-devel
On 20/07/2024 01:42, Michael Niedermayer wrote: On Thu, May 30, 2024 at 04:37:08AM +0200, Lynne via ffmpeg-devel wrote: This commit adds a decoder for the frequency-domain part of USAC. Changes over version 4: - Actually reset entropy decoding upon configuration. - Support for LFE channels

[FFmpeg-devel] [PATCH] avutil/hwcontext_videotoolbox: Check CVBufferCopyAttachments during configure

2024-07-21 Thread gnattu via ffmpeg-devel
headers CoreVideo/CVImageBuffer.h kCVImageBufferTransferFunction_SMPTE_ST_428_1 "-framework CoreVideo" +check_func_headers CoreVideo/CVBuffer.h CVBufferCopyAttachments "-framework CoreVideo" } enabled metal && test_cmd $metalcc -v || disable metal -- 2.39.3 (Apple Git-146) ___

[FFmpeg-devel] [PATCH v2] avutil/hwcontext_videotoolbox: Check CVBufferCopyAttachments during configure

2024-07-21 Thread gnattu via ffmpeg-devel
if (tmp) +attachments = CFDictionaryCreateCopy(NULL, tmp); #endif if (attachments) { colorspace = CVImageBufferCreateColorSpaceFromAttachments(attachments); -- 2.39.3 (Apple Git-146) ___ ffmpeg-devel mailing list ffmpeg

Re: [FFmpeg-devel] [PATCH 2/4 v2] libavcodec/h2645_sei: export raw LCEVC metadata

2024-07-21 Thread Lynne via ffmpeg-devel
#endif /* AVCODEC_ITUT35_H */ OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] aacdec: set ac->output_elements upon channel element free

2024-07-21 Thread Lynne via ffmpeg-devel
->output_element, 0, sizeof(ac->output_element)); } return 0; } -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg

Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present

2024-07-21 Thread patches via ffmpeg-devel
Good morning, can someone merge this little fix? Best Jens -Original Message- From: ffmpeg-devel On Behalf Of Roger Pack Sent: Wednesday, July 17, 2024 3:03 AM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio de

Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present

2024-07-23 Thread patches via ffmpeg-devel
-Original Message- From: Roger Pack Sent: Monday, July 22, 2024 5:52 PM To: patches Cc: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present On Wed, Jul 17, 2024 at 1:43 AM pa

Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present

2024-07-23 Thread patches via ffmpeg-devel
-Original Message- From: Roger Pack Sent: Monday, July 22, 2024 5:52 PM To: patches Cc: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present On Wed, Jul 17, 2024 at 1:43 AM pa

Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present

2024-07-24 Thread patches via ffmpeg-devel
-Original Message- From: Michael Niedermayer Sent: Tuesday, July 23, 2024 10:22 PM To: FFmpeg development discussions and patches Cc: patches Subject: Re: [FFmpeg-devel] [PATCH] avdevice/dshow: Don't skip audio devices if no video device is present On Tue, Jul 23, 2024 at

[FFmpeg-devel] [PATCH] lavu/tx: stop using av_log(NULL, )

2024-07-25 Thread Lynne via ffmpeg-devel
OG_DEBUG, "Transform tree:\n"); +av_log((void *)&tx_class, AV_LOG_DEBUG, "Transform tree:\n"); print_tx_structure(*ctx, 0); #endif -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH] lavu/tx: stop using av_log(NULL, )

2024-07-26 Thread Lynne via ffmpeg-devel
On 26/07/2024 10:22, Andreas Rheinhardt wrote: Lynne via ffmpeg-devel: Its not feasible to add an AVClass in the main context, as it would waste space, as the main context is recursive, and every bit of assembly would need to be changed. While its true that on paper av_log has access to the

Re: [FFmpeg-devel] [PATCH] lavu/tx: stop using av_log(NULL, )

2024-07-26 Thread Lynne via ffmpeg-devel
On 26/07/2024 09:47, Anton Khirnov wrote: Quoting Lynne via ffmpeg-devel (2024-07-26 08:42:11) Its not feasible to add an AVClass in the main context, as it would waste space, as the main context is recursive, and every bit of assembly would need to be changed. While its true that on paper

Re: [FFmpeg-devel] [PATCH] lavu/tx: stop using av_log(NULL, )

2024-07-26 Thread Lynne via ffmpeg-devel
On 26/07/2024 11:03, Andreas Rheinhardt wrote: Lynne via ffmpeg-devel: On 26/07/2024 10:22, Andreas Rheinhardt wrote: Lynne via ffmpeg-devel: Its not feasible to add an AVClass in the main context, as it would waste space, as the main context is recursive, and every bit of assembly would need

Re: [FFmpeg-devel] [PATCH 2/2] lavc/d3d12va_encode: trim header alignment at output

2024-07-28 Thread Lynne via ffmpeg-devel
On 28/07/2024 15:06, Tong Wu wrote: Tong Wu: Subject: [FFmpeg-devel][PATCH 2/2] lavc/d3d12va_encode: trim header alignment at output It is d3d12va's requirement that the FrameStartOffset must be aligned as per hardware limitation. However, we could trim this alignment at output to reduce

Re: [FFmpeg-devel] [PATCH] avcodec/aacps_tablegen_template: don't redefine CONFIG_HARDCODED_TABLES

2024-08-01 Thread Lynne via ffmpeg-devel
#include "aac_defines.h" Sure, LGTM OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mai

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/aac/aacdec_usac: Clean ics2->max_sfb when first SCE fails

2024-08-01 Thread Lynne via ffmpeg-devel
penPGP_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avutil/hwcontext_videotoolbox: Allocate attachments dictionary

2024-08-01 Thread gnattu via ffmpeg-devel
g kCVImageBufferCGColorSpaceKey is removed // if the above code is not used or fails. -- 2.39.3 (Apple Git-146) ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above,

[FFmpeg-devel] [PATCH] avutil/hwcontext_videotoolbox: Correctly set trc

2024-08-01 Thread gnattu via ffmpeg-devel
Key); if (src->color_trc != AVCOL_TRC_UNSPECIFIED) -- 2.39.3 (Apple Git-146) ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmp

Re: [FFmpeg-devel] [PATCH v2 1/8] avutil/hwcontext: Add hwdevice type for V4L2 Request API

2024-08-06 Thread Lynne via ffmpeg-devel
+ +#ifndef AVUTIL_HWCONTEXT_V4L2REQUEST_H +#define AVUTIL_HWCONTEXT_V4L2REQUEST_H + +/** + * @file + * An API-specific header for AV_HWDEVICE_TYPE_V4L2REQUEST. + */ + +/** + * V4L2 Request API device details. + * + * Allocated as AVHWDeviceContext.hwctx + */ +typedef struct AVV4L2RequestDevi

[FFmpeg-devel] [PATCH 01/13] hwcontext_vulkan: add a new mechanism to expose used queue families

2024-08-07 Thread Lynne via ffmpeg-devel
ates. + * + * For compatibility reasons, all the enabled queue families listed above + * (queue_family_(tx/comp/encode/decode)_index) must also be included in + * this list until they're removed after deprecation. + */ +AVVulkanDeviceQueueFamily qf[32]; +int nb_q

[FFmpeg-devel] [PATCH 02/13] vulkan: use the new queue family mechanism

2024-08-07 Thread Lynne via ffmpeg-devel
(qf->queue_family = vk_qf_get_index(s, dev_family, &qf->nb_queues)); diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h index 81898841ad..eaefc954ed 100644 --- a/libavutil/vulkan.h +++ b/libavutil/vulkan.h @@ -258,7 +258,7 @@ typedef struct FFVulkanContext { AVHWFramesContext *frames;

[FFmpeg-devel] [PATCH 03/13] hwcontext_vulkan: rewrite queue picking system for the new API

2024-08-07 Thread Lynne via ffmpeg-devel
\ +nb_field = hwctx->qf[i].num; \ +} \ +} while (0) -av_free(qf); +for (uint32_t i = 0; i < hwctx->nb_qf; i++) { + SET_OLD_QF(hwctx->queue_family_index, hwctx->nb_graphics_queues, VK_QUEUE_GRAPHICS_B

[FFmpeg-devel] [PATCH 04/13] hwcontext_vulkan: initialize optical flow queues if available

2024-08-07 Thread Lynne via ffmpeg-devel
RIX}, +{ VK_NV_OPTICAL_FLOW_EXTENSION_NAME, FF_VK_EXT_OPTICAL_FLOW }, #ifdef _WIN32 { VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME, FF_VK_EXT_EXTERNAL_WIN32_MEMORY }, { VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME, FF_VK_EXT_EXTERNAL_WIN32_SEM }, -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 05/13] vulkan_video: remove NIH pooled buffer implementation

2024-08-07 Thread Lynne via ffmpeg-devel
H264LevelIdc level); int ff_vk_h265_level_to_av(StdVideoH265LevelIdc level); -typedef struct FFVkVideoBuffer { -FFVkBuffer buf; -uint8_t *mem; -} FFVkVideoBuffer; - -/** - * Get a mapped FFVkPooledBuffer with a specific guaranteed minimum size - * from a pool. - */ -int ff_vk_video_get_buffer

[FFmpeg-devel] [PATCH 06/13] hwcontext_vulkan: remove unused struct

2024-08-07 Thread Lynne via ffmpeg-devel
; -} VulkanQueueCtx; - typedef struct VulkanDevicePriv { /** * The public AVVulkanDeviceContext. See hwcontext_vulkan.h for it. -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo

[FFmpeg-devel] [PATCH 07/13] hwcontext_vulkan: rewrite upload/download

2024-08-07 Thread Lynne via ffmpeg-devel
RROR(ENOSYS); else -return vulkan_transfer_data(hwfc, dst, src, 0); +return vulkan_transfer_frame(hwfc, (AVFrame *)src, dst, 1); } } @@ -3833,7 +3990,7 @@ static int vulkan_transfer_data_from(AVHWFramesContext *hwfc, AVFrame *dst, if (dst->hw_frames_ctx)

[FFmpeg-devel] [PATCH 08/13] hwcontext_vulkan: constify validation layer features table

2024-08-07 Thread Lynne via ffmpeg-devel
___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 10/13] hwcontext_vulkan: enable storageBuffer16BitAccess if available

2024-08-07 Thread Lynne via ffmpeg-devel
ufferDeviceAddress; -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 09/13] vulkan_shaderc: fix error reporting for certain errors

2024-08-07 Thread Lynne via ffmpeg-devel
45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 11/13] vulkan_shaderc: add debug information to shaders

2024-08-07 Thread Lynne via ffmpeg-devel
); +shaderc_compile_options_set_generate_debug_info(opts); shaderc_compile_options_set_optimization_level(opts, shaderc_optimization_level_performance); -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list ffmpeg

[FFmpeg-devel] [PATCH 12/13] hwcontext_vulkan: add support for VK_EXT_shader_object

2024-08-07 Thread Lynne via ffmpeg-devel
XT_SHADER_OBJECT }, #ifdef _WIN32 { VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME, FF_VK_EXT_EXTERNAL_WIN32_MEMORY }, { VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME, FF_VK_EXT_EXTERNAL_WIN32_SEM }, -- 2.45.2.753.g447d99e1c3b ___

[FFmpeg-devel] [PATCH 13/13] vulkan: use allocator callback for buffer creation

2024-08-07 Thread Lynne via ffmpeg-devel
s->hwctx->alloc, &buf->buf); if (ret != VK_SUCCESS) { av_log(s, AV_LOG_ERROR, "Failed to create buffer: %s\n", ff_vk_ret2str(ret)); -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list ffmpeg-deve

[FFmpeg-devel] [PATCH] hwcontext_vulkan: add support for Vulkan encoding

2024-08-07 Thread Lynne via ffmpeg-devel
}, { VK_KHR_VIDEO_DECODE_AV1_EXTENSION_NAME, FF_VK_EXT_VIDEO_DECODE_AV1 }, }; -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] vulkan: add support for encode feedback queries

2024-08-09 Thread Lynne via ffmpeg-devel
f); if (ret != VK_SUCCESS) return ret; -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avcodec/videotoolboxenc: always release supported_props

2024-08-09 Thread gnattu via ffmpeg-devel
ops); +vtctx->supported_props = NULL; +} } vtctx->frame_ct_out = 0; -- 2.39.3 (Apple Git-146) ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link abo

[FFmpeg-devel] [PATCH] avutil/hwcontext_videotoolbox: silence warning for RGB

2024-08-09 Thread gnattu via ffmpeg-devel
x, AV_LOG_WARNING, "Color space %s is not supported.\n", av_color_space_name(src->colorspace)); -- 2.39.3 (Apple Git-146) ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-dev

[FFmpeg-devel] [PATCH] libavutil: deprecate the old Vulkan queue API, bump minor and add APIchanges

2024-08-10 Thread Lynne via ffmpeg-devel
ISCV_FD_ZBA (LIBAVUTIL_VERSION_MAJOR < 60) +#define FF_API_VULKAN_FIXED_QUEUES (LIBAVUTIL_VERSION_MAJOR < 60) /** * @} -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/lis

Re: [FFmpeg-devel] [PATCH 2/7] checkasm: improve print format

2024-08-13 Thread Lynne via ffmpeg-devel
out of the system, but only the cycles are of interest. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH] vulkan: remove AVClass * from the context, use a logging pointer

2024-08-13 Thread Lynne via ffmpeg-devel
pipeline_layout); av_free(desc_layouts); if (ret != VK_SUCCESS) { -av_log(s, AV_LOG_ERROR, "Unable to init pipeline layout: %s\n", +av_log(s->log, AV_LOG_ERROR, "Unable to init pipeline layout: %s\n", ff_vk_ret2str(ret)); return A

[FFmpeg-devel] [PATCH 1/4] vulkan_decode: use the correct queue family for decoding ops

2024-08-14 Thread Lynne via ffmpeg-devel
Pictures = ctx->caps.maxActiveReferencePictures; -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 2/4] hwcontext_vulkan: fix user layers, add support for different debug modes

2024-08-14 Thread Lynne via ffmpeg-devel
goto fail; } -if (debug_mode) { +/* Setup debugging callback if needed */ + if ((debug_mode == FF_VULKAN_DEBUG_VALIDATE) || +(debug_mode == FF_VULKAN_DEBUG_PRINTF) || +(debug_mode == FF_VULKAN_DEBUG_PRACTICES)) { VkDebugUtilsMessengerCreateInfoEXT dbg = { .sType = VK_STRUCTURE_TYPE_DEBUG_UTILS_MESSENGER_CREATE_INFO_EXT, .messageSeverity = VK_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT | -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 3/4] hwcontext_vulkan: don't enable deprecated VK_KHR_sampler_ycbcr_conversion extension

2024-08-14 Thread Lynne via ffmpeg-devel
, }, { VK_EXT_PHYSICAL_DEVICE_DRM_EXTENSION_NAME, FF_VK_EXT_DEVICE_DRM }, { VK_EXT_SHADER_ATOMIC_FLOAT_EXTENSION_NAME, FF_VK_EXT_ATOMIC_FLOAT }, -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected]

[FFmpeg-devel] [PATCH 4/4] hwcontext_vulkan: setup extensions before features

2024-08-14 Thread Lynne via ffmpeg-devel
= &hwctx->device_features; + +/* Setup enabled queue families */ +if ((err = setup_queue_families(ctx, &dev_info))) + goto end; + ret = vk->CreateDevice(hwctx->phys_dev, &dev_info, hwctx->alloc, &hwctx->act_dev); -- 2

Re: [FFmpeg-devel] [RFC] 7.1 Release

2024-08-14 Thread Lynne via ffmpeg-devel
preferrances of the general/approximate release date? thx ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject

[FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: enable VK_KHR_video_maintenance1

2024-08-14 Thread Lynne via ffmpeg-devel
NCODE_QUEUE = 1ULL << 28, /* VK_KHR_video_encode_queue */ FF_VK_EXT_VIDEO_ENCODE_H264 = 1ULL << 29, /* VK_KHR_video_encode_h264 */ FF_VK_EXT_VIDEO_ENCODE_H265 = 1ULL << 30, /* VK_KHR_video_encode_h265 */ -- 2.45.2.753.g447d99e1c3b ______

[FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: enable encoding of images if video_maintenance1 is enabled

2024-08-14 Thread Lynne via ffmpeg-devel
amp; VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR) && +!(ff_vk_find_struct(hwctx->create_pnext, VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR)) && +p->video_maint_1_features.videoMaintenance1) +hwctx->img_flags |= VK_IMAGE_CREATE_VIDEO_PROFILE_INDEPENDENT_B

Re: [FFmpeg-devel] [PATCH] vulkan: remove AVClass * from the context, use a logging pointer

2024-08-15 Thread Lynne via ffmpeg-devel
On 14/08/2024 12:18, Andreas Rheinhardt wrote: Lynne via ffmpeg-devel: The issue is that VulkanContext mostly always used the AVClass * from its structure, which we don't set in decode. --- libavcodec/vulkan_decode.c| 2 ++ libavfilter/vf_avgblur_vulkan.c | 2 ++ libavf

[FFmpeg-devel] [PATCH] avfilter: inherit input color range for videotoolbox filters

2024-08-15 Thread gnattu via ffmpeg-devel
t_frames->sw_format = s->input_frames->sw_format; output_frames->width = ctx->inputs[0]->w; output_frames->height= ctx->inputs[0]->h; +((AVVTFramesContext *)output_frames->hwctx)->color_range = ((AVVTFramesContext *)input_frames->hwctx)->color_rang

[FFmpeg-devel] [PATCH] hw_base_encode: refactor picture allocation/freeing

2024-08-17 Thread Lynne via ffmpeg-devel
iv; VAEncPictureParameterBufferVP9 *vpic = vaapi_pic->codec_picture_params; int i; int num_tile_columns; @@ -106,7 +106,7 @@ static int vaapi_encode_vp9_init_picture_params(AVCodecContext *avctx, case FF_HW_PICTURE_TYPE_P: av_assert0(!pic->nb_refs[1]); {

[FFmpeg-devel] [PATCH] src/index/news: drop redundant sentence

2024-08-18 Thread Lynne via ffmpeg-devel
May 13th, 2024, Sovereign Tech Fund -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with su

Re: [FFmpeg-devel] [PATCH] hw_base_encode: refactor picture allocation/freeing

2024-08-19 Thread Lynne via ffmpeg-devel
ax_b_depth > 0) { @@ -124,8 +124,8 @@ static int vaapi_encode_vp9_init_picture_params(AVCodecContext *avctx, case FF_HW_PICTURE_TYPE_B: av_assert0(pic->nb_refs[0] && pic->nb_refs[1]); { -VAAPIEncodeVP9Picture *href0 = pic->refs[0][0]->priv_data, - *href1 = pic->refs[1][0]->priv_data; +VAAPIEncodeVP9Picture *href0 = pic->refs[0][0]->codec_priv, + *href1 = pic->refs[1][0]->codec_priv; av_assert0(href0->slot < pic->b_depth + 1 && href1->slot < pic->b_depth + 1); @@ -163,7 +163,7 @@ static int vaapi_encode_vp9_init_picture_params(AVCodecContext *avctx, for (int j = 0; j < pic->nb_refs[i]; j++) { FFHWBaseEncodePicture *ref_pic = pic->refs[i][j]; int slot; -slot = ((VAAPIEncodeVP9Picture*)ref_pic->priv_data)->slot; +slot = ((VAAPIEncodeVP9Picture*)ref_pic->codec_priv)->slot; av_assert0(vpic->reference_frames[slot] == VA_INVALID_SURFACE); vpic->reference_frames[slot] = ((VAAPIEncodePicture *)ref_pic)- recon_surface; } -- 2.45.2.753.g447d99e1c3b Thanks for the refactor. It looks like an untested patch which still has some compile errors. Anyways I could help test and verify when everything's ready. Best Regards, Tong I sent the correct patch to IRC for someone to test, but there was no response. I've replied with V2. Verified that VAAPI works, but I have no Windows system. Could you test, and if any fixes are required, make them? OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH v2] hw_base_encode: refactor picture allocation/freeing

2024-08-19 Thread Lynne via ffmpeg-devel
WBaseEncodePicture *pic) { FFHWBaseEncodeContext *base_ctx = avctx->priv_data; VAAPIEncodeVP9Context *priv = avctx->priv_data; -const FFHWBaseEncodePicture *pic = &vaapi_pic->base; -VAAPIEncodeVP9Picture *hpic = pic->priv_data; +VAAPIEn

Re: [FFmpeg-devel] [PATCH 2/7] checkasm: improve print format

2024-08-19 Thread Lynne via ffmpeg-devel
On 16/08/2024 12:48, J. Dekker wrote: Lynne via ffmpeg-devel writes: On 13/08/2024 16:03, J. Dekker wrote: Port dav1d's checkasm output format to FFmpeg's checkasm, includes relative speedups and aligns results. Signed-off-by: J. Dekker --- tests/checkasm/check

Re: [FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding

2024-08-20 Thread Lynne via ffmpeg-devel
gital signature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [FEATURE] Cut a video (-ss) with timings non-aligned on keyframes, with minimal re-encoding

2024-08-20 Thread Lynne via ffmpeg-devel
On 20/08/2024 22:33, Michael Niedermayer wrote: On Tue, Aug 20, 2024 at 02:36:53PM +0200, Lynne via ffmpeg-devel wrote: On 20/08/2024 14:13, [email protected] wrote: More generally, which is the recommanded way to cut a video with a specific starting point and specific length, with minimal re

Re: [FFmpeg-devel] [PATCH] lavc/opus*: move to opus/ subdir

2024-08-29 Thread Lynne via ffmpeg-devel
9%) rename libavcodec/{opustab.h => opus/tab.h} (98%) Sure. LGTM. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 05/10] vulkan_video: add utilities for H264 level/profile mapping

2024-08-31 Thread Lynne via ffmpeg-devel
StdVideoH264ProfileIdc profile); + /** * Initialize video session, allocating and binding necessary memory. */ -- 2.45.2.753.g447d99e1c3b ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscri

[FFmpeg-devel] [PATCH v2] hw_base_encode: move VAAPI SPS/PPS constructors to a shared file

2024-09-01 Thread Lynne via ffmpeg-devel
&priv->units, &unit_opts); + if (err < 0) + return err; *vseq = (VAEncSequenceParameterBufferH264) { .seq_parameter_set_id = sps->seq_parameter_set_id, @@ -660,7 +444,7 @@ static int vaapi_encode_h264_init_picture_params(AVCodecContext *avctx, } } hpic->pic_order_cnt = pic->display_order - hpic->last_idr_frame; -if (priv->raw_sps.pic_order_cnt_type == 2) { +if (priv->units.raw_sps.pic_order_cnt_type == 2) { hpic->pic_order_cnt *= 2; } @@ -870,8 +654,8 @@ static int vaapi_encode_h264_init_slice_params(AVCodecContext *avctx, VAAPIEncodePicture *vaapi_pic = pic->priv; VAAPIEncodeH264Picture *hpic = pic->codec_priv; FFHWBaseEncodePicture *prev = pic->prev; -H264RawSPS *sps = &priv->raw_sps; -H264RawPPS *pps = &priv->raw_pps; +H264RawSPS *sps = &priv->units.raw_sps; +H264RawPPS *pps = &priv->units.raw_pps; H264RawSliceHeader*sh = &priv->raw_slice.header; VAEncPictureParameterBufferH264 *vpic = vaapi_pic->codec_picture_params; VAEncSliceParameterBufferH264 *vslice = slice->codec_slice_params; @@ -923,7 +707,7 @@ static int vaapi_encode_h264_init_slice_params(AVCodecContext *avctx, ++keep; } } -av_assert0(keep <= priv->dpb_frames); +av_assert0(keep <= priv->units.dpb_frames); if (discard == 0) { sh->adaptive_ref_pic_marking_mode_flag = 0; -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 03/10] hw_base_encode: allocate DPB image upfront

2024-08-31 Thread Lynne via ffmpeg-devel
OMEM); -goto fail; -} pic->recon_surface = (VASurfaceID)(uintptr_t)base_pic->recon_image->data[3]; av_log(avctx, AV_LOG_DEBUG, "Recon surface is %#x.\n", pic->recon_surface); -- 2.45.2.753.g447d99e1c3b _______ ffmpeg

[FFmpeg-devel] [PATCH v2 1/2] vulkan: add a ff_vk_init function

2024-08-31 Thread Lynne via ffmpeg-devel
vk_init(FFVulkanContext *s, void *log_parent, + AVBufferRef *device_ref, AVBufferRef *frames_ref); + /** * Converts Vulkan return values to strings */ -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 10/10] vulkan_filter: require storage images properly, set usage flags explicitly

2024-08-31 Thread Lynne via ffmpeg-devel
hwframe_ctx_init(frames_ref); if (err < 0) { av_buffer_unref(&frames_ref); -- 2.45.2.753.g447d99e1c3b ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link abo

[FFmpeg-devel] [PATCH 06/10] vulkan: use correct return codes for query errors

2024-08-31 Thread Lynne via ffmpeg-devel
, FFVkExecContext *e, VkQueryResultFlags qf = 0; if (!e->had_submission) -return VK_NOT_READY; +return VK_INCOMPLETE; qf |= pool->query_64bit ? VK_QUERY_RESULT_64_BIT : 0x0; -- 2.45.2.753.g447d99e1c3b ___ ffmpeg

[FFmpeg-devel] [PATCH 04/10] hw_base_encode: make recon_frames_ref optional

2024-08-31 Thread Lynne via ffmpeg-devel
priv = av_mallocz(ctx->op->priv_size); -- 2.45.2.753.g447d99e1c3b _______________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 02/10] hw_base_encode: move VAAPI SPS/PPS constructors to a shared file

2024-08-31 Thread Lynne via ffmpeg-devel
ms.initial_buffer_fullness, +.bit_rate = ctx->va_bit_rate, +}; -pps->transform_8x8_mode_flag = 1; -} +int err = ff_hw_base_encode_init_params_h264(base_ctx, avctx, + &priv->units, &unit_opts); + if (err < 0) +return

[FFmpeg-devel] [PATCH] hwcontext_vulkan: ask for storage images by default

2024-08-31 Thread Lynne via ffmpeg-devel
!hwctx->usage || + (hwctx->usage & VK_IMAGE_USAGE_STORAGE_BIT)); if (err < 0) return err; } -- 2.45.2.753.g447d99e1c3b ___________ ffmpeg-devel mailing list [email protected] https

[FFmpeg-devel] [PATCH 08/10] vulkan_video: move imageview creation and DPB fields to common context

2024-08-31 Thread Lynne via ffmpeg-devel
; #include @@ -32,6 +33,14 @@ typedef struct FFVkVideoSession { VkVideoSessionKHR session; VkDeviceMemory *mem; uint32_t nb_mem; + + VkSamplerYcbcrConversion yuv_sampler; + +AVBufferRef *dpb_hwfc_ref; +int layered_dpb; +AVFrame *layered_frame; +VkImageView layered_view; +VkImageAspectFlags layered_aspect; } FFVkVideoCommon; /** @@ -74,10 +83,17 @@ StdVideoH264LevelIdc ff_vk_h264_level_to_vk(int level_idc); StdVideoH264ProfileIdc ff_vk_h264_profile_to_vk(int profile); int ff_vk_h264_profile_to_av(StdVideoH264ProfileIdc profile); +/** + * Creates image views for video frames. + */ +int ff_vk_create_view(FFVulkanContext *s, FFVkVideoCommon *common, + VkImageView *view, VkImageAspectFlags *aspect, + AVVkFrame *src, VkFormat vkf, int is_dpb); + /** * Initialize video session, allocating and binding necessary memory. */ -int ff_vk_video_common_init(void *log, FFVulkanContext *s, +int ff_vk_video_common_init(AVCodecContext *avctx, FFVulkanContext *s, FFVkVideoCommon *common, VkVideoSessionCreateInfoKHR *session_create); -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: disable more false positive validation checks

2024-08-31 Thread Lynne via ffmpeg-devel
ase 0xfd92477a: /* BestPractices-vkAllocateMemory-small-allocation */ case 0x30f4ac70: /* VUID-VkImageCreateInfo-pNext-06811 */ return VK_FALSE; default: -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] ht

[FFmpeg-devel] [PATCH 1/2] vulkan: add a ff_vk_init function

2024-08-31 Thread Lynne via ffmpeg-devel
rn const VkComponentMapping ff_comp_identity_map; +/** + * Initializes the AVClass, in case this context is not used + * as the main user's context. + * May use either a frames context reference, or a device context reference. + */ +int ff_vk_init(FFVulkanContext *s, void *log_parent, +

[FFmpeg-devel] [PATCH 07/10] vulkan: error out if query is called without being initialized

2024-08-31 Thread Lynne via ffmpeg-devel
_BIT : 0x0; qf |= pool->query_statuses ? -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@f

[FFmpeg-devel] [PATCH 2/2] vulkan(_decode): fix, simplify and improve queries

2024-08-31 Thread Lynne via ffmpeg-devel
vk_exec_get(FFVkExecPool *pool); /** * Performs nb_queries queries and returns their results and statuses. - * Execution must have been waited on to produce valid results. */ VkResult ff_vk_exec_get_query(FFVulkanContext *s, FFVkExecContext *e, - void **data, i

[FFmpeg-devel] [PATCH 09/10] hwcontext_vulkan: add PREP_MODE_GENERAL for non-transfer_dst images

2024-08-31 Thread Lynne via ffmpeg-devel
else +err = prepare_frame(hwfc, &fp->compute_exec, f, PREP_MODE_GENERAL); if (err) goto fail; -- 2.45.2.753.g447d99e1c3b ___________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-de

[FFmpeg-devel] [PATCH 2/2] vulkan_decode: use ff_vk_init

2024-08-31 Thread Lynne via ffmpeg-devel
; 0) -goto fail; - /* Create queue context */ vk_desc = get_codecdesc(avctx->codec_id); err = ff_vk_video_qf_init(s, &ctx->qf, -- 2.45.2.753.g447d99e1c3b ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailm

Re: [FFmpeg-devel] [PATCH 1/2] MAINTAINERS: aacdec_usac seems not actively maintained

2024-09-02 Thread Lynne via ffmpeg-devel
e.asc Description: OpenPGP digital signature ___ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/aac/aacdec_usac: Clean ics2->max_sfb when first SCE fails

2024-09-02 Thread Lynne via ffmpeg-devel
On 01/08/2024 19:07, Michael Niedermayer wrote: On Thu, Aug 01, 2024 at 05:11:18PM +0200, Lynne via ffmpeg-devel wrote: On 31/07/2024 21:54, Michael Niedermayer wrote: Fixes: out of array access Fixes: 70734/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_AAC_LATM_fuzzer-4741427068731392

Re: [FFmpeg-devel] [PATCH 02/10] hw_base_encode: move VAAPI SPS/PPS constructors to a shared file

2024-09-04 Thread Lynne via ffmpeg-devel
On 04/09/2024 16:09, Tong Wu wrote: Lynne: Subject: [FFmpeg-devel] [PATCH 02/10] hw_base_encode: move VAAPI SPS/PPS constructors to a shared file --- libavcodec/Makefile | 2 +- libavcodec/hw_base_encode_h264.c | 265 +++ libavcodec/hw_base_encode_h264

Re: [FFmpeg-devel] [PATCH 03/10] hw_base_encode: allocate DPB image upfront

2024-09-04 Thread Lynne via ffmpeg-devel
On 04/09/2024 16:36, Tong Wu wrote: Lynne: Subject: [FFmpeg-devel] [PATCH 03/10] hw_base_encode: allocate DPB image upfront Vulkan requires this, as it needs to initialize state upfront. --- libavcodec/d3d12va_encode.c | 6 -- libavcodec/hw_base_encode.c | 6 ++ libavcodec/vaapi_encode.c

Re: [FFmpeg-devel] [PATCH] avcodec/amfenc: Add support for on-demand key frames

2024-09-05 Thread Lynne via ffmpeg-devel
break; } You should hook up FFCodec.flush instead. That's what nvenc uses to reset the GOP. OpenPGP_0xA2FEA5F03F034464.asc Description: OpenPGP public key OpenPGP_signature.asc Description: OpenPGP digital signature ___________ ffmpeg-d

Re: [FFmpeg-devel] [PATCH 02/10] hw_base_encode: move VAAPI SPS/PPS constructors to a shared file

2024-09-06 Thread Lynne via ffmpeg-devel
On 06/09/2024 11:48, Tong Wu wrote: Lynne: To: Tong Wu ; FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [PATCH 02/10] hw_base_encode: move VAAPI SPS/PPS constructors to a shared file On 04/09/2024 16:09, Tong Wu wrote: Lynne: Subject: [FFmpeg-devel] [PATCH 02/10

[FFmpeg-devel] [PATCH] fftools/opt_common: add missing newline after printing codecs

2024-09-09 Thread Lynne via ffmpeg-devel
help_children(bsf->priv_class, AV_OPT_FLAG_BSF_PARAM); -- 2.45.2.753.g447d99e1c3b _______ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".

[FFmpeg-devel] [PATCH 1/2] lavc: add Vulkan video encoding base code

2024-09-09 Thread Lynne via ffmpeg-devel
This commit adds the common Vulkan video encoding framework. It makes full use of the asynchronous features of our new common hardware encoding code, and of Vulkan. The code is able to handle anything from H264 to AV1 and MJPEG. --- configure | 2 + libavcodec/Makefile|

[FFmpeg-devel] [PATCH 2/2] lavc: add h264_vulkan hardware encoder

2024-09-09 Thread Lynne via ffmpeg-devel
This commit adds the first Vulkan hardware encoder. Currently, P, and **B**-frames are supported. This marks the first implementation to support both. The encoder has feature-parity with VAAPI. --- configure |1 + libavcodec/Makefile |3 + libavcodec/all

Re: [FFmpeg-devel] [PATCH] fftools/opt_common: add missing newline after printing codecs

2024-09-09 Thread Lynne via ffmpeg-devel
On 09/09/2024 11:57, Anton Khirnov wrote: Quoting Lynne via ffmpeg-devel (2024-09-09 10:34:21) This solves ffmpeg -help bsf=trace_headers => Supported codecs: av1 h264 hevc vvc mjpeg mpeg2video vp8 vp9 --- fftools/opt_common.c | 1 + 1 file changed, 1 insertion(+) Looks ok Pus

[FFmpeg-devel] [PATCH v2 1/2] lavc: add Vulkan video encoding base code

2024-09-10 Thread Lynne via ffmpeg-devel
This commit adds the common Vulkan video encoding framework. It makes full use of the asynchronous features of our new common hardware encoding code, and of Vulkan. The code is able to handle anything from H264 to AV1 and MJPEG. --- configure | 2 + libavcodec/Makefile|

<    1   2   3   4   5   6   7   8   9   10   >