mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-01-09 13:45:21 +00:00
600e246a94
Lakka 5.x Switch changes (#1853) Lakka v5.x switchroot 5.1.2 (#1871) Fix Switch Issue's in upstream 5.x (#1888) Minor Switch Changes (#1893) Lakka v5.x switch 3 (#1895) Lakka v5.x switch 4 (#1898) L4T: Xorg-server: Fix build issue (#1924) Switch: remove ra patch Lakka v5.x switch 6 (#1926) Cleanups, More LibreELEC Stuff, more permission fixes, Misc switch stuff. (#1930) Switch: U-Boot: bump version to 2024-NX02 (#1946) L4T/Ayn post-upstreaming fixes - retroarch_joypad_autoconfig: remove spaces from file names - retroarch: remove Switch specific patch merged upstream - libXv: move to L4T packages folder (package removed in upstream) - bring some packages from v5.x to L4T packages - ffmpeg: remove vulkan - remove stella core from Switch build (missing C++ headers) - Ayn/Odin: use proper kernel arg to not hide kernel messages in console - connman: add wpa_supplicant support back
93 lines
3.0 KiB
Diff
93 lines
3.0 KiB
Diff
From 23ccbf1d6a5494c7d79e8df2c74f02358e8df7d4 Mon Sep 17 00:00:00 2001
|
|
From: Azkali Manad <a.ffcc7@gmail.com>
|
|
Date: Wed, 25 Jan 2023 03:08:02 +0100
|
|
Subject: [PATCH 23/39] codecs: nvv4l2: comment structs redefined in nvv4l2.h
|
|
|
|
---
|
|
libavcodec/nvv4l2_ext_utils.h | 32 ++++++++++++++++----------------
|
|
1 file changed, 16 insertions(+), 16 deletions(-)
|
|
|
|
diff --git a/libavcodec/nvv4l2_ext_utils.h b/libavcodec/nvv4l2_ext_utils.h
|
|
index 007306ccc5..04a2ee1c79 100644
|
|
--- a/libavcodec/nvv4l2_ext_utils.h
|
|
+++ b/libavcodec/nvv4l2_ext_utils.h
|
|
@@ -178,7 +178,7 @@ enum v4l2_mpeg_video_h265_profile {
|
|
#define V4L2_H264_SPS_FLAG_FRAME_MBS_ONLY 0x10
|
|
#define V4L2_H264_SPS_FLAG_MB_ADAPTIVE_FRAME_FIELD 0x20
|
|
#define V4L2_H264_SPS_FLAG_DIRECT_8X8_INFERENCE 0x40
|
|
-struct v4l2_ctrl_h264_sps {
|
|
+/* struct v4l2_ctrl_h264_sps {
|
|
__u8 profile_idc;
|
|
__u8 constraint_set_flags;
|
|
__u8 level_idc;
|
|
@@ -197,7 +197,7 @@ struct v4l2_ctrl_h264_sps {
|
|
__u16 pic_width_in_mbs_minus1;
|
|
__u16 pic_height_in_map_units_minus1;
|
|
__u8 flags;
|
|
-};
|
|
+}; */
|
|
|
|
#define V4L2_H264_PPS_FLAG_ENTROPY_CODING_MODE 0x0001
|
|
#define V4L2_H264_PPS_FLAG_BOTTOM_FIELD_PIC_ORDER_IN_FRAME_PRESENT 0x0002
|
|
@@ -207,7 +207,7 @@ struct v4l2_ctrl_h264_sps {
|
|
#define V4L2_H264_PPS_FLAG_REDUNDANT_PIC_CNT_PRESENT 0x0020
|
|
#define V4L2_H264_PPS_FLAG_TRANSFORM_8X8_MODE 0x0040
|
|
#define V4L2_H264_PPS_FLAG_PIC_SCALING_MATRIX_PRESENT 0x0080
|
|
-struct v4l2_ctrl_h264_pps {
|
|
+/* struct v4l2_ctrl_h264_pps {
|
|
__u8 pic_parameter_set_id;
|
|
__u8 seq_parameter_set_id;
|
|
__u8 num_slice_groups_minus1;
|
|
@@ -219,19 +219,19 @@ struct v4l2_ctrl_h264_pps {
|
|
__s8 chroma_qp_index_offset;
|
|
__s8 second_chroma_qp_index_offset;
|
|
__u8 flags;
|
|
-};
|
|
+}; */
|
|
|
|
-struct v4l2_ctrl_h264_scaling_matrix {
|
|
+/* struct v4l2_ctrl_h264_scaling_matrix {
|
|
__u8 scaling_list_4x4[6][16];
|
|
__u8 scaling_list_8x8[6][64];
|
|
-};
|
|
+}; */
|
|
|
|
-struct v4l2_h264_weight_factors {
|
|
+/* struct v4l2_h264_weight_factors {
|
|
__s8 luma_weight[32];
|
|
__s8 luma_offset[32];
|
|
__s8 chroma_weight[32][2];
|
|
__s8 chroma_offset[32][2];
|
|
-};
|
|
+}; */
|
|
|
|
struct v4l2_h264_pred_weight_table {
|
|
__u8 luma_log2_weight_denom;
|
|
@@ -289,15 +289,15 @@ struct v4l2_ctrl_h264_slice_param {
|
|
If not set, this entry is unused for reference. */
|
|
#define V4L2_H264_DPB_ENTRY_FLAG_ACTIVE 0x01
|
|
#define V4L2_H264_DPB_ENTRY_FLAG_LONG_TERM 0x02
|
|
-struct v4l2_h264_dpb_entry {
|
|
- __u32 buf_index; /**< v4l2_buffer index. */
|
|
- __u16 frame_num;
|
|
- __u16 pic_num;
|
|
+/* struct v4l2_h264_dpb_entry { */
|
|
+/* __u32 buf_index; /**< v4l2_buffer index. */
|
|
+/* __u16 frame_num;
|
|
+ __u16 pic_num; */
|
|
/** @note `v4l2_buffer.field` specifies this field. */
|
|
- __s32 top_field_order_cnt;
|
|
- __s32 bottom_field_order_cnt;
|
|
- __u8 flags; /* V4L2_H264_DPB_ENTRY_FLAG_* */
|
|
-};
|
|
+/* __s32 top_field_order_cnt;
|
|
+ __s32 bottom_field_order_cnt; */
|
|
+/* __u8 flags; /* V4L2_H264_DPB_ENTRY_FLAG_* */
|
|
+/* }; */
|
|
|
|
struct v4l2_ctrl_h264_decode_param {
|
|
__u32 num_slices;
|
|
--
|
|
2.25.1
|
|
|