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
On 10/09/2024 15:29, Benjamin Cheng wrote:
On Mon Sep 9, 2024 at 6:37 AM EDT, Lynne via ffmpeg-devel wrote:
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
This commit adds a Vulkan hardware HEVC encoder, with full support
of the spec - I, P, and B-frames.
---
configure |1 +
libavcodec/Makefile |3 +
libavcodec/allcodecs.c |1 +
libavcodec/vulkan_encode_h264.c | 14 +-
libavcodec/vulkan_encode
f
+
+CHECK(FUNC(rbsp_trailing_bits)(ctx, rw));
+
+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
long with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_HW_BASE_ENCODE_H265_H
+#define AVCODEC_HW_BASE_ENCODE_H265_H
+
+#include "hw_base_encode.h"
+#include "cbs_h265.h"
+
+typedef struct F
P_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
crop_data, crop_data_size);
+if (err < 0) {
+av_buffer_unref(&pkt->buf);
+av_free(crop_data);
+ return err;
+ }
+ }
+
return 0;
}
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel
crop_data, crop_data_size);
+if (err < 0) {
+av_buffer_unref(&pkt->buf);
+av_free(crop_data);
+ return err;
+ }
+ }
+
return 0;
}
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel
> 2023年12月18日 02:22,James Almer 写道:
>
> On 12/17/2023 1:24 PM, zhupengfei via ffmpeg-devel wrote:
>> From: Zhu Pengfei <[email protected]>
>> Signed-off-by: Zhu Pengfei <[email protected]>
>> ---
>> libavformat/flvenc.c | 155 ++
is->video_st->codecpar->nb_coded_side_data,
+
AV_PKT_DATA_DISPLAYMATRIX);
+if (psd)
+displaymatrix = (int32_t *)psd->data;
}
theta = get_rotation(displaymatrix);
--
2.39.3 (Apple Git-145)
_____
s & FLV_VIDEO_FRAMETYPE_MASK) ==
FLV_FRAME_VIDEO_INFO_CMD) {
goto skip;
+}
} else if (type == FLV_TAG_TYPE_META) {
stream_type=FLV_STREAM_TYPE_SUBTITLE;
if (size > 13 + 1 + 4) { // Header-type metadata stuff
@@ -1287,6 +1458,11 @@ retry_duration:
goto leave;
}
+if (enhanced_flv && stream_type == FLV_STREAM_TYPE_VIDEO &&
flv->meta_color_info_flag) {
+flv_update_video_color_info(s, st); // update av packet side data
+flv->meta_color_info_flag = 0;
+}
+
if (st->codecpar->codec_id == AV_CODEC_ID_H264 ||
st->codecpar->codec_id == AV_CODEC_ID_MPEG4 ||
(st->codecpar->codec_id == AV_CODEC_ID_HEVC && type ==
PacketTypeCodedFrames)) {
// sign extension
--
2.42.1
___
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".
avio_skip(pb, total_size + 10 - 3);
+avio_tell(pb);
+avio_wb32(pb, total_size + 11); // previous tag size
+flv->write_metadata_pkt = 1;
+}
+}
+
static int unsupported_codec(AVFormatContext *s,
const char* type, int codec_id)
{
@@
avio_skip(pb, total_size + 10 - 3);
+avio_tell(pb);
+avio_wb32(pb, total_size + 11); // previous tag size
+flv->write_metadata_pkt = 1;
+}
+}
+
static int unsupported_codec(AVFormatContext *s,
const char* type, int codec_id)
{
@@
+buf++;
+size--;
+}
+}
+}
+
int ffio_fdopen(AVIOContext **s, URLContext *h)
{
uint8_t *buffer = NULL;
--
2.42.0
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
On 12/09/2024 15:20, Benjamin Cheng wrote:
On Wed Sep 11, 2024 at 12:03 AM EDT, Lynne wrote:
On 10/09/2024 15:29, Benjamin Cheng wrote:
On Mon Sep 9, 2024 at 6:37 AM EDT, Lynne via ffmpeg-devel wrote:
This commit adds the common Vulkan video encoding framework.
It makes full use of the
On 09/09/2024 12:37, Lynne wrote:
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 |
GP_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, o
On 15/09/2024 11:55, Lynne via ffmpeg-devel wrote:
On 09/09/2024 12:37, Lynne wrote:
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
*sh = &priv->raw_slice.header;
VAEncPictureParameterBufferHEVC *vpic = vaapi_pic->codec_picture_params;
VAEncSliceParameterBufferHEVC *vslice = slice->codec_slice_params;
@@ -1118,7 +818,7 @@ static int
vaapi_encode_h265_init_slice_params(AVCodecContext *avctx,
On 12/10/2024 00:11, James Almer wrote:
On 10/10/2024 2:32 AM, Lynne via ffmpeg-devel wrote:
---
libavutil/hwcontext_vulkan.c | 1 +
libavutil/vulkan.c | 11 ++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/libavutil/hwcontext_vulkan.c b/libavutil
On 15/10/2024 03:50, James Almer wrote:
On 10/14/2024 10:41 PM, Lynne via ffmpeg-devel wrote:
On 14/10/2024 17:24, James Almer wrote:
On 10/14/2024 12:11 PM, Lynne via ffmpeg-devel wrote:
On 12/10/2024 01:01, Lynne wrote:
This format is useful for doing certain lossless transforms on images
escription: 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".
On 14/10/2024 17:24, James Almer wrote:
On 10/14/2024 12:11 PM, Lynne via ffmpeg-devel wrote:
On 12/10/2024 01:01, Lynne wrote:
This format is useful for doing certain lossless transforms on images,
RCT in particular, which require you to escalate the size from 16 to
32 bits to avoid overflows
return ret;
--
2.39.5 (Apple Git-154)
___________
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".
Lastly, if i figure this out, is this something that might be
considered for inclusion in ffmpeg, or is there a policy/strong
opinions against these machine vision formats?
All the best,
Dee
_______
ffmpeg-devel mailing list
[email protected]
https://
P 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".
_FMT_NE(RGBA32BE, RGBA32LE)
/**
Ignore this patch, it doesn't exist.
OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
___________
ffmpeg-devel mailing list
ffmpeg-devel@ffm
+#define AV_PIX_FMT_RGBA128AV_PIX_FMT_NE(RGBA128BE, RGBA128LE)
+
/**
* Chromaticity coordinates of the source primaries.
* These values match the ones defined by ISO/IEC 23091-2_2019 subclause 8.1
and ITU-T H.273.
--
2.45.2.753.g447d99e1c3b
_____________
P:
--
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".
RGBA128LE)
/**
--
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".
rep_tab[rep_fmt];
}
+case AV_PIX_FMT_RGB96:
case AV_PIX_FMT_RGBA128: {
const char *rep_tab[] = {
[FF_VK_REP_NATIVE] = "rgba32ui",
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg
.
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
On 08/10/2024 21:17, Diederick C. Niehorster wrote:
Dear Lynne,
On Tue, Oct 8, 2024 at 1:11 PM Lynne via ffmpeg-devel
wrote:
Thank you for your quick and helpful answer! However I have several questions.
We have support for AV_PIX_FMT_BAYER_RGGB16, since its a common Bayer
layout that
.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".
On 11/10/2024 23:06, Michael Niedermayer wrote:
On Thu, Oct 10, 2024 at 07:32:45AM +0200, Lynne via ffmpeg-devel wrote:
This format is useful for doing certain lossless transforms on images,
RCT in particular, which require you to escalate the size from 16 to
32 bits to avoid overflows
box corefoundation corevideo coremedia
bcrypt stdatomic"
--
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".
e posix_memalign
--
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".
On 07/10/2024 09:28, Hendrik Leppkes wrote:
On Mon, Oct 7, 2024 at 9:15 AM Lynne via ffmpeg-devel
wrote:
If someone were to enable libglslang/libshaderc, and then disable
all Vulkan filters, they would have the same issue as the earlier
fix for libavcodec.
If you run such a setup, shouldn
message);
+status = ret < FF_ARRAY_ELEMS(shdc_result) ? shdc_result[ret] : "unknown";
+av_log(s, loglevel, "shaderc compile status '%s' (%d errors, %d
warnings)\n",
+ status, err, warn);
+
+if (err > 0)
+return AVERROR(EINVAL);
+
+ *d
ifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include "libavutil/vulkan_shaderc.c"
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link ab
uot;
typedef struct FFVkSPIRVCompiler {
--
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".
an.h"
#include
--
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".
s.encodeInputPictureGranularity.height);
/* Setup slice width/height */
base_ctx->slice_block_width =
ctx->enc_caps.encodeInputPictureGranularity.width;
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpe
On 30/09/2024 11:08, Anton Khirnov wrote:
Quoting Lynne via ffmpeg-devel (2024-09-30 09:42:58)
---
src/index | 37 +
1 file changed, 37 insertions(+)
diff --git a/src/index b/src/index
index fdf7ebb..76c8b32 100644
--- a/src/index
+++ b/src/index
@@ -35,6
ce 2016.
--
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".
On 30/09/2024 11:34, Lynne via ffmpeg-devel wrote:
On 30/09/2024 11:08, Anton Khirnov wrote:
Quoting Lynne via ffmpeg-devel (2024-09-30 09:42:58)
---
src/index | 37 +
1 file changed, 37 insertions(+)
diff --git a/src/index b/src/index
index fdf7ebb
ure I see the UB here?
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-
quot;
avdevice_suggest="libm stdatomic"
avfilter_deps="avutil"
--
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".
l FRAMECRC, MPEGTS,,) += fate-ffmpeg-spec-disposition
+FATE_SAMPLES_FFMPEG-$(call FRAMECRC, MPEGTS,,) += fate-ffmpeg-spec-disposition
--
2.46.0
_______
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To u
On 15/10/2024 17:51, Lynne via ffmpeg-devel wrote:
On 15/10/2024 16:49, David Rosca wrote:
Fixes leaking recon surfaces with VAAPI.
---
libavcodec/hw_base_encode.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/libavcodec/hw_base_encode.c b/libavcodec/hw_base_encode.c
index
On 16/10/2024 11:56, emufan 4568 wrote:
This works okay on the VC2 vulkan encoder patch
Στις Τετ 16 Οκτ 2024 στις 10:21 π.μ., ο/η Lynne via ffmpeg-devel <
[email protected]> έγραψε:
When using **integer** images inside shaders, it turns out
that conversion doesn't automatic
ShaderRepFormat rep_fmt);
void ff_vk_frame_barrier(FFVulkanContext *s, FFVkExecContext *e,
AVFrame *pic, VkImageMemoryBarrier2 *bar, int *nb_bar,
--
2.45.2.753.g447d99e1c3b
_______
ffmpeg-devel mailing list
[email protected]
hwctx->img_flags |= VK_IMAGE_CREATE_EXTENDED_USAGE_BIT;
}
}
--
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".
On 18/10/2024 14:41, Hendrik Leppkes wrote:
On Fri, Oct 18, 2024 at 2:09 PM Alexander Strasser via ffmpeg-devel
wrote:
This caused differences
with 2 fate tests depending on the zlib version used.
2 fate tests?
https://fate.ffmpeg.org/report.cgi?time=20241016173824&slot=x86_32-msvc14-dl
right?
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
>From d7863bab8e1028b6cfb3ce848e216e86ff00eca0 Mon Sep 17 00:00:00 2001
From: cynthia2006
Date: Tue, 28 May 2024 22:03:50 +0530
Subject: [PATCH] lavc/mjpegdec: Add option for ignorning malformed APPx segments
X-Unsent: 1
To: [email protected]
A few cameras, namely Logitech C270 or simi
>From d7863bab8e1028b6cfb3ce848e216e86ff00eca0 Mon Sep 17 00:00:00 2001
From: cynthia2006
Date: Tue, 28 May 2024 22:03:50 +0530
Subject: [PATCH] lavc/mjpegdec: add option for ignorning malformed APPx
segments
X-Unsent: 1
To: [email protected]
A few cameras, namely Logitech C270 or simi
P_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 li
k I put in.
Otherwise, of course you can do it the long way by either writing your
own or using another framework.
OpenPGP_0xA2FEA5F03F034464.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______
ffmpeg-devel ma
On 10/10/2024 10:50, martin schitter wrote:
On 10.10.24 08:06, Lynne via ffmpeg-devel wrote:
You can copy libavutil/vulkan* into whatever project you want, and
change 4 #include lines to make it compile.
This lets you use the same API to construct and execute shaders as you
would within lavc
;,
+};
+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
[email protected]
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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-deve
RGBA32LE)
/**
--
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".
.shaderSharedInt64Atomics);
COPY_VAL(vulkan_1_2.vulkanMemoryModel);
COPY_VAL(vulkan_1_2.vulkanMemoryModelDeviceScope);
--
2.45.2.753.g447d99e1c3b
___
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To
ep_tab[] = {
--
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".
[] = {
[FF_VK_REP_NATIVE] = "rgba32ui",
--
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-
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".
;;
+}
}
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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
quot;
avdevice_suggest="libm stdatomic"
avfilter_deps="avutil"
--
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".
On 04/10/2024 12:01, [email protected] 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
r, but we can now clean up some old assembly.
Partially, at least, since ARCH_X86_64 and HAVE_AVX2_EXTERNAL checks
often go hand in hand. Don't look at me, I don't want 32-bit support
dropped, not after all the effort it took to write code with only 8
registers.
OpenPGP_0xA2
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
[email protected]
https://ffmpeg.org/
tion: 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
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
if ((ret = avio_skip(pb, sb_size)) < 0)
--
2.43.0.windows.1
_______
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".
to be done
and (s)he has time, ability and will to do that work, nothing strange,
and noone says they dont get along with him/her.
I have and will give them root access.
if thats not the case
I dont think people would want me to give them root access.
thx
____
nt i = 0; i < nb_bufs; i++)
--
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".
.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".
This commit implements a standard, compliant, version 3 and version 4
FFv1 encoder, entirely in Vulkan. The encoder is written in standard
GLSL and requires a Vulkan 1.3 supporting GPU with the BDA extension.
The encoder can use any amount of slices, but nominally, should use
32x32 slices (1024 in
1enc.h
@@ -0,0 +1,30 @@
+/*
+ * FFV1 encoder
+ *
+ * Copyright (c) 2003-2013 Michael Niedermayer
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_FFV1ENC_H
+#define AVCODEC_FFV1ENC_H
+
+#include "avcodec.h"
+
+av_cold int ff_ffv1_encode_init(AVCodecContext *avctx);
+
+#endif /* AVCODEC_FFV1ENC_H */
--
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".
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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
This commit implements a standard, compliant, version 3 and version 4
FFv1 encoder, entirely in Vulkan. The encoder is written in standard
GLSL and requires a Vulkan 1.3 supporting GPU with the BDA extension.
The encoder can use any amount of slices, but nominally, should use
32x32 slices (1024 in
0,0 +1,30 @@
+/*
+ * FFV1 encoder
+ *
+ * Copyright (c) 2003-2013 Michael Niedermayer
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * FFmpeg is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with FFmpeg; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef AVCODEC_FFV1ENC_H
+#define AVCODEC_FFV1ENC_H
+
+#include "avcodec.h"
+
+av_cold int ff_ffv1_encode_init(AVCodecContext *avctx);
+
+#endif /* AVCODEC_FFV1ENC_H */
--
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".
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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
nt i = 0; i < nb_bufs; i++)
--
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".
.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".
* 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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
: 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".
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.
decContext *avctx,
Thanks, pushed.
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".
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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] 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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] 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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
On 22/09/2024 20:40, nihil-admirari via ffmpeg-devel wrote:
From: nihil-admirari <[email protected]>
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
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".
301 - 400 of 3425 matches
Mail list logo