forked from pool/ffmpeg-6
Compare commits
55 Commits
Author | SHA256 | Date | |
---|---|---|---|
|
a83607c49f | ||
37022fa4b7 | |||
34f12f3313 | |||
|
a535192465 | ||
|
1931ef54e9 | ||
|
3dc00c407a | ||
|
4d54d8086a | ||
|
ef90bed272 | ||
|
bdaf5cc8be | ||
|
177aede81b | ||
|
73ac4deee2 | ||
07e03ab737 | |||
810db304f3 | |||
|
a99c9096e3 | ||
e279b3439a | |||
850606dbb3 | |||
d16bcace68 | |||
9637633615 | |||
6077246dc4 | |||
|
e02b000d9f | ||
3c03a0259b | |||
ad065382ce | |||
|
c9e17b770f | ||
fcdcadb49c | |||
7ed2b7da36 | |||
|
416d7816a3 | ||
79ab95ac5b | |||
|
ba1bdd9066 | ||
363a57284f | |||
|
bf90a3d6d7 | ||
d3e262838a | |||
0445c3e8cf | |||
5eff92886e | |||
4e2df0b626 | |||
f351f18d2a | |||
3474723ff0 | |||
|
960f80c103 | ||
031db8365e | |||
a0fbc54696 | |||
e3acc389ae | |||
|
b766f8dabb | ||
e2474369eb | |||
|
d449b8d444 | ||
51a1c6048e | |||
c145f0ad02 | |||
|
3c43ece7f2 | ||
4e29644c2e | |||
4e9ea70452 | |||
|
2f8d1c03b2 | ||
8eb700d006 | |||
|
ec7879f869 | ||
9b3c01611a | |||
86f438afe1 | |||
016138e5a1 | |||
5bf4983318 |
@ -1,992 +0,0 @@
|
||||
From e06ce6d2b45edac4a2df04f304e18d4727417d24 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Jan=20Ekstr=C3=B6m?= <jeebjp@gmail.com>
|
||||
Date: Wed, 14 Feb 2024 22:40:54 +0200
|
||||
Subject: [PATCH] {avcodec,tests}: rename the bundled Mesa AV1 vulkan video
|
||||
headers
|
||||
|
||||
This together with adjusting the inclusion define allows for the
|
||||
build to not fail with latest Vulkan-Headers that contain the
|
||||
stabilized Vulkan AV1 decoding definitions.
|
||||
|
||||
Compilation fails currently as the AV1 header is getting included
|
||||
via hwcontext_vulkan.h -> <vulkan/vulkan.h> -> vulkan_core.h, which
|
||||
finally includes vk_video/vulkan_video_codec_av1std.h and the decode
|
||||
header, leading to the bundled header to never defining anything
|
||||
due to the inclusion define being the same.
|
||||
|
||||
This fix is imperfect, as it leads to additional re-definition
|
||||
warnings for things such as
|
||||
VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_SPEC_VERSION. , but it is
|
||||
not clear how to otherwise have the bundled version trump the
|
||||
actually standardized one for a short-term compilation fix.
|
||||
---
|
||||
libavcodec/Makefile | 4 +-
|
||||
libavcodec/vulkan_video.h | 4 +-
|
||||
libavcodec/vulkan_video_codec_av1std.h | 403 ------------------
|
||||
libavcodec/vulkan_video_codec_av1std_decode.h | 36 --
|
||||
.../vulkan_video_codec_av1std_decode_mesa.h | 36 ++
|
||||
libavcodec/vulkan_video_codec_av1std_mesa.h | 403 ++++++++++++++++++
|
||||
tests/ref/fate/source | 4 +-
|
||||
7 files changed, 445 insertions(+), 445 deletions(-)
|
||||
delete mode 100644 libavcodec/vulkan_video_codec_av1std.h
|
||||
delete mode 100644 libavcodec/vulkan_video_codec_av1std_decode.h
|
||||
create mode 100644 libavcodec/vulkan_video_codec_av1std_decode_mesa.h
|
||||
create mode 100644 libavcodec/vulkan_video_codec_av1std_mesa.h
|
||||
|
||||
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
|
||||
index 470d7cb9b1..09ae5270b3 100644
|
||||
--- a/libavcodec/Makefile
|
||||
+++ b/libavcodec/Makefile
|
||||
@@ -1262,7 +1262,7 @@ SKIPHEADERS += %_tablegen.h \
|
||||
aacenc_quantization.h \
|
||||
aacenc_quantization_misc.h \
|
||||
bitstream_template.h \
|
||||
- vulkan_video_codec_av1std.h \
|
||||
+ vulkan_video_codec_av1std_mesa.h \
|
||||
$(ARCH)/vpx_arith.h \
|
||||
|
||||
SKIPHEADERS-$(CONFIG_AMF) += amfenc.h
|
||||
@@ -1285,7 +1285,7 @@ SKIPHEADERS-$(CONFIG_XVMC) += xvmc.h
|
||||
SKIPHEADERS-$(CONFIG_VAAPI) += vaapi_decode.h vaapi_hevc.h vaapi_encode.h
|
||||
SKIPHEADERS-$(CONFIG_VDPAU) += vdpau.h vdpau_internal.h
|
||||
SKIPHEADERS-$(CONFIG_VIDEOTOOLBOX) += videotoolbox.h vt_internal.h
|
||||
-SKIPHEADERS-$(CONFIG_VULKAN) += vulkan.h vulkan_video.h vulkan_decode.h vulkan_video_codec_av1std_decode.h
|
||||
+SKIPHEADERS-$(CONFIG_VULKAN) += vulkan.h vulkan_video.h vulkan_decode.h vulkan_video_codec_av1std_decode_mesa.h
|
||||
SKIPHEADERS-$(CONFIG_V4L2_M2M) += v4l2_buffers.h v4l2_context.h v4l2_m2m.h
|
||||
SKIPHEADERS-$(CONFIG_ZLIB) += zlib_wrapper.h
|
||||
|
||||
diff --git a/libavcodec/vulkan_video.h b/libavcodec/vulkan_video.h
|
||||
index b28e3fe0bd..51f44dd543 100644
|
||||
--- a/libavcodec/vulkan_video.h
|
||||
+++ b/libavcodec/vulkan_video.h
|
||||
@@ -23,8 +23,8 @@
|
||||
#include "vulkan.h"
|
||||
|
||||
#include <vk_video/vulkan_video_codecs_common.h>
|
||||
-#include "vulkan_video_codec_av1std.h"
|
||||
-#include "vulkan_video_codec_av1std_decode.h"
|
||||
+#include "vulkan_video_codec_av1std_mesa.h"
|
||||
+#include "vulkan_video_codec_av1std_decode_mesa.h"
|
||||
|
||||
#define CODEC_VER_MAJ(ver) (ver >> 22)
|
||||
#define CODEC_VER_MIN(ver) ((ver >> 12) & ((1 << 10) - 1))
|
||||
diff --git a/libavcodec/vulkan_video_codec_av1std.h b/libavcodec/vulkan_video_codec_av1std.h
|
||||
deleted file mode 100644
|
||||
index c46236c457..0000000000
|
||||
--- a/libavcodec/vulkan_video_codec_av1std.h
|
||||
+++ /dev/null
|
||||
@@ -1,403 +0,0 @@
|
||||
-/* Copyright 2023 Lynne
|
||||
- * Copyright 2023 Dave Airlie
|
||||
- *
|
||||
- * Licensed under the Apache License, Version 2.0 (the "License");
|
||||
- * you may not use this file except in compliance with the License.
|
||||
- * You may obtain a copy of the License at
|
||||
- *
|
||||
- * http://www.apache.org/licenses/LICENSE-2.0
|
||||
- *
|
||||
- * Unless required by applicable law or agreed to in writing, software
|
||||
- * distributed under the License is distributed on an "AS IS" BASIS,
|
||||
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
- * See the License for the specific language governing permissions and
|
||||
- * limitations under the License.
|
||||
- */
|
||||
-
|
||||
-#ifndef VULKAN_VIDEO_CODEC_AV1STD_H_
|
||||
-#define VULKAN_VIDEO_CODEC_AV1STD_H_ 1
|
||||
-
|
||||
-/*
|
||||
-** This header is NOT YET generated from the Khronos Vulkan XML API Registry.
|
||||
-**
|
||||
-*/
|
||||
-
|
||||
-#ifdef __cplusplus
|
||||
-extern "C" {
|
||||
-#endif
|
||||
-#define vulkan_video_codec_av1std 1
|
||||
-
|
||||
-#define VK_MAKE_VIDEO_STD_VERSION(major, minor, patch) \
|
||||
- ((((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch)))
|
||||
-#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_0_1_0 VK_MAKE_VIDEO_STD_VERSION(0, 1, 0)
|
||||
-#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_0_1_0
|
||||
-#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_av1_decode"
|
||||
-
|
||||
-typedef enum StdVideoAV1MESAProfile {
|
||||
- STD_VIDEO_AV1_MESA_PROFILE_MAIN = 0,
|
||||
- STD_VIDEO_AV1_MESA_PROFILE_HIGH = 1,
|
||||
- STD_VIDEO_AV1_MESA_PROFILE_PROFESSIONAL = 2,
|
||||
-} StdVideoAV1MESAProfile;
|
||||
-
|
||||
-typedef enum StdVideoAV1MESALevel {
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_2_0 = 0,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_2_1 = 1,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_2_2 = 2,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_2_3 = 3,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_3_0 = 4,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_3_1 = 5,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_3_2 = 6,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_3_3 = 7,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_4_0 = 8,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_4_1 = 9,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_4_2 = 10,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_4_3 = 11,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_5_0 = 12,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_5_1 = 13,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_5_2 = 14,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_5_3 = 15,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_6_0 = 16,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_6_1 = 17,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_6_2 = 18,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_6_3 = 19,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_7_0 = 20,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_7_1 = 21,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_7_2 = 22,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_7_3 = 23,
|
||||
- STD_VIDEO_AV1_MESA_LEVEL_MAX = 31,
|
||||
-} StdVideoAV1MESALevel;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAFilmGrainFlags {
|
||||
- uint8_t apply_grain;
|
||||
- uint8_t chroma_scaling_from_luma;
|
||||
- uint8_t overlap_flag;
|
||||
- uint8_t clip_to_restricted_range;
|
||||
-} StdVideoAV1MESAFilmGrainFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAFilmGrainParameters {
|
||||
- StdVideoAV1MESAFilmGrainFlags flags;
|
||||
- uint32_t grain_scaling_minus_8;
|
||||
- uint32_t ar_coeff_lag;
|
||||
- uint32_t ar_coeff_shift_minus_6;
|
||||
- uint32_t grain_scale_shift;
|
||||
-
|
||||
- uint16_t grain_seed;
|
||||
- uint8_t num_y_points;
|
||||
- uint8_t point_y_value[14];
|
||||
- uint8_t point_y_scaling[14];
|
||||
-
|
||||
- uint8_t num_cb_points;
|
||||
- uint8_t point_cb_value[10];
|
||||
- uint8_t point_cb_scaling[10];
|
||||
-
|
||||
- uint8_t num_cr_points;
|
||||
- uint8_t point_cr_value[10];
|
||||
- uint8_t point_cr_scaling[10];
|
||||
-
|
||||
- int8_t ar_coeffs_y_plus_128[24];
|
||||
- int8_t ar_coeffs_cb_plus_128[25];
|
||||
- int8_t ar_coeffs_cr_plus_128[25];
|
||||
- uint8_t cb_mult;
|
||||
- uint8_t cb_luma_mult;
|
||||
- uint16_t cb_offset;
|
||||
- uint8_t cr_mult;
|
||||
- uint8_t cr_luma_mult;
|
||||
- uint16_t cr_offset;
|
||||
-} StdVideoAV1MESAFilmGrainParameters;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAGlobalMotionFlags {
|
||||
- uint8_t gm_invalid;
|
||||
-} StdVideoAV1MESAGlobalMotionFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAGlobalMotion {
|
||||
- StdVideoAV1MESAGlobalMotionFlags flags;
|
||||
- uint8_t gm_type;
|
||||
- uint32_t gm_params[6];
|
||||
-} StdVideoAV1MESAGlobalMotion;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESALoopRestoration {
|
||||
- uint8_t lr_type[3];
|
||||
- uint8_t lr_unit_shift;
|
||||
- uint8_t lr_uv_shift;
|
||||
-} StdVideoAV1MESALoopRestoration;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESATileInfoFlags {
|
||||
- uint8_t uniform_tile_spacing_flag;
|
||||
-} StdVideoAV1MESATileInfoFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESATileInfo {
|
||||
- StdVideoAV1MESATileInfoFlags flags;
|
||||
- uint8_t tile_cols;
|
||||
- uint8_t tile_rows;
|
||||
- uint8_t tile_start_col_sb[64];
|
||||
- uint8_t tile_start_row_sb[64];
|
||||
- uint8_t width_in_sbs_minus_1[64];
|
||||
- uint8_t height_in_sbs_minus_1[64];
|
||||
- uint16_t context_update_tile_id;
|
||||
- uint8_t tile_size_bytes_minus1;
|
||||
-} StdVideoAV1MESATileInfo;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAQuantizationFlags {
|
||||
- uint8_t using_qmatrix;
|
||||
-} StdVideoAV1MESAQuantizationFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAQuantization {
|
||||
- StdVideoAV1MESAQuantizationFlags flags;
|
||||
- uint8_t base_q_idx;
|
||||
- int8_t delta_q_y_dc;
|
||||
- uint8_t diff_uv_delta;
|
||||
- int8_t delta_q_u_dc;
|
||||
- int8_t delta_q_u_ac;
|
||||
- int8_t delta_q_v_dc;
|
||||
- int8_t delta_q_v_ac;
|
||||
- uint8_t qm_y;
|
||||
- uint8_t qm_u;
|
||||
- uint8_t qm_v;
|
||||
-} StdVideoAV1MESAQuantization;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESACDEF {
|
||||
- uint8_t damping_minus_3;
|
||||
- uint8_t bits;
|
||||
- uint8_t y_pri_strength[8];
|
||||
- uint8_t y_sec_strength[8];
|
||||
- uint8_t uv_pri_strength[8];
|
||||
- uint8_t uv_sec_strength[8];
|
||||
-} StdVideoAV1MESACDEF;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESADeltaQFlags {
|
||||
- uint8_t delta_lf_present;
|
||||
- uint8_t delta_lf_multi;
|
||||
-} StdVideoAV1MESADeltaQFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESADeltaQ {
|
||||
- StdVideoAV1MESADeltaQFlags flags;
|
||||
- uint8_t delta_q_res;
|
||||
- uint8_t delta_lf_res;
|
||||
-} StdVideoAV1MESADeltaQ;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESASegmentationFlags {
|
||||
- uint8_t enabled;
|
||||
- uint8_t update_map;
|
||||
- uint8_t temporal_update;
|
||||
- uint8_t update_data;
|
||||
-} StdVideoAV1MESASegmentationFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESASegmentation {
|
||||
- StdVideoAV1MESASegmentationFlags flags;
|
||||
- uint8_t feature_enabled_bits[8];
|
||||
- int16_t feature_data[8][8];
|
||||
-} StdVideoAV1MESASegmentation;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESALoopFilterFlags {
|
||||
- uint8_t delta_enabled;
|
||||
- uint8_t delta_update;
|
||||
-} StdVideoAV1MESALoopFilterFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESALoopFilter {
|
||||
- StdVideoAV1MESALoopFilterFlags flags;
|
||||
- uint8_t level[4];
|
||||
- uint8_t sharpness;
|
||||
- int8_t ref_deltas[8];
|
||||
- int8_t mode_deltas[2];
|
||||
-} StdVideoAV1MESALoopFilter;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAFrameHeaderFlags {
|
||||
- uint8_t error_resilient_mode;
|
||||
- uint8_t disable_cdf_update;
|
||||
- uint8_t use_superres;
|
||||
- uint8_t render_and_frame_size_different;
|
||||
- uint8_t allow_screen_content_tools;
|
||||
- uint8_t is_filter_switchable;
|
||||
- uint8_t force_integer_mv;
|
||||
- uint8_t frame_size_override_flag;
|
||||
- uint8_t buffer_removal_time_present_flag;
|
||||
- uint8_t allow_intrabc;
|
||||
- uint8_t frame_refs_short_signaling;
|
||||
- uint8_t allow_high_precision_mv;
|
||||
- uint8_t is_motion_mode_switchable;
|
||||
- uint8_t use_ref_frame_mvs;
|
||||
- uint8_t disable_frame_end_update_cdf;
|
||||
- uint8_t allow_warped_motion;
|
||||
- uint8_t reduced_tx_set;
|
||||
- uint8_t reference_select;
|
||||
- uint8_t skip_mode_present;
|
||||
- uint8_t delta_q_present;
|
||||
- uint8_t UsesLr;
|
||||
-} StdVideoAV1MESAFrameHeaderFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAFrameHeader {
|
||||
- StdVideoAV1MESAFrameHeaderFlags flags;
|
||||
-
|
||||
- uint32_t frame_presentation_time;
|
||||
- uint32_t display_frame_id;
|
||||
- uint32_t current_frame_id;
|
||||
- uint8_t frame_to_show_map_idx;
|
||||
- uint8_t frame_type;
|
||||
- uint8_t order_hint;
|
||||
- uint8_t primary_ref_frame;
|
||||
- uint16_t frame_width_minus_1;
|
||||
- uint16_t frame_height_minus_1;
|
||||
- uint16_t render_width_minus_1;
|
||||
- uint16_t render_height_minus_1;
|
||||
- uint8_t coded_denom;
|
||||
-
|
||||
- uint8_t refresh_frame_flags;
|
||||
- uint8_t ref_order_hint[8];
|
||||
- int8_t ref_frame_idx[7];
|
||||
- uint32_t delta_frame_id_minus1[7];
|
||||
-
|
||||
- uint8_t interpolation_filter;
|
||||
- uint8_t tx_mode;
|
||||
-
|
||||
- StdVideoAV1MESATileInfo tiling;
|
||||
- StdVideoAV1MESAQuantization quantization;
|
||||
- StdVideoAV1MESASegmentation segmentation;
|
||||
- StdVideoAV1MESADeltaQ delta_q;
|
||||
- StdVideoAV1MESALoopFilter loop_filter;
|
||||
- StdVideoAV1MESACDEF cdef;
|
||||
- StdVideoAV1MESALoopRestoration lr;
|
||||
- StdVideoAV1MESAGlobalMotion global_motion[8]; // One per ref frame
|
||||
- StdVideoAV1MESAFilmGrainParameters film_grain;
|
||||
-} StdVideoAV1MESAFrameHeader;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAScreenCoding {
|
||||
- uint8_t seq_force_screen_content_tools;
|
||||
-} StdVideoAV1MESAScreenCoding;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESATimingInfoFlags {
|
||||
- uint8_t equal_picture_interval;
|
||||
-} StdVideoAV1MESATimingInfoFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESATimingInfo {
|
||||
- StdVideoAV1MESATimingInfoFlags flags;
|
||||
- uint32_t num_units_in_display_tick;
|
||||
- uint32_t time_scale;
|
||||
- uint32_t num_ticks_per_picture_minus_1;
|
||||
-} StdVideoAV1MESATimingInfo;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAColorConfigFlags {
|
||||
- uint8_t mono_chrome;
|
||||
- uint8_t color_range;
|
||||
- uint8_t separate_uv_delta_q;
|
||||
-} StdVideoAV1MESAColorConfigFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESAColorConfig {
|
||||
- StdVideoAV1MESAColorConfigFlags flags;
|
||||
- uint8_t bit_depth;
|
||||
- uint8_t subsampling_x;
|
||||
- uint8_t subsampling_y;
|
||||
-} StdVideoAV1MESAColorConfig;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESASequenceHeaderFlags {
|
||||
- uint8_t still_picture;
|
||||
- uint8_t reduced_still_picture_header;
|
||||
- uint8_t use_128x128_superblock;
|
||||
- uint8_t enable_filter_intra;
|
||||
- uint8_t enable_intra_edge_filter;
|
||||
- uint8_t enable_interintra_compound;
|
||||
- uint8_t enable_masked_compound;
|
||||
- uint8_t enable_warped_motion;
|
||||
- uint8_t enable_dual_filter;
|
||||
- uint8_t enable_order_hint;
|
||||
- uint8_t enable_jnt_comp;
|
||||
- uint8_t enable_ref_frame_mvs;
|
||||
- uint8_t frame_id_numbers_present_flag;
|
||||
- uint8_t enable_superres;
|
||||
- uint8_t enable_cdef;
|
||||
- uint8_t enable_restoration;
|
||||
- uint8_t film_grain_params_present;
|
||||
- uint8_t timing_info_present_flag;
|
||||
- uint8_t initial_display_delay_present_flag;
|
||||
-} StdVideoAV1MESASequenceHeaderFlags;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESASequenceHeader {
|
||||
- StdVideoAV1MESASequenceHeaderFlags flags;
|
||||
-
|
||||
- StdVideoAV1MESAProfile seq_profile;
|
||||
- uint8_t frame_width_bits_minus_1;
|
||||
- uint8_t frame_height_bits_minus_1;
|
||||
- uint16_t max_frame_width_minus_1;
|
||||
- uint16_t max_frame_height_minus_1;
|
||||
- uint8_t delta_frame_id_length_minus_2;
|
||||
- uint8_t additional_frame_id_length_minus_1;
|
||||
- uint8_t order_hint_bits_minus_1;
|
||||
- uint8_t seq_choose_integer_mv;
|
||||
- uint8_t seq_force_integer_mv;
|
||||
-
|
||||
- StdVideoAV1MESATimingInfo timing_info;
|
||||
- StdVideoAV1MESAColorConfig color_config;
|
||||
-} StdVideoAV1MESASequenceHeader;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESATile {
|
||||
- uint16_t tg_start;
|
||||
- uint16_t tg_end;
|
||||
- uint16_t row;
|
||||
- uint16_t column;
|
||||
- uint32_t size;
|
||||
- uint32_t offset;
|
||||
-} StdVideoAV1MESATile;
|
||||
-
|
||||
-typedef struct StdVideoAV1MESATileList {
|
||||
- StdVideoAV1MESATile *tile_list;
|
||||
- uint32_t nb_tiles;
|
||||
-} StdVideoAV1MESATileList;
|
||||
-
|
||||
-typedef struct VkVideoDecodeAV1PictureInfoMESA {
|
||||
- VkStructureType sType;
|
||||
- const void *pNext;
|
||||
- StdVideoAV1MESAFrameHeader *frame_header;
|
||||
- StdVideoAV1MESATileList *tile_list;
|
||||
- uint8_t skip_mode_frame_idx[2];
|
||||
-} VkVideoDecodeAV1PictureInfoMESA;
|
||||
-
|
||||
-typedef struct VkVideoDecodeAV1DpbSlotInfoMESA {
|
||||
- VkStructureType sType;
|
||||
- const void *pNext;
|
||||
- uint8_t frameIdx;
|
||||
- uint8_t ref_order_hint[7];
|
||||
- uint8_t disable_frame_end_update_cdf;
|
||||
-} VkVideoDecodeAV1DpbSlotInfoMESA;
|
||||
-
|
||||
-typedef struct VkVideoDecodeAV1SessionParametersAddInfoMESA {
|
||||
- VkStructureType sType;
|
||||
- const void *pNext;
|
||||
- StdVideoAV1MESASequenceHeader *sequence_header;
|
||||
-} VkVideoDecodeAV1SessionParametersAddInfoMESA;
|
||||
-
|
||||
-typedef struct VkVideoDecodeAV1SessionParametersCreateInfoMESA {
|
||||
- VkStructureType sType;
|
||||
- const void *pNext;
|
||||
- const VkVideoDecodeAV1SessionParametersAddInfoMESA *pParametersAddInfo;
|
||||
-} VkVideoDecodeAV1SessionParametersCreateInfoMESA;
|
||||
-
|
||||
-typedef struct VkVideoDecodeAV1ProfileInfoMESA {
|
||||
- VkStructureType sType;
|
||||
- const void *pNext;
|
||||
- StdVideoAV1MESAProfile stdProfileIdc;
|
||||
-} VkVideoDecodeAV1ProfileInfoMESA;
|
||||
-
|
||||
-typedef enum VkVideoDecodeAV1CapabilityFlagBitsMESA {
|
||||
- VK_VIDEO_DECODE_AV1_CAPABILITY_EXTERNAL_FILM_GRAIN_MESA = 0x00000001,
|
||||
- VK_VIDEO_DECODE_AV1_CAPABILITY_FLAG_BITS_MAX_ENUM_MESA = 0x7FFFFFFF
|
||||
-} VkVideoDecodeAV1CapabilityFlagBitsMESA;
|
||||
-typedef VkFlags VkVideoDecodeAV1CapabilityFlagsMESA;
|
||||
-
|
||||
-typedef struct VkVideoDecodeAV1CapabilitiesMESA {
|
||||
- VkStructureType sType;
|
||||
- const void *pNext;
|
||||
- VkVideoDecodeAV1CapabilityFlagsMESA flags;
|
||||
- StdVideoAV1MESALevel maxLevelIdc;
|
||||
-} VkVideoDecodeAV1CapabilitiesMESA;
|
||||
-
|
||||
-#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PICTURE_INFO_MESA 1000509000
|
||||
-#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_MESA 1000509001
|
||||
-#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_ADD_INFO_MESA 1000509002
|
||||
-#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_DPB_SLOT_INFO_MESA 1000509003
|
||||
-#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_MESA 1000509004
|
||||
-#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_MESA 1000509005
|
||||
-
|
||||
-#ifdef __cplusplus
|
||||
-}
|
||||
-#endif
|
||||
-
|
||||
-#endif
|
||||
diff --git a/libavcodec/vulkan_video_codec_av1std_decode.h b/libavcodec/vulkan_video_codec_av1std_decode.h
|
||||
deleted file mode 100644
|
||||
index a697c00593..0000000000
|
||||
--- a/libavcodec/vulkan_video_codec_av1std_decode.h
|
||||
+++ /dev/null
|
||||
@@ -1,36 +0,0 @@
|
||||
-/* Copyright 2023 Lynne
|
||||
- * Copyright 2023 Dave Airlie
|
||||
- *
|
||||
- * Licensed under the Apache License, Version 2.0 (the "License");
|
||||
- * you may not use this file except in compliance with the License.
|
||||
- * You may obtain a copy of the License at
|
||||
- *
|
||||
- * http://www.apache.org/licenses/LICENSE-2.0
|
||||
- *
|
||||
- * Unless required by applicable law or agreed to in writing, software
|
||||
- * distributed under the License is distributed on an "AS IS" BASIS,
|
||||
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
- * See the License for the specific language governing permissions and
|
||||
- * limitations under the License.
|
||||
- */
|
||||
-
|
||||
-#ifndef VULKAN_VIDEO_CODEC_AV1STD_DECODE_H_
|
||||
-#define VULKAN_VIDEO_CODEC_AV1STD_DECODE_H_ 1
|
||||
-
|
||||
-/*
|
||||
-** This header is NOT YET generated from the Khronos Vulkan XML API Registry.
|
||||
-**
|
||||
-*/
|
||||
-
|
||||
-#ifdef __cplusplus
|
||||
-extern "C" {
|
||||
-#endif
|
||||
-#define vulkan_video_codec_av1std_decode 1
|
||||
-
|
||||
-
|
||||
-
|
||||
-#ifdef __cplusplus
|
||||
-}
|
||||
-#endif
|
||||
-
|
||||
-#endif
|
||||
diff --git a/libavcodec/vulkan_video_codec_av1std_decode_mesa.h b/libavcodec/vulkan_video_codec_av1std_decode_mesa.h
|
||||
new file mode 100644
|
||||
index 0000000000..e2f37b4e6e
|
||||
--- /dev/null
|
||||
+++ b/libavcodec/vulkan_video_codec_av1std_decode_mesa.h
|
||||
@@ -0,0 +1,36 @@
|
||||
+/* Copyright 2023 Lynne
|
||||
+ * Copyright 2023 Dave Airlie
|
||||
+ *
|
||||
+ * Licensed under the Apache License, Version 2.0 (the "License");
|
||||
+ * you may not use this file except in compliance with the License.
|
||||
+ * You may obtain a copy of the License at
|
||||
+ *
|
||||
+ * http://www.apache.org/licenses/LICENSE-2.0
|
||||
+ *
|
||||
+ * Unless required by applicable law or agreed to in writing, software
|
||||
+ * distributed under the License is distributed on an "AS IS" BASIS,
|
||||
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
+ * See the License for the specific language governing permissions and
|
||||
+ * limitations under the License.
|
||||
+ */
|
||||
+
|
||||
+#ifndef VULKAN_VIDEO_CODEC_AV1STD_DECODE_MESA_H_
|
||||
+#define VULKAN_VIDEO_CODEC_AV1STD_DECODE_MESA_H_ 1
|
||||
+
|
||||
+/*
|
||||
+** This header is NOT YET generated from the Khronos Vulkan XML API Registry.
|
||||
+**
|
||||
+*/
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+#define vulkan_video_codec_av1std_decode 1
|
||||
+
|
||||
+
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#endif
|
||||
diff --git a/libavcodec/vulkan_video_codec_av1std_mesa.h b/libavcodec/vulkan_video_codec_av1std_mesa.h
|
||||
new file mode 100644
|
||||
index 0000000000..c91589eee2
|
||||
--- /dev/null
|
||||
+++ b/libavcodec/vulkan_video_codec_av1std_mesa.h
|
||||
@@ -0,0 +1,403 @@
|
||||
+/* Copyright 2023 Lynne
|
||||
+ * Copyright 2023 Dave Airlie
|
||||
+ *
|
||||
+ * Licensed under the Apache License, Version 2.0 (the "License");
|
||||
+ * you may not use this file except in compliance with the License.
|
||||
+ * You may obtain a copy of the License at
|
||||
+ *
|
||||
+ * http://www.apache.org/licenses/LICENSE-2.0
|
||||
+ *
|
||||
+ * Unless required by applicable law or agreed to in writing, software
|
||||
+ * distributed under the License is distributed on an "AS IS" BASIS,
|
||||
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
+ * See the License for the specific language governing permissions and
|
||||
+ * limitations under the License.
|
||||
+ */
|
||||
+
|
||||
+#ifndef VULKAN_VIDEO_CODEC_AV1STD_MESA_H_
|
||||
+#define VULKAN_VIDEO_CODEC_AV1STD_MESA_H_ 1
|
||||
+
|
||||
+/*
|
||||
+** This header is NOT YET generated from the Khronos Vulkan XML API Registry.
|
||||
+**
|
||||
+*/
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+#define vulkan_video_codec_av1std 1
|
||||
+
|
||||
+#define VK_MAKE_VIDEO_STD_VERSION(major, minor, patch) \
|
||||
+ ((((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch)))
|
||||
+#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_0_1_0 VK_MAKE_VIDEO_STD_VERSION(0, 1, 0)
|
||||
+#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_0_1_0
|
||||
+#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_av1_decode"
|
||||
+
|
||||
+typedef enum StdVideoAV1MESAProfile {
|
||||
+ STD_VIDEO_AV1_MESA_PROFILE_MAIN = 0,
|
||||
+ STD_VIDEO_AV1_MESA_PROFILE_HIGH = 1,
|
||||
+ STD_VIDEO_AV1_MESA_PROFILE_PROFESSIONAL = 2,
|
||||
+} StdVideoAV1MESAProfile;
|
||||
+
|
||||
+typedef enum StdVideoAV1MESALevel {
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_2_0 = 0,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_2_1 = 1,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_2_2 = 2,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_2_3 = 3,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_3_0 = 4,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_3_1 = 5,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_3_2 = 6,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_3_3 = 7,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_4_0 = 8,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_4_1 = 9,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_4_2 = 10,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_4_3 = 11,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_5_0 = 12,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_5_1 = 13,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_5_2 = 14,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_5_3 = 15,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_6_0 = 16,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_6_1 = 17,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_6_2 = 18,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_6_3 = 19,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_7_0 = 20,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_7_1 = 21,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_7_2 = 22,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_7_3 = 23,
|
||||
+ STD_VIDEO_AV1_MESA_LEVEL_MAX = 31,
|
||||
+} StdVideoAV1MESALevel;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAFilmGrainFlags {
|
||||
+ uint8_t apply_grain;
|
||||
+ uint8_t chroma_scaling_from_luma;
|
||||
+ uint8_t overlap_flag;
|
||||
+ uint8_t clip_to_restricted_range;
|
||||
+} StdVideoAV1MESAFilmGrainFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAFilmGrainParameters {
|
||||
+ StdVideoAV1MESAFilmGrainFlags flags;
|
||||
+ uint32_t grain_scaling_minus_8;
|
||||
+ uint32_t ar_coeff_lag;
|
||||
+ uint32_t ar_coeff_shift_minus_6;
|
||||
+ uint32_t grain_scale_shift;
|
||||
+
|
||||
+ uint16_t grain_seed;
|
||||
+ uint8_t num_y_points;
|
||||
+ uint8_t point_y_value[14];
|
||||
+ uint8_t point_y_scaling[14];
|
||||
+
|
||||
+ uint8_t num_cb_points;
|
||||
+ uint8_t point_cb_value[10];
|
||||
+ uint8_t point_cb_scaling[10];
|
||||
+
|
||||
+ uint8_t num_cr_points;
|
||||
+ uint8_t point_cr_value[10];
|
||||
+ uint8_t point_cr_scaling[10];
|
||||
+
|
||||
+ int8_t ar_coeffs_y_plus_128[24];
|
||||
+ int8_t ar_coeffs_cb_plus_128[25];
|
||||
+ int8_t ar_coeffs_cr_plus_128[25];
|
||||
+ uint8_t cb_mult;
|
||||
+ uint8_t cb_luma_mult;
|
||||
+ uint16_t cb_offset;
|
||||
+ uint8_t cr_mult;
|
||||
+ uint8_t cr_luma_mult;
|
||||
+ uint16_t cr_offset;
|
||||
+} StdVideoAV1MESAFilmGrainParameters;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAGlobalMotionFlags {
|
||||
+ uint8_t gm_invalid;
|
||||
+} StdVideoAV1MESAGlobalMotionFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAGlobalMotion {
|
||||
+ StdVideoAV1MESAGlobalMotionFlags flags;
|
||||
+ uint8_t gm_type;
|
||||
+ uint32_t gm_params[6];
|
||||
+} StdVideoAV1MESAGlobalMotion;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESALoopRestoration {
|
||||
+ uint8_t lr_type[3];
|
||||
+ uint8_t lr_unit_shift;
|
||||
+ uint8_t lr_uv_shift;
|
||||
+} StdVideoAV1MESALoopRestoration;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESATileInfoFlags {
|
||||
+ uint8_t uniform_tile_spacing_flag;
|
||||
+} StdVideoAV1MESATileInfoFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESATileInfo {
|
||||
+ StdVideoAV1MESATileInfoFlags flags;
|
||||
+ uint8_t tile_cols;
|
||||
+ uint8_t tile_rows;
|
||||
+ uint8_t tile_start_col_sb[64];
|
||||
+ uint8_t tile_start_row_sb[64];
|
||||
+ uint8_t width_in_sbs_minus_1[64];
|
||||
+ uint8_t height_in_sbs_minus_1[64];
|
||||
+ uint16_t context_update_tile_id;
|
||||
+ uint8_t tile_size_bytes_minus1;
|
||||
+} StdVideoAV1MESATileInfo;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAQuantizationFlags {
|
||||
+ uint8_t using_qmatrix;
|
||||
+} StdVideoAV1MESAQuantizationFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAQuantization {
|
||||
+ StdVideoAV1MESAQuantizationFlags flags;
|
||||
+ uint8_t base_q_idx;
|
||||
+ int8_t delta_q_y_dc;
|
||||
+ uint8_t diff_uv_delta;
|
||||
+ int8_t delta_q_u_dc;
|
||||
+ int8_t delta_q_u_ac;
|
||||
+ int8_t delta_q_v_dc;
|
||||
+ int8_t delta_q_v_ac;
|
||||
+ uint8_t qm_y;
|
||||
+ uint8_t qm_u;
|
||||
+ uint8_t qm_v;
|
||||
+} StdVideoAV1MESAQuantization;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESACDEF {
|
||||
+ uint8_t damping_minus_3;
|
||||
+ uint8_t bits;
|
||||
+ uint8_t y_pri_strength[8];
|
||||
+ uint8_t y_sec_strength[8];
|
||||
+ uint8_t uv_pri_strength[8];
|
||||
+ uint8_t uv_sec_strength[8];
|
||||
+} StdVideoAV1MESACDEF;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESADeltaQFlags {
|
||||
+ uint8_t delta_lf_present;
|
||||
+ uint8_t delta_lf_multi;
|
||||
+} StdVideoAV1MESADeltaQFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESADeltaQ {
|
||||
+ StdVideoAV1MESADeltaQFlags flags;
|
||||
+ uint8_t delta_q_res;
|
||||
+ uint8_t delta_lf_res;
|
||||
+} StdVideoAV1MESADeltaQ;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESASegmentationFlags {
|
||||
+ uint8_t enabled;
|
||||
+ uint8_t update_map;
|
||||
+ uint8_t temporal_update;
|
||||
+ uint8_t update_data;
|
||||
+} StdVideoAV1MESASegmentationFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESASegmentation {
|
||||
+ StdVideoAV1MESASegmentationFlags flags;
|
||||
+ uint8_t feature_enabled_bits[8];
|
||||
+ int16_t feature_data[8][8];
|
||||
+} StdVideoAV1MESASegmentation;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESALoopFilterFlags {
|
||||
+ uint8_t delta_enabled;
|
||||
+ uint8_t delta_update;
|
||||
+} StdVideoAV1MESALoopFilterFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESALoopFilter {
|
||||
+ StdVideoAV1MESALoopFilterFlags flags;
|
||||
+ uint8_t level[4];
|
||||
+ uint8_t sharpness;
|
||||
+ int8_t ref_deltas[8];
|
||||
+ int8_t mode_deltas[2];
|
||||
+} StdVideoAV1MESALoopFilter;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAFrameHeaderFlags {
|
||||
+ uint8_t error_resilient_mode;
|
||||
+ uint8_t disable_cdf_update;
|
||||
+ uint8_t use_superres;
|
||||
+ uint8_t render_and_frame_size_different;
|
||||
+ uint8_t allow_screen_content_tools;
|
||||
+ uint8_t is_filter_switchable;
|
||||
+ uint8_t force_integer_mv;
|
||||
+ uint8_t frame_size_override_flag;
|
||||
+ uint8_t buffer_removal_time_present_flag;
|
||||
+ uint8_t allow_intrabc;
|
||||
+ uint8_t frame_refs_short_signaling;
|
||||
+ uint8_t allow_high_precision_mv;
|
||||
+ uint8_t is_motion_mode_switchable;
|
||||
+ uint8_t use_ref_frame_mvs;
|
||||
+ uint8_t disable_frame_end_update_cdf;
|
||||
+ uint8_t allow_warped_motion;
|
||||
+ uint8_t reduced_tx_set;
|
||||
+ uint8_t reference_select;
|
||||
+ uint8_t skip_mode_present;
|
||||
+ uint8_t delta_q_present;
|
||||
+ uint8_t UsesLr;
|
||||
+} StdVideoAV1MESAFrameHeaderFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAFrameHeader {
|
||||
+ StdVideoAV1MESAFrameHeaderFlags flags;
|
||||
+
|
||||
+ uint32_t frame_presentation_time;
|
||||
+ uint32_t display_frame_id;
|
||||
+ uint32_t current_frame_id;
|
||||
+ uint8_t frame_to_show_map_idx;
|
||||
+ uint8_t frame_type;
|
||||
+ uint8_t order_hint;
|
||||
+ uint8_t primary_ref_frame;
|
||||
+ uint16_t frame_width_minus_1;
|
||||
+ uint16_t frame_height_minus_1;
|
||||
+ uint16_t render_width_minus_1;
|
||||
+ uint16_t render_height_minus_1;
|
||||
+ uint8_t coded_denom;
|
||||
+
|
||||
+ uint8_t refresh_frame_flags;
|
||||
+ uint8_t ref_order_hint[8];
|
||||
+ int8_t ref_frame_idx[7];
|
||||
+ uint32_t delta_frame_id_minus1[7];
|
||||
+
|
||||
+ uint8_t interpolation_filter;
|
||||
+ uint8_t tx_mode;
|
||||
+
|
||||
+ StdVideoAV1MESATileInfo tiling;
|
||||
+ StdVideoAV1MESAQuantization quantization;
|
||||
+ StdVideoAV1MESASegmentation segmentation;
|
||||
+ StdVideoAV1MESADeltaQ delta_q;
|
||||
+ StdVideoAV1MESALoopFilter loop_filter;
|
||||
+ StdVideoAV1MESACDEF cdef;
|
||||
+ StdVideoAV1MESALoopRestoration lr;
|
||||
+ StdVideoAV1MESAGlobalMotion global_motion[8]; // One per ref frame
|
||||
+ StdVideoAV1MESAFilmGrainParameters film_grain;
|
||||
+} StdVideoAV1MESAFrameHeader;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAScreenCoding {
|
||||
+ uint8_t seq_force_screen_content_tools;
|
||||
+} StdVideoAV1MESAScreenCoding;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESATimingInfoFlags {
|
||||
+ uint8_t equal_picture_interval;
|
||||
+} StdVideoAV1MESATimingInfoFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESATimingInfo {
|
||||
+ StdVideoAV1MESATimingInfoFlags flags;
|
||||
+ uint32_t num_units_in_display_tick;
|
||||
+ uint32_t time_scale;
|
||||
+ uint32_t num_ticks_per_picture_minus_1;
|
||||
+} StdVideoAV1MESATimingInfo;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAColorConfigFlags {
|
||||
+ uint8_t mono_chrome;
|
||||
+ uint8_t color_range;
|
||||
+ uint8_t separate_uv_delta_q;
|
||||
+} StdVideoAV1MESAColorConfigFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESAColorConfig {
|
||||
+ StdVideoAV1MESAColorConfigFlags flags;
|
||||
+ uint8_t bit_depth;
|
||||
+ uint8_t subsampling_x;
|
||||
+ uint8_t subsampling_y;
|
||||
+} StdVideoAV1MESAColorConfig;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESASequenceHeaderFlags {
|
||||
+ uint8_t still_picture;
|
||||
+ uint8_t reduced_still_picture_header;
|
||||
+ uint8_t use_128x128_superblock;
|
||||
+ uint8_t enable_filter_intra;
|
||||
+ uint8_t enable_intra_edge_filter;
|
||||
+ uint8_t enable_interintra_compound;
|
||||
+ uint8_t enable_masked_compound;
|
||||
+ uint8_t enable_warped_motion;
|
||||
+ uint8_t enable_dual_filter;
|
||||
+ uint8_t enable_order_hint;
|
||||
+ uint8_t enable_jnt_comp;
|
||||
+ uint8_t enable_ref_frame_mvs;
|
||||
+ uint8_t frame_id_numbers_present_flag;
|
||||
+ uint8_t enable_superres;
|
||||
+ uint8_t enable_cdef;
|
||||
+ uint8_t enable_restoration;
|
||||
+ uint8_t film_grain_params_present;
|
||||
+ uint8_t timing_info_present_flag;
|
||||
+ uint8_t initial_display_delay_present_flag;
|
||||
+} StdVideoAV1MESASequenceHeaderFlags;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESASequenceHeader {
|
||||
+ StdVideoAV1MESASequenceHeaderFlags flags;
|
||||
+
|
||||
+ StdVideoAV1MESAProfile seq_profile;
|
||||
+ uint8_t frame_width_bits_minus_1;
|
||||
+ uint8_t frame_height_bits_minus_1;
|
||||
+ uint16_t max_frame_width_minus_1;
|
||||
+ uint16_t max_frame_height_minus_1;
|
||||
+ uint8_t delta_frame_id_length_minus_2;
|
||||
+ uint8_t additional_frame_id_length_minus_1;
|
||||
+ uint8_t order_hint_bits_minus_1;
|
||||
+ uint8_t seq_choose_integer_mv;
|
||||
+ uint8_t seq_force_integer_mv;
|
||||
+
|
||||
+ StdVideoAV1MESATimingInfo timing_info;
|
||||
+ StdVideoAV1MESAColorConfig color_config;
|
||||
+} StdVideoAV1MESASequenceHeader;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESATile {
|
||||
+ uint16_t tg_start;
|
||||
+ uint16_t tg_end;
|
||||
+ uint16_t row;
|
||||
+ uint16_t column;
|
||||
+ uint32_t size;
|
||||
+ uint32_t offset;
|
||||
+} StdVideoAV1MESATile;
|
||||
+
|
||||
+typedef struct StdVideoAV1MESATileList {
|
||||
+ StdVideoAV1MESATile *tile_list;
|
||||
+ uint32_t nb_tiles;
|
||||
+} StdVideoAV1MESATileList;
|
||||
+
|
||||
+typedef struct VkVideoDecodeAV1PictureInfoMESA {
|
||||
+ VkStructureType sType;
|
||||
+ const void *pNext;
|
||||
+ StdVideoAV1MESAFrameHeader *frame_header;
|
||||
+ StdVideoAV1MESATileList *tile_list;
|
||||
+ uint8_t skip_mode_frame_idx[2];
|
||||
+} VkVideoDecodeAV1PictureInfoMESA;
|
||||
+
|
||||
+typedef struct VkVideoDecodeAV1DpbSlotInfoMESA {
|
||||
+ VkStructureType sType;
|
||||
+ const void *pNext;
|
||||
+ uint8_t frameIdx;
|
||||
+ uint8_t ref_order_hint[7];
|
||||
+ uint8_t disable_frame_end_update_cdf;
|
||||
+} VkVideoDecodeAV1DpbSlotInfoMESA;
|
||||
+
|
||||
+typedef struct VkVideoDecodeAV1SessionParametersAddInfoMESA {
|
||||
+ VkStructureType sType;
|
||||
+ const void *pNext;
|
||||
+ StdVideoAV1MESASequenceHeader *sequence_header;
|
||||
+} VkVideoDecodeAV1SessionParametersAddInfoMESA;
|
||||
+
|
||||
+typedef struct VkVideoDecodeAV1SessionParametersCreateInfoMESA {
|
||||
+ VkStructureType sType;
|
||||
+ const void *pNext;
|
||||
+ const VkVideoDecodeAV1SessionParametersAddInfoMESA *pParametersAddInfo;
|
||||
+} VkVideoDecodeAV1SessionParametersCreateInfoMESA;
|
||||
+
|
||||
+typedef struct VkVideoDecodeAV1ProfileInfoMESA {
|
||||
+ VkStructureType sType;
|
||||
+ const void *pNext;
|
||||
+ StdVideoAV1MESAProfile stdProfileIdc;
|
||||
+} VkVideoDecodeAV1ProfileInfoMESA;
|
||||
+
|
||||
+typedef enum VkVideoDecodeAV1CapabilityFlagBitsMESA {
|
||||
+ VK_VIDEO_DECODE_AV1_CAPABILITY_EXTERNAL_FILM_GRAIN_MESA = 0x00000001,
|
||||
+ VK_VIDEO_DECODE_AV1_CAPABILITY_FLAG_BITS_MAX_ENUM_MESA = 0x7FFFFFFF
|
||||
+} VkVideoDecodeAV1CapabilityFlagBitsMESA;
|
||||
+typedef VkFlags VkVideoDecodeAV1CapabilityFlagsMESA;
|
||||
+
|
||||
+typedef struct VkVideoDecodeAV1CapabilitiesMESA {
|
||||
+ VkStructureType sType;
|
||||
+ const void *pNext;
|
||||
+ VkVideoDecodeAV1CapabilityFlagsMESA flags;
|
||||
+ StdVideoAV1MESALevel maxLevelIdc;
|
||||
+} VkVideoDecodeAV1CapabilitiesMESA;
|
||||
+
|
||||
+#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PICTURE_INFO_MESA 1000509000
|
||||
+#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_CREATE_INFO_MESA 1000509001
|
||||
+#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_SESSION_PARAMETERS_ADD_INFO_MESA 1000509002
|
||||
+#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_DPB_SLOT_INFO_MESA 1000509003
|
||||
+#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_CAPABILITIES_MESA 1000509004
|
||||
+#define VK_STRUCTURE_TYPE_VIDEO_DECODE_AV1_PROFILE_INFO_MESA 1000509005
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#endif
|
||||
diff --git a/tests/ref/fate/source b/tests/ref/fate/source
|
||||
index c575789dd5..8bb58b61f1 100644
|
||||
--- a/tests/ref/fate/source
|
||||
+++ b/tests/ref/fate/source
|
||||
@@ -23,8 +23,8 @@ compat/djgpp/math.h
|
||||
compat/float/float.h
|
||||
compat/float/limits.h
|
||||
libavcodec/bitstream_template.h
|
||||
-libavcodec/vulkan_video_codec_av1std.h
|
||||
-libavcodec/vulkan_video_codec_av1std_decode.h
|
||||
+libavcodec/vulkan_video_codec_av1std_decode_mesa.h
|
||||
+libavcodec/vulkan_video_codec_av1std_mesa.h
|
||||
tools/decode_simple.h
|
||||
Use of av_clip() where av_clip_uintp2() could be used:
|
||||
Use of av_clip() where av_clip_intp2() could be used:
|
||||
--
|
||||
2.44.0
|
||||
|
@ -0,0 +1,27 @@
|
||||
From: François Cartegnie <fcvlcdev@free.fr>
|
||||
Date: Mon, 13 May 2024 11:37:27 +0000
|
||||
Subject: avcodec/decode: clean-up if get_hw_frames_parameters fails
|
||||
|
||||
https://trac.ffmpeg.org/ticket/11013
|
||||
https://code.videolan.org/videolan/vlc/-/issues/28811
|
||||
|
||||
Fixes the following assert:
|
||||
|
||||
[00007f1df83d17e0] vaapi generic error: avcodec_get_hw_frames_parameters failed: -22
|
||||
Assertion p_dst->hwaccel_threadsafe || (!dst->hwaccel && !dst->internal->hwaccel_priv_data) failed at libavcodec/pthread_frame.c:349
|
||||
|
||||
Reproduced from VLC with VAAPI, when fallbacking from hw to sw.
|
||||
|
||||
--- a/libavcodec/pthread_frame.c
|
||||
+++ b/libavcodec/pthread_frame.c
|
||||
@@ -344,6 +344,10 @@ FF_ENABLE_DEPRECATION_WARNINGS
|
||||
return err;
|
||||
}
|
||||
|
||||
+ // hwaccel could have failed init due to some params
|
||||
+ if(!dst->hwaccel && dst->internal->hwaccel_priv_data)
|
||||
+ ff_hwaccel_uninit(dst);
|
||||
+
|
||||
// reset dst hwaccel state if needed
|
||||
av_assert0(p_dst->hwaccel_threadsafe ||
|
||||
(!dst->hwaccel && !dst->internal->hwaccel_priv_data));
|
@ -1,4 +0,0 @@
|
||||
mtime: 1725228433
|
||||
commit: 943a1c7f2afbdabd32765d443b847eea8f2612bd31918795e3f463461109d359
|
||||
url: https://src.opensuse.org/jengelh/ffmpeg-6
|
||||
revision: master
|
@ -1,25 +0,0 @@
|
||||
From 96449cfeaeb95fcfd7a2b8d9ccf7719e97471ed1
|
||||
Author: Michael Niedermayer <michael@niedermayer.cc>
|
||||
Date: Mon Apr 8 18:38:42 2024 +0200
|
||||
Subject: avcodec/mpegvideo_enc: Fix 1 line and one column images
|
||||
References: CVE-2024-32230
|
||||
References: bsc#1227296
|
||||
Upstream: Backport from upstream
|
||||
|
||||
Fixes: Ticket10952
|
||||
Fixes: poc21ffmpeg
|
||||
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
|
||||
|
||||
--- ffmpeg-6.1.1/libavcodec/mpegvideo_enc.c 2023-12-31 08:07:26.000000000 +0800
|
||||
+++ ffmpeg-6.1.1_new/libavcodec/mpegvideo_enc.c 2024-07-05 18:08:49.827035281 +0800
|
||||
@@ -1198,8 +1198,8 @@
|
||||
int dst_stride = i ? s->uvlinesize : s->linesize;
|
||||
int h_shift = i ? s->chroma_x_shift : 0;
|
||||
int v_shift = i ? s->chroma_y_shift : 0;
|
||||
- int w = s->width >> h_shift;
|
||||
- int h = s->height >> v_shift;
|
||||
+ int w = AV_CEIL_RSHIFT(s->width , h_shift);
|
||||
+ int h = AV_CEIL_RSHIFT(s->height, v_shift);
|
||||
const uint8_t *src = pic_arg->data[i];
|
||||
uint8_t *dst = pic->f->data[i];
|
||||
int vpad = 16;
|
BIN
ffmpeg-6.1.1.tar.xz
(Stored with Git LFS)
BIN
ffmpeg-6.1.1.tar.xz
(Stored with Git LFS)
Binary file not shown.
@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQFMBAABCAA2FiEE/PmG6hXm4pOlZE8QtDIvBNZ2WNgFAmWQvW4YHGZmbXBlZy1k
|
||||
ZXZlbEBmZm1wZWcub3JnAAoJELQyLwTWdljYWJgH+wVyt5Var56jG1YL+2cr9XCQ
|
||||
E1pfyKEX4j23y4MtRhk/Oks1apqHZ3MtP+u/K+Z2nwqdUh8kMdczWBRqcSl/qxdr
|
||||
Ak2uFVwIIg4eF03XplWjIbOdMJACaWTz2vOyX9GjwTe6rckcGHBZXd41IzYnJHLh
|
||||
3pvxMp4TBxmiAjfrvzzMBFqgmD+WlmrYDqTsw1B1eq2OSNNjQzfd7VEy0+B/eQ13
|
||||
T0kIC2vh/N1OcJloYW5I1Cb8zUmLRFztoVL5JXR41jFYgPxjpjG1hjS/bEB47qXb
|
||||
7Kte43eesFaGWKBFYp8lU5IoIxuB9utXjPunZV8WVgVpslhptPLwe4EgBKeU1to=
|
||||
=BdLd
|
||||
-----END PGP SIGNATURE-----
|
BIN
ffmpeg-6.1.2.tar.xz
(Stored with Git LFS)
Normal file
BIN
ffmpeg-6.1.2.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
11
ffmpeg-6.1.2.tar.xz.asc
Normal file
11
ffmpeg-6.1.2.tar.xz.asc
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQFMBAABCgA2FiEE/PmG6hXm4pOlZE8QtDIvBNZ2WNgFAmasGfAYHGZmbXBlZy1k
|
||||
ZXZlbEBmZm1wZWcub3JnAAoJELQyLwTWdljYVNIIAJCu/Rkjme60byzLy95eLyH2
|
||||
3T5wptC9g8fuGCEDDt3D4bh958Cb4FZmQKMVZdwxWzaoFEkQ/3NavCNzFpHINrpz
|
||||
/gZxqytv7YEyKBXdvvS54FDK9TITj2PabKn2fhSv9NIU6IYPObjTG7wjt+ycVn32
|
||||
lVaxNFjKVm3C+8vzj5hUGK68MoMmXD5ltiUILAbSmtoCyUjhmo6gXiBmMnMn3QN1
|
||||
Ulpp8TGS0oQ+FDVC7vMAZcIVQ1dV1K4LlacppqvoxcJRAMuQWHGbI+3om+d50ZR0
|
||||
5VO3sS/lIXeVMNx5qoY4nM3q+HJS/AA0Ki3n8L+DUfusJNeHUOq2I9oNZiWE+AQ=
|
||||
=2l0q
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,34 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 1 11:13:35 UTC 2025 - Dave Plater <davejplater@gmail.com>
|
||||
|
||||
- Update to version 6.1.2 and fix Factory build.
|
||||
- Remove incorporated patches:
|
||||
0001-avcodec-tests-rename-the-bundled-Mesa-AV1-vulkan-vid.patch,
|
||||
ffmpeg-6-CVE-2024-7055.patch and ffmpeg-6-CVE-2024-32230.patch
|
||||
Upstream changes:
|
||||
See /usr/shar/doc/packages/ffmpeg-6/Changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 30 12:34:56 UTC 2024 - olaf@aepfle.de
|
||||
|
||||
- Fix assertion due to missing priv_data cleanup on failed VAAPI
|
||||
acceleration with 11013-avcodec-decode-clean-up-if-get_hw_frames_parameters-.patch
|
||||
(ffmpeg#11013, vlc#28811)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 26 10:02:20 UTC 2024 - Stefan Dirsch <sndirsch@suse.com>
|
||||
|
||||
- no longer build against libmfx; build also 15.5 against libvpl
|
||||
(boo#1230983)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 6 15:06:21 UTC 2024 - Cliff Zhao <qzhao@suse.com>
|
||||
|
||||
- Add ffmpeg-6-CVE-2024-7055.patch:
|
||||
Backporting 3faadbe2 from upstream, Use 64bit for input size check,
|
||||
Fixes: out of array read, Fixes: poc3.
|
||||
(CVE-2024-7055, bsc#1229026)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 1 18:04:27 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
@ -29,7 +60,7 @@ Tue Jul 2 12:26:28 UTC 2024 - Cliff Zhao <qzhao@suse.com>
|
||||
|
||||
- Add ffmpeg-6-CVE-2024-32230.patch:
|
||||
Backporting 96449cfe from upstream, Fix 1 line and one column images.
|
||||
(CVE-2024-32230 bsc#1227296)
|
||||
(CVE-2024-32230, bsc#1227296)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 2 11:57:01 UTC 2024 - Cliff Zhao <qzhao@suse.com>
|
||||
@ -68,14 +99,14 @@ Thu Apr 23 14:05:28 UTC 2024 - Cliff Zhao <qzhao@suse.com>
|
||||
|
||||
- Add ffmpeg-CVE-2023-50008.patch:
|
||||
Backporting 5f87a68c from upstream, Fix memory leaks.
|
||||
(CVE-2023-50008 bsc#1223254)
|
||||
(CVE-2023-50008, bsc#1223254)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 23 12:22:53 UTC 2024 - Cliff Zhao <qzhao@suse.com>
|
||||
|
||||
- Add ffmpeg-CVE-2023-50007.patch:
|
||||
Backporting b1942734 from upstream, Fix crash with EOF handling.
|
||||
(CVE-2023-50007 bsc#1223253)
|
||||
(CVE-2023-50007, bsc#1223253)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 22 12:41:55 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%define vers 6.1.2
|
||||
%define flavor @BUILD_FLAVOR@%nil
|
||||
%if "%flavor" != "ffmpeg-6-mini"
|
||||
|
||||
@ -83,7 +84,7 @@
|
||||
%define _major_expected 7
|
||||
|
||||
Name: ffmpeg-6
|
||||
Version: 6.1.1
|
||||
Version: 6.1.2
|
||||
Release: 0
|
||||
Summary: Set of libraries for working with various multimedia formats
|
||||
License: GPL-3.0-or-later
|
||||
@ -107,7 +108,6 @@ Patch2: ffmpeg-new-coder-errors.diff
|
||||
Patch3: ffmpeg-codec-choice.diff
|
||||
Patch4: ffmpeg-4.2-dlopen-fdk_aac.patch
|
||||
Patch5: work-around-abi-break.patch
|
||||
Patch6: 0001-avcodec-tests-rename-the-bundled-Mesa-AV1-vulkan-vid.patch
|
||||
Patch7: 0001-avfilter-asrc_afirsrc-fix-by-one-smaller-allocation-.patch
|
||||
Patch8: 0001-avfilter-bwdif-account-for-chroma-sub-sampling-in-mi.patch
|
||||
Patch9: 0001-avfilter-af_dialoguenhance-fix-overreads.patch
|
||||
@ -116,13 +116,13 @@ Patch11: 0001-avfilter-af_dialoguenhance-do-output-scaling-once.patch
|
||||
Patch12: 0001-avutil-hwcontext-Don-t-assume-frames_uninit-is-reent.patch
|
||||
Patch13: 0001-avfilter-vf_codecview-fix-heap-buffer-overflow.patch
|
||||
Patch14: 0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
|
||||
Patch15: 11013-avcodec-decode-clean-up-if-get_hw_frames_parameters-.patch
|
||||
Patch90: ffmpeg-chromium.patch
|
||||
Patch91: ffmpeg-dlopen-openh264.patch
|
||||
Patch92: ffmpeg-CVE-2023-50007.patch
|
||||
Patch93: ffmpeg-CVE-2023-50008.patch
|
||||
Patch94: ffmpeg-6-CVE-2024-32228-shim-1535d338.patch
|
||||
Patch95: ffmpeg-6-CVE-2024-32228-shim-f50382cb.patch
|
||||
Patch96: ffmpeg-6-CVE-2024-32230.patch
|
||||
Patch97: ffmpeg-c99.patch
|
||||
#
|
||||
# preamble is present twice, watch out
|
||||
@ -246,11 +246,7 @@ BuildRequires: pkgconfig(shaderc) >= 2019.1
|
||||
BuildRequires: pkgconfig(vulkan) >= 1.3.255
|
||||
%endif
|
||||
|
||||
%if 0%{?suse_version} < 1550 && 0%{?sle_version} >= 150200 && 0%{?sle_version} < 150600
|
||||
%ifarch x86_64 %x86_64
|
||||
BuildRequires: pkgconfig(libmfx)
|
||||
%endif
|
||||
%else
|
||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500
|
||||
%ifarch x86_64 %x86_64
|
||||
BuildRequires: pkgconfig(vpl) >= 2.6
|
||||
%endif
|
||||
@ -647,11 +643,7 @@ LDFLAGS="%_lto_cflags" \
|
||||
%endif
|
||||
%endif
|
||||
--enable-lv2 \
|
||||
%if 0%{?suse_version} < 1550 && 0%{?sle_version} >= 150200 && 0%{?sle_version} < 150600
|
||||
%ifarch x86_64 %x86_64
|
||||
--enable-libmfx \
|
||||
%endif
|
||||
%else
|
||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150500
|
||||
%ifarch x86_64 %x86_64
|
||||
--enable-libvpl \
|
||||
%endif
|
||||
@ -823,7 +815,7 @@ done
|
||||
%else
|
||||
%define _name ffmpeg
|
||||
Name: ffmpeg-6-mini
|
||||
Version: 6.1.1
|
||||
Version: %{vers}
|
||||
Release: 0
|
||||
Summary: Set of libraries for working with various multimedia formats
|
||||
License: GPL-3.0-or-later
|
||||
@ -837,7 +829,6 @@ Patch1: ffmpeg-arm6l.diff
|
||||
Patch3: ffmpeg-codec-choice.diff
|
||||
Patch4: ffmpeg-4.2-dlopen-fdk_aac.patch
|
||||
Patch5: work-around-abi-break.patch
|
||||
Patch6: 0001-avcodec-tests-rename-the-bundled-Mesa-AV1-vulkan-vid.patch
|
||||
Patch7: 0001-avfilter-asrc_afirsrc-fix-by-one-smaller-allocation-.patch
|
||||
Patch8: 0001-avfilter-bwdif-account-for-chroma-sub-sampling-in-mi.patch
|
||||
Patch9: 0001-avfilter-af_dialoguenhance-fix-overreads.patch
|
||||
@ -846,13 +837,13 @@ Patch11: 0001-avfilter-af_dialoguenhance-do-output-scaling-once.patch
|
||||
Patch12: 0001-avutil-hwcontext-Don-t-assume-frames_uninit-is-reent.patch
|
||||
Patch13: 0001-avfilter-vf_codecview-fix-heap-buffer-overflow.patch
|
||||
Patch14: 0001-libavcodec-arm-mlpdsp_armv5te-fix-label-format-to-wo.patch
|
||||
Patch15: 11013-avcodec-decode-clean-up-if-get_hw_frames_parameters-.patch
|
||||
Patch90: ffmpeg-chromium.patch
|
||||
Patch91: ffmpeg-dlopen-openh264.patch
|
||||
Patch92: ffmpeg-CVE-2023-50007.patch
|
||||
Patch93: ffmpeg-CVE-2023-50008.patch
|
||||
Patch94: ffmpeg-6-CVE-2024-32228-shim-1535d338.patch
|
||||
Patch95: ffmpeg-6-CVE-2024-32228-shim-f50382cb.patch
|
||||
Patch96: ffmpeg-6-CVE-2024-32230.patch
|
||||
Patch97: ffmpeg-c99.patch
|
||||
BuildRequires: c_compiler
|
||||
Requires: this-is-only-for-build-envs
|
||||
|
Loading…
x
Reference in New Issue
Block a user