;,
+};
+return rep_tab[rep_fmt];
+};
case AV_PIX_FMT_GRAY8:
case AV_PIX_FMT_GBRAP: {
const char *rep_tab[] = {
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mai
+#define AV_PIX_FMT_RGBA32 AV_PIX_FMT_NE(RGBA32BE, RGBA32LE)
/**
* Chromaticity coordinates of the source primaries.
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-deve
RGBA32LE)
/**
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
.shaderSharedInt64Atomics);
COPY_VAL(vulkan_1_2.vulkanMemoryModel);
COPY_VAL(vulkan_1_2.vulkanMemoryModelDeviceScope);
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To
ep_tab[] = {
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
[] = {
[FF_VK_REP_NATIVE] = "rgba32ui",
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
;;
+}
}
typedef struct ImageViewCtx {
diff --git a/libavutil/vulkan.h b/libavutil/vulkan.h
index 8d60fae670..4de5835f60 100644
--- a/libavutil/vulkan.h
+++ b/libavutil/vulkan.h
@@ -360,7 +360,19 @@ int ff_vk_mt_is_np_rgb(enum AVPixelFormat pix_fmt);
/**
* Returns the format to use for images in sha
}
+GLSLA("%s", prop->type);
+}
if (prop->dim_needed)
GLSLA("%iD", desc[i].dimensions);
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
quot;
avdevice_suggest="libm stdatomic"
avfilter_deps="avutil"
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
On 04/10/2024 12:01, epira...@gmail.com wrote:
On 4 Oct 2024, at 11:31, Lynne via ffmpeg-devel wrote:
This is the same as with libavfilter.
We will need SPIR-V compilation for at least three different things,
like the VC-2 encoder and decoder, AV1 film grain synthesis for
hardware with no
n issue, if lost in the macro
@@ -199,7 +199,7 @@ actual lines causing issues.
Inline asm vs. external asm
---
Both inline asm (__asm__("..") in a .c file, handled by a compiler such as
gcc)
-and external asm (.s or .asm files, handled by an assembler such
push this patchset tomorrow unless there are comments.
OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/
tion: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-req
sc->rc_stat2[p->quant_table_index][context]);
TBH I'm still not a fan of this and I don't think it should be part of
version 4. It seems like it'll be a very niche coding feature that's
better served by Golomb-Rice coding, which is many times faste
From: wzqzero <1918583...@qq.com>
When converting a two-minute 3840 x 2160 video to a GIF file,
the viewing duration is shorter than the source duration when you use ffmpeg -i,
which is due to data overflow,
which causes positive numbers to become negative after being assigned,
causi
ebay ?
Just yesterday, lottie-player was replaced by a compromised version.
Stealing peoples money.
Our GA is build of everyone who has
"authored more than 20 patches in the last 36 months in the main FFmpeg
repository"
This is a very low bar for an attacker. Even if we did KYC (whi
nt i = 0; i < nb_bufs; i++)
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
al(AVCodecContext *avctx)
diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c
new file mode 100644
index 000000..b73161f9ff
--- /dev/null
+++ b/libavcodec/ffv1enc_vulkan.c
@@ -0,0 +1,1378 @@
+/*
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redis
@@ -914,8 +934,8 @@ slices_ok:
avctx->stats_out = av_mallocz(STATS_OUT_SIZE);
if (!avctx->stats_out)
return AVERROR(ENOMEM);
-for (i = 0; i < s->quant_table_count; i++)
- for (j = 0; j < s->max_slice_count; j++) {
+for (i
644
--- a/libavcodec/ffv1enc.h
+++ b/libavcodec/ffv1enc.h
@@ -26,5 +26,7 @@
#include "avcodec.h"
av_cold int ff_ffv1_encode_init(AVCodecContext *avctx);
+av_cold int ff_ffv1_encode_setup_plane_info(AVCodecContext *avctx,
+enum AVPixelFormat pix_fmt);
#endi
* 6
if (avctx->flags & AV_CODEC_FLAG_PASS1) {
avctx->stats_out = av_mallocz(STATS_OUT_SIZE);
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
ma_sub_sample (pix_fmt, &s->chroma_h_shift,
&s->chroma_v_shift);
}
static int encode_init_internal(AVCodecContext *avctx)
diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c
new file mode 100644
index 000000..2fbb1c3ddb
--- /dev/null
+++ b/libavcodec/ffv1enc_v
IZE 1024 * 1024 * 6
@@ -914,8 +934,8 @@ slices_ok:
avctx->stats_out = av_mallocz(STATS_OUT_SIZE);
if (!avctx->stats_out)
return AVERROR(ENOMEM);
-for (i = 0; i < s->quant_table_count; i++)
-for (j = 0; j < s->max_slice_count; j++)
644
--- a/libavcodec/ffv1enc.h
+++ b/libavcodec/ffv1enc.h
@@ -26,5 +26,7 @@
#include "avcodec.h"
av_cold int ff_ffv1_encode_init(AVCodecContext *avctx);
+av_cold int ff_ffv1_encode_setup_plane_info(AVCodecContext *avctx,
+enum AVPixelFormat pix_fmt);
#endi
{
if (context == 0)
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
nt i = 0; i < nb_bufs; i++)
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
* 6
if (avctx->flags & AV_CODEC_FLAG_PASS1) {
avctx->stats_out = av_mallocz(STATS_OUT_SIZE);
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
: OpenPGP digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
t = ff_rac_terminate(&sc->c, 1);
} else {
flush_put_bits(&sc->pb); // FIXME: nicer padding
@@ -1122,11 +1122,12 @@ retry:
if (ret < 0) {
av_assert0(sc->slice_coding_mode == 0);
-if (f->version < 4 || !f->ac) {
+ if (f-
On 11/10/24 02:36, Michael Niedermayer wrote:
On Sat, Nov 09, 2024 at 08:22:25AM +0100, Lynne via ffmpeg-devel wrote:
It isn't immediately obvious what indexing this array does.
Use standard syntax instead.
---
libavcodec/ffv1.h | 2 +-
libavcodec/ffv1dec_template.
{
-av_log(avctx, AV_LOG_ERROR, "Unable to create Vulkan video session
parameters: %s!\n",
- ff_vk_ret2str(ret));
-return AVERROR_EXTERNAL;
-}
-
-return 0;
+return ff_vulkan_encode_create_session_params(avctx, ctx, &h265_params);
}
static int parse_feedback_units(AVCo
VkDeviceSize len,
+VkFormat fmt);
void ff_vk_update_descriptor_img_array(FFVulkanContext *s, FFVulkanPipeline
*pl,
FFVkExecContext *e, AVFrame *f,
diff --git a/libavutil/vulkan_functions.h b/libavutil/vulkan_functions.h
index 6aeaf4e79a..da555b37c7 100644
--- a/libavutil/vulkan_functions.h
+++ b/libavutil/vulkan_functions.h
@@ -176,6 +176,9 @@ typedef enum FFVulkanExtensions {
MACRO(1, 1, FF_VK_EXT_NO_FLAG,
UpdateDescriptorSetWithTemplate) \
MACRO(1, 1, FF_VK_EXT_NO_FLAG,
CreateDescriptorUpdateTemplate) \
MACRO(1, 1, FF_VK_EXT_NO_FLAG,
DestroyDescriptorUpdateTemplate) \
+
\
+/* Descriptors */
\
+MACRO(1, 1, FF_VK_EXT_NO_FLAG, UpdateDescriptorSets)
\
\
/* Queries */
\
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CreateQueryPool)
\
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
42,8 @@ typedef struct FFVulkanPipeline {
/* Workgroup */
int wg_size[3];
-/* Descriptors */
+/* Descriptor buffer */
+ VkDescriptorSetLayout *desc_layout;
FFVulkanDescriptorSet *desc_set;
VkDescriptorBufferBindingInfoEXT *desc_bind;
uint32_t *bound_buffer_indices;
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
sionCount, 0))) {
+&dev_info.enabledExtensionCount, debug_mode)))
{
for (int i = 0; i < dev_info.queueCreateInfoCount; i++)
av_free((void *)dev_info.pQueueCreateInfos[i].pQueuePriorities);
av_free((void *)dev_info.pQueueCreateInfos);
--
2.4
OFILE_LIST_INFO_KHR);
if (!pl) {
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
On 22/09/2024 20:40, nihil-admirari via ffmpeg-devel wrote:
From: nihil-admirari <50202386+nihil-admir...@users.noreply.github.com>
Fixes build issue for Win32 targets
---
libavcodec/vulkan_encode_h264.c | 2 +-
libavcodec/vulkan_encode_h265.c | 2 +-
2 files changed, 2 insertions
ze = 1024;
--
2.43.0
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
Description: OpenPGP digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
Pipelines are just shaders. There's no reason to treat them
differently.
This also lets us implement shader objects and is an overall
cleanup.
---
libavfilter/vf_avgblur_vulkan.c | 28 +-
libavfilter/vf_blend_vulkan.c | 24 +-
libavfilter/vf_bwdif_vulkan.c | 29 +-
libavfilter/vf_chro
7..47684e600d 100644
--- a/libavutil/vulkan.h
+++ b/libavutil/vulkan.h
@@ -194,9 +194,8 @@ typedef struct FFVulkanShader {
VkPipelineShaderStageRequiredSubgroupSizeCreateInfo subgroup_info;
/* Base shader object */
-union {
-VkPipeline pipeline;
-};
+ VkShaderEXT object;
+
*/
+FFVkBuffer buf;
+uint8_t *desc_mem;
+} FFVulkanDescriptorSetData;
+
+typedef struct FFVulkanShaderData {
+ /* Shader to which this data belongs to */
+FFVulkanShader *shd;
+int nb_descriptor_sets;
+
+/* Descriptor buffer */
+FFVulkanDescriptorSetData *desc_set_buf;
+
\
+MACRO(1, 1, FF_VK_EXT_NO_FLAG, GetFenceStatus)
\
MACRO(1, 1, FF_VK_EXT_NO_FLAG, ResetFences)
\
MACRO(1, 1, FF_VK_EXT_NO_FLAG, DestroyFence)
\
);
GLSLC(0, #extension GL_EXT_buffer_reference : require
);
GLSLC(0, #extension GL_EXT_buffer_reference2 : require
);
}
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
h
On 29/09/2024 02:09, Michael Niedermayer wrote:
On Tue, Sep 24, 2024 at 05:47:54PM +0200, Michael Niedermayer wrote:
On Wed, Aug 14, 2024 at 02:41:55PM +0200, Michael Niedermayer wrote:
Hi all
Are there any upcoming LTS releases that want to/could include FFmpeg 7.1 ?
If so please reply here
$(TARGET_SAMPLES)/atrac1/boxboy333_house_music_multitrack.aea
+fate-atrac1-3: REF = $(SAMPLES)/atrac1/boxboy333_house_music_multitrack.pcm
+
FATE_ATRAC1-$(call DEMDEC, AEA, ATRAC1, ARESAMPLE_FILTER) += $(FATE_ATRAC1)
FATE_ATRAC3 += fate-atrac3-1
--
2.46.2
___
f
mporting is possible for this combination of parameters */
ret = vk->GetPhysicalDeviceImageFormatProperties2(hwctx->phys_dev,
&fmt_props,
&props_ret);
--
2.45.2.753.g447d99e1c3b
_______
maphoreFdKHR)
\
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CreateSemaphore)
\
MACRO(1, 1, FF_VK_EXT_NO_FLAG, WaitSemaphores)
\
MACRO(1, 1, FF_VK_EXT_NO_FLAG, DestroySemaphore)
\
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
transferred if !wait */
int ff_vk_exec_add_dep_frame(FFVulkanContext *s, FFVkExecContext *e, AVFrame
*f,
VkPipelineStageFlagBits2 wait_stage,
VkPipelineStageFlagBits2 signal_stage);
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
On 20/09/2024 02:44, Segall, Andrew via ffmpeg-devel wrote:
Details: Add support for the apply_grain_flag. This allows the film grain
process to be enabled/disabled for different display properties.
On 9/8/24, 12:06 AM, "Andrew Segall" mailto:aseg...@amazon.com>> wrote:
.pNext = &q_info,
.videoSession = ctx->common.session,
.videoSessionParametersTemplate = NULL,
};
Could you move this to vulkan_encode.c?
Thanks
OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signatur
It seems quite different from the format you sent.
Top-posting isn't exactly liked here, though I don't really have a
strong opinion on it.
Apologies, as I'm still relatively new to the FFmpeg community and have a
lot to learn.
Any additional guidance would be greatly appreciated.
h.
--
Christophe
I agree with Hendrik and Dale.
OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/ma
On 20/09/2024 09:42, Segall, Andrew wrote:
On 9/20/24, 12:15 AM, "ffmpeg-devel on behalf of Lynne via ffmpeg-devel"
mailto:ffmpeg-devel-boun...@ffmpeg.org> on behalf of
ffmpeg-devel@ffmpeg.org <mailto:ffmpeg-devel@ffmpeg.org>> wrote:
CAUTION: This email originat
don't think this is needed.
OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffm
On 01/10/2024 09:51, Lynne via ffmpeg-devel wrote:
On 01/10/2024 08:55, Nuo Mi wrote:
We still need several refactors to improve the current VVC decoder's
performance,
which will frequently break the API/ABI. To mitigate this, we've
copied the executor from
avutil to avcodec. Once t
On 02/10/2024 11:06, Kumar, Rahul via ffmpeg-devel wrote:
Thank you for the prompt response.
The primary reason for removing Blowfish from our codebase is to comply with
modern security guidelines and industry standards that discourage the use of
outdated cryptographic algorithms, like
nd we've
discussed dropping support for it enough in recent time to go ahead and
do it any day now.
Otherwise LGTM.
OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
___
f
ine asm vs. external asm
---
Both inline asm (__asm__("..") in a .c file, handled by a compiler such as gcc)
-and external asm (.s or .asm files, handled by an assembler such as nasm/yasm)
+and external asm (.s or .asm files, handled by an assembler such as
]
%endif
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
, q2301
+shufps m10, m10, q2301
+shufps m11, m11, q2301
fmaddsubps m10, m12, m2, m10
fmaddsubps m11, m13, m3, m11
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg
git a/libavutil/vulkan_functions.h b/libavutil/vulkan_functions.h
index 7a5385381b..b1ae4d181e 100644
--- a/libavutil/vulkan_functions.h
+++ b/libavutil/vulkan_functions.h
@@ -62,6 +62,7 @@ typedef uint64_t FFVulkanExtensions;
#define FF_VK_EXT_VIDEO_ENCODE_H264 (1ULL << 51) /*
VK_KHR_v
t[ret] : "unknown";
-av_log(avctx, loglevel, "shaderc compile status '%s' (%d errors, %d
warnings)\n",
+av_log(s, loglevel, "shaderc compile status '%s' (%d errors, %d
warnings)\n",
status, err, warn);
if (err > 0)
diff --git
= 1ULL << 31,
-} FFVulkanExtensions;
+#define FF_VK_EXT_NO_FLAG(1ULL << 63)
/* Macro containing every function that we utilize in our codebase */
#define FN_LIST(MACRO)
\
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_INSTR },
{ VK_EXT_EXTERNAL_MEMORY_DMA_BUF_EXTENSION_NAME,
FF_VK_EXT_EXTERNAL_DMABUF_MEMORY },
{ VK_EXT_IMAGE_DRM_FORMAT_MODIFIER_EXTENSION_NAME,
FF_VK_EXT_DRM_MODIFIER_FLAGS },
{ VK_KHR_EXTERNAL_MEMORY_FD_EXTENSION_NAME,
FF_VK_EXT_EXTERNAL_FD_MEMORY },
--
2.45.2.753.g447d99e1c3b
__
gram, glslc_input.stage);
+#endif
messages = glslang_program_SPIRV_get_messages(glslc_program);
if (messages) {
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
T
nsion GL_EXT_scalar_block_layout : require
);
GLSLC(0, #extension GL_EXT_buffer_reference : require
);
GLSLC(0, #extension GL_EXT_buffer_reference2 : require
);
--
2.45.2.753.g447d99e1c3b
_____
_BIT_EXT ||
stage == VK_SHADER_STAGE_MESH_BIT_EXT)
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
el(opts,
+
shaderc_optimization_level_performance);
+}
res = shaderc_compile_into_spv((shaderc_compiler_t)ctx->priv,
shd->src.str, strlen(shd->src.str),
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@
, p, version);
+return 1;
+}
if (rac_check_termination(&c, version) < 0) {
av_log(NULL, AV_LOG_ERROR, "rac failure at termination pass %d
version %d\n", p, version);
You're interfering with the rangecod
/2024 4:09 PM, Michael Niedermayer wrote:
Now reality is, Paul (the 2nd most active developer of all time)
was bullied
out of FFmpeg. In private mail he spoke about being treated like
a slave.
Huh?? By whom?
by the community, by us all
maybe "bullied" is a badly choosen word here, but
/ffv1_vlc.comp
create mode 100644 libavcodec/vulkan/rangecoder.comp
I'll push the patchset tomorrow if there are no more comments to fix.
We should definitely add FATE tests for such implementations.
___
ffmpeg-devel mailing list
ffmpeg-
_EXT_NO_FLAG, CmdCopyBufferToImage)
\
MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdCopyImageToBuffer)
\
+MACRO(1, 1, FF_VK_EXT_NO_FLAG, CmdCopyBuffer)
\
\
/* Buffer */
\
MACRO(1, 1, FF_VK_EXT_NO_FLAG, GetBufferMemoryRequirements2)
\
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
.o vulkan/ffv1_vlc.o \
vulkan/ffv1_common.o
vulkan/ffv1_reset.o \
- vulkan/ffv1_enc_common.o \
- vulkan/ffv1_enc_rct.o
vulkan/ffv1_enc_setup.o \
+
f /* AVCODEC_FFV1ENC_H */
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
1, 0), i);
if (desc[i].mem_layout)
GLSLA(", %s", desc[i].mem_layout);
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, v
nt i = 0; i < nb_bufs; i++)
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
pix_fmt, &s->chroma_h_shift,
&s->chroma_v_shift);
}
static int encode_init_internal(AVCodecContext *avctx)
diff --git a/libavcodec/ffv1enc_vulkan.c b/libavcodec/ffv1enc_vulkan.c
new file mode 100644
index 000000..e367b7dd6f
--- /dev/null
+++ b/libavcodec/ffv1enc_vulkan.c
@@
ag(AVFrame *f, int p);
+
/**
* Returns the format to use for images in shaders.
*/
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
encode_init(AVCodecContext *avctx);
av_cold int ff_ffv1_write_extradata(AVCodecContext *avctx);
+av_cold int ff_ffv1_encode_setup_plane_info(AVCodecContext *avctx,
+enum AVPixelFormat pix_fmt);
#endif /* AVCODEC_FFV1ENC_H */
--
2.45.2.753.g447d99e1c3b
AV_PIX_FMT_GRAY16:
case AV_PIX_FMT_GBRAP16:
+case AV_PIX_FMT_GBRP10:
case AV_PIX_FMT_YUV420P10:
case AV_PIX_FMT_YUV420P12:
case AV_PIX_FMT_YUV420P16:
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https
on = 0;
+
+ret = ff_ffv1_encode_init(avctx);
+if (ret < 0)
+return ret;
+
#define STATS_OUT_SIZE 1024 * 1024 * 6
if (avctx->flags & AV_CODEC_FLAG_PASS1) {
avctx->stats_out = av_mallocz(STATS_OUT_SIZE);
if (!avctx->stats_out)
retu
ff_build_rac_states(&s->slices[j].c, 0.05 * (1LL << 32), 256 - 8);
+}
+
+if ((ret = ff_ffv1_init_slices_state(s)) < 0)
+return ret;
+
#define STATS_OUT_SIZE 1024 * 1024 * 6
if (avctx->flags & AV_CODEC_FLAG_PASS1) {
avctx->stats_out = av_ma
T_GRAY16:
case AV_PIX_FMT_GBRAP16:
case AV_PIX_FMT_GBRP10:
+case AV_PIX_FMT_GBRP16:
case AV_PIX_FMT_YUV420P10:
case AV_PIX_FMT_YUV420P12:
case AV_PIX_FMT_YUV420P16:
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
f
case AV_PIX_FMT_YUV420P10:
case AV_PIX_FMT_YUV420P12:
case AV_PIX_FMT_YUV420P16:
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit li
AV_PIX_FMT_GBRAP16:
case AV_PIX_FMT_GBRP10:
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with
m", "Code all slices with no prediction", OFFSET(force_pcm),
AV_OPT_TYPE_BOOL,
{ .i64 = 0 }, 0, 1, VE },
+{ "async_depth", "Internal parallelization depth", OFFSET(async_depth),
AV_OPT_TYPE_INT,
+ { .i64 = 0 }, 0, INT_MAX, VE },
+
{ NULL }
};
@@ -1594,7 +1799,7 @@ const FFCodec ff_ffv1_
i64 = -1 }, -1, 1024, VE },
{ "force_pcm", "Code all slices with no prediction", OFFSET(force_pcm),
AV_OPT_TYPE_BOOL,
{ .i64 = 0 }, 0, 1, VE },
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
tus(s->hwctx->act_dev, e->fence) == VK_SUCCESS)
return e;
pool->idx = (pool->idx + 1) % pool->pool_size;
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/f
FFVkExecContext {
/* Fence for the command buffer */
VkFence fence;
+/* Opaque data, untouched, free to use by users */
+void *opaque;
+
void *query_data;
int query_idx;
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
On 11/23/24 23:10, Jerome Martinez wrote:
Le 23/11/2024 à 20:58, Lynne via ffmpeg-devel a écrit :
This allows the encoder to fully saturate all queues the GPU
has, giving a good 10% in certain cases and resolutions.
Using a RTX 4070:
+50% (!!!) with 2K 10-bit content.
+17% with 4K 16-bit
e for one goal,
the quality of the software. for the rest indeed the best would be
discord, physical meeting or else.
as this you'll have all the time to fight or sleep together thanks
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg
X, VE, .unit = "qtable" },
{ NULL }
};
Could you apply this to ffv1enc_vulkan.c as well? It uses the same
quantization table
that the software encoder initializes, as well as the same option
definition, so it
should work.
____
On 11/14/24 00:46, Michael Niedermayer wrote:
On Mon, Nov 11, 2024 at 04:40:15AM +0100, Lynne via ffmpeg-devel wrote:
---
libavcodec/ffv1enc.c | 354 +++
libavcodec/ffv1enc.h | 30
2 files changed, 217 insertions(+), 167 deletions(-)
create
On 11/24/24 16:51, Jerome Martinez wrote:
Le 24/11/2024 à 04:41, Lynne via ffmpeg-devel a écrit :
On 11/23/24 23:10, Jerome Martinez wrote:
Le 23/11/2024 à 20:58, Lynne via ffmpeg-devel a écrit :
This allows the encoder to fully saturate all queues the GPU
has, giving a good 10% in certain
401 - 500 of 2367 matches
Mail list logo