@shopify/react-native-skia 2.0.5 → 2.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/android/CMakeLists.txt +10 -0
- package/android/build.gradle +2 -1
- package/apple/SkiaCVPixelBufferUtils.mm +8 -4
- package/cpp/api/JsiSkCanvas.h +10 -8
- package/cpp/api/JsiSkFont.h +14 -18
- package/cpp/api/JsiSkPath.h +4 -2
- package/cpp/api/JsiSkPathEffectFactory.h +2 -2
- package/cpp/api/JsiSkTextBlobFactory.h +5 -3
- package/cpp/api/JsiSkTypeface.h +5 -4
- package/cpp/api/recorder/Drawings.h +26 -20
- package/cpp/api/recorder/PathEffects.h +3 -2
- package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +1 -1
- package/cpp/skia/include/android/SkImageAndroid.h +1 -8
- package/cpp/skia/include/config/SkUserConfig.h +9 -0
- package/cpp/skia/include/core/SkCPUContext.h +31 -0
- package/cpp/skia/include/core/SkCPURecorder.h +69 -0
- package/cpp/skia/include/core/SkCanvas.h +57 -13
- package/cpp/skia/include/core/SkContourMeasure.h +1 -1
- package/cpp/skia/include/core/SkData.h +63 -37
- package/cpp/skia/include/core/SkFont.h +94 -65
- package/cpp/skia/include/core/SkImage.h +10 -9
- package/cpp/skia/include/core/SkImageGenerator.h +3 -0
- package/cpp/skia/include/core/SkMatrix.h +102 -116
- package/cpp/skia/include/core/SkMilestone.h +1 -1
- package/cpp/skia/include/core/SkPath.h +163 -60
- package/cpp/skia/include/core/SkPathBuilder.h +713 -30
- package/cpp/skia/include/core/SkPathTypes.h +5 -1
- package/cpp/skia/include/core/SkPictureRecorder.h +6 -6
- package/cpp/skia/include/core/SkRecorder.h +35 -0
- package/cpp/skia/include/core/SkRect.h +57 -27
- package/cpp/skia/include/core/SkRegion.h +1 -1
- package/cpp/skia/include/core/SkSurface.h +8 -1
- package/cpp/skia/include/core/SkTextBlob.h +50 -6
- package/cpp/skia/include/core/SkTraceMemoryDump.h +7 -0
- package/cpp/skia/include/core/SkTypeface.h +53 -26
- package/cpp/skia/include/core/SkTypes.h +6 -0
- package/cpp/skia/include/effects/SkDashPathEffect.h +9 -3
- package/cpp/skia/include/effects/SkRuntimeEffect.h +1 -1
- package/cpp/skia/include/encode/SkEncoder.h +1 -1
- package/cpp/skia/include/encode/SkICC.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrDirectContext.h +23 -0
- package/cpp/skia/include/gpu/ganesh/GrRecordingContext.h +12 -0
- package/cpp/skia/include/gpu/graphite/Context.h +32 -8
- package/cpp/skia/include/gpu/graphite/ContextOptions.h +22 -4
- package/cpp/skia/include/gpu/graphite/GraphiteTypes.h +21 -4
- package/cpp/skia/include/gpu/graphite/PrecompileContext.h +16 -2
- package/cpp/skia/include/gpu/graphite/Recorder.h +30 -10
- package/cpp/skia/include/gpu/graphite/Recording.h +7 -3
- package/cpp/skia/include/gpu/graphite/TextureInfo.h +3 -3
- package/cpp/skia/include/gpu/graphite/precompile/PaintOptions.h +15 -0
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileShader.h +89 -13
- package/cpp/skia/include/gpu/graphite/vk/precompile/VulkanPrecompileShader.h +39 -0
- package/cpp/skia/include/gpu/vk/VulkanBackendContext.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanPreferredFeatures.h +214 -0
- package/cpp/skia/include/pathops/SkPathOps.h +7 -111
- package/cpp/skia/include/ports/SkFontMgr_fontconfig.h +3 -0
- package/cpp/skia/include/private/SkGainmapShader.h +10 -4
- package/cpp/skia/include/private/SkPathRef.h +6 -2
- package/cpp/skia/include/private/base/SkAlign.h +11 -0
- package/cpp/skia/include/private/gpu/ganesh/GrTypesPriv.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_icd.h +255 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_layer.h +203 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_platform.h +1 -2
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std.h +390 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_decode.h +106 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_encode.h +140 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_decode.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_encode.h +144 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_decode.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_encode.h +158 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codecs_common.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_android.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_beta.h +242 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_core.h +10094 -5707
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_directfb.h +55 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_fuchsia.h +288 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ggp.h +59 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ios.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_macos.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_metal.h +238 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_screen.h +110 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_vi.h +47 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_wayland.h +55 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_win32.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xcb.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xlib.h +60 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xlib_xrandr.h +46 -0
- package/cpp/skia/modules/pathops/include/SkPathOps.h +121 -0
- package/cpp/skia/modules/skcms/src/skcms_internals.h +10 -2
- package/cpp/skia/modules/skcms/src/skcms_public.h +39 -10
- package/libs/android/arm64-v8a/libpathops.a +0 -0
- package/libs/android/arm64-v8a/libskia.a +0 -0
- package/libs/android/arm64-v8a/libskottie.a +0 -0
- package/libs/android/arm64-v8a/libskparagraph.a +0 -0
- package/libs/android/arm64-v8a/libsksg.a +0 -0
- package/libs/android/arm64-v8a/libskshaper.a +0 -0
- package/libs/android/arm64-v8a/libskunicode_icu.a +0 -0
- package/libs/android/arm64-v8a/libsvg.a +0 -0
- package/libs/android/armeabi-v7a/libpathops.a +0 -0
- package/libs/android/armeabi-v7a/libskia.a +0 -0
- package/libs/android/armeabi-v7a/libskottie.a +0 -0
- package/libs/android/armeabi-v7a/libskparagraph.a +0 -0
- package/libs/android/armeabi-v7a/libsksg.a +0 -0
- package/libs/android/armeabi-v7a/libskshaper.a +0 -0
- package/libs/android/armeabi-v7a/libskunicode_icu.a +0 -0
- package/libs/android/armeabi-v7a/libsvg.a +0 -0
- package/libs/android/x86/libpathops.a +0 -0
- package/libs/android/x86/libskia.a +0 -0
- package/libs/android/x86/libskottie.a +0 -0
- package/libs/android/x86/libskparagraph.a +0 -0
- package/libs/android/x86/libsksg.a +0 -0
- package/libs/android/x86/libskshaper.a +0 -0
- package/libs/android/x86/libskunicode_icu.a +0 -0
- package/libs/android/x86/libsvg.a +0 -0
- package/libs/android/x86_64/libpathops.a +0 -0
- package/libs/android/x86_64/libskia.a +0 -0
- package/libs/android/x86_64/libskottie.a +0 -0
- package/libs/android/x86_64/libskparagraph.a +0 -0
- package/libs/android/x86_64/libsksg.a +0 -0
- package/libs/android/x86_64/libskshaper.a +0 -0
- package/libs/android/x86_64/libskunicode_icu.a +0 -0
- package/libs/android/x86_64/libsvg.a +0 -0
- package/libs/apple/libpathops.xcframework/Info.plist +94 -0
- package/libs/apple/libpathops.xcframework/ios-arm64_arm64e/libpathops.a +0 -0
- package/libs/apple/libpathops.xcframework/ios-arm64_arm64e_x86_64-simulator/libpathops.a +0 -0
- package/libs/apple/libpathops.xcframework/macos-arm64_x86_64/libpathops.a +0 -0
- package/libs/apple/libpathops.xcframework/tvos-arm64_arm64e/libpathops.a +0 -0
- package/libs/apple/libpathops.xcframework/tvos-arm64_arm64e_x86_64-simulator/libpathops.a +0 -0
- package/libs/apple/libskia.xcframework/Info.plist +7 -7
- package/libs/apple/libskia.xcframework/ios-arm64_arm64e/libskia.a +0 -0
- package/libs/apple/libskia.xcframework/ios-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/apple/libskia.xcframework/macos-arm64_x86_64/libskia.a +0 -0
- package/libs/apple/libskia.xcframework/tvos-arm64_arm64e/libskia.a +0 -0
- package/libs/apple/libskia.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/apple/libskottie.xcframework/Info.plist +10 -10
- package/libs/apple/libskottie.xcframework/ios-arm64_arm64e/libskottie.a +0 -0
- package/libs/apple/libskottie.xcframework/ios-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/apple/libskottie.xcframework/macos-arm64_x86_64/libskottie.a +0 -0
- package/libs/apple/libskottie.xcframework/tvos-arm64_arm64e/libskottie.a +0 -0
- package/libs/apple/libskottie.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/apple/libskparagraph.xcframework/Info.plist +13 -13
- package/libs/apple/libskparagraph.xcframework/ios-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/apple/libskparagraph.xcframework/ios-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/apple/libskparagraph.xcframework/macos-arm64_x86_64/libskparagraph.a +0 -0
- package/libs/apple/libskparagraph.xcframework/tvos-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/apple/libskparagraph.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/apple/libsksg.xcframework/Info.plist +11 -11
- package/libs/apple/libsksg.xcframework/ios-arm64_arm64e/libsksg.a +0 -0
- package/libs/apple/libsksg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/apple/libsksg.xcframework/macos-arm64_x86_64/libsksg.a +0 -0
- package/libs/apple/libsksg.xcframework/tvos-arm64_arm64e/libsksg.a +0 -0
- package/libs/apple/libsksg.xcframework/tvos-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/apple/libskshaper.xcframework/Info.plist +12 -12
- package/libs/apple/libskshaper.xcframework/ios-arm64_arm64e/libskshaper.a +0 -0
- package/libs/apple/libskshaper.xcframework/ios-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/apple/libskshaper.xcframework/macos-arm64_x86_64/libskshaper.a +0 -0
- package/libs/apple/libskshaper.xcframework/tvos-arm64_arm64e/libskshaper.a +0 -0
- package/libs/apple/libskshaper.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/apple/libskunicode_core.xcframework/Info.plist +14 -14
- package/libs/apple/libskunicode_core.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode_core.a +0 -0
- package/libs/apple/libskunicode_core.xcframework/macos-arm64_x86_64/libskunicode_core.a +0 -0
- package/libs/apple/libskunicode_core.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskunicode_core.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/Info.plist +13 -13
- package/libs/apple/libskunicode_libgrapheme.xcframework/ios-arm64_arm64e/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/macos-arm64_x86_64/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/tvos-arm64_arm64e/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libskunicode_libgrapheme.xcframework/tvos-arm64_arm64e_x86_64-simulator/libskunicode_libgrapheme.a +0 -0
- package/libs/apple/libsvg.xcframework/Info.plist +17 -17
- package/libs/apple/libsvg.xcframework/ios-arm64_arm64e/libsvg.a +0 -0
- package/libs/apple/libsvg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/libs/apple/libsvg.xcframework/macos-arm64_x86_64/libsvg.a +0 -0
- package/libs/apple/libsvg.xcframework/tvos-arm64_arm64e/libsvg.a +0 -0
- package/libs/apple/libsvg.xcframework/tvos-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/package.json +1 -1
- package/react-native-skia.podspec +2 -1
- package/src/renderer/__tests__/e2e/BackdropFilters.spec.tsx +23 -0
package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_decode.h
ADDED
@@ -0,0 +1,106 @@
|
|
1
|
+
#ifndef VULKAN_VIDEO_CODEC_AV1STD_DECODE_H_
|
2
|
+
#define VULKAN_VIDEO_CODEC_AV1STD_DECODE_H_ 1
|
3
|
+
|
4
|
+
/*
|
5
|
+
** Copyright 2015-2025 The Khronos Group Inc.
|
6
|
+
**
|
7
|
+
** SPDX-License-Identifier: Apache-2.0
|
8
|
+
*/
|
9
|
+
|
10
|
+
/*
|
11
|
+
** This header is generated from the Khronos Vulkan XML API Registry.
|
12
|
+
**
|
13
|
+
*/
|
14
|
+
|
15
|
+
#ifdef __cplusplus
|
16
|
+
extern "C" {
|
17
|
+
#endif
|
18
|
+
|
19
|
+
// vulkan_video_codec_av1std_decode is a preprocessor guard. Do not pass it to API calls.
|
20
|
+
#define vulkan_video_codec_av1std_decode 1
|
21
|
+
#include "vulkan_video_codec_av1std.h"
|
22
|
+
|
23
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0)
|
24
|
+
|
25
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_SPEC_VERSION \
|
26
|
+
VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_API_VERSION_1_0_0
|
27
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_DECODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_av1_decode"
|
28
|
+
typedef struct StdVideoDecodeAV1PictureInfoFlags {
|
29
|
+
uint32_t error_resilient_mode : 1;
|
30
|
+
uint32_t disable_cdf_update : 1;
|
31
|
+
uint32_t use_superres : 1;
|
32
|
+
uint32_t render_and_frame_size_different : 1;
|
33
|
+
uint32_t allow_screen_content_tools : 1;
|
34
|
+
uint32_t is_filter_switchable : 1;
|
35
|
+
uint32_t force_integer_mv : 1;
|
36
|
+
uint32_t frame_size_override_flag : 1;
|
37
|
+
uint32_t buffer_removal_time_present_flag : 1;
|
38
|
+
uint32_t allow_intrabc : 1;
|
39
|
+
uint32_t frame_refs_short_signaling : 1;
|
40
|
+
uint32_t allow_high_precision_mv : 1;
|
41
|
+
uint32_t is_motion_mode_switchable : 1;
|
42
|
+
uint32_t use_ref_frame_mvs : 1;
|
43
|
+
uint32_t disable_frame_end_update_cdf : 1;
|
44
|
+
uint32_t allow_warped_motion : 1;
|
45
|
+
uint32_t reduced_tx_set : 1;
|
46
|
+
uint32_t reference_select : 1;
|
47
|
+
uint32_t skip_mode_present : 1;
|
48
|
+
uint32_t delta_q_present : 1;
|
49
|
+
uint32_t delta_lf_present : 1;
|
50
|
+
uint32_t delta_lf_multi : 1;
|
51
|
+
uint32_t segmentation_enabled : 1;
|
52
|
+
uint32_t segmentation_update_map : 1;
|
53
|
+
uint32_t segmentation_temporal_update : 1;
|
54
|
+
uint32_t segmentation_update_data : 1;
|
55
|
+
uint32_t UsesLr : 1;
|
56
|
+
uint32_t usesChromaLr : 1;
|
57
|
+
uint32_t apply_grain : 1;
|
58
|
+
uint32_t reserved : 3;
|
59
|
+
} StdVideoDecodeAV1PictureInfoFlags;
|
60
|
+
|
61
|
+
typedef struct StdVideoDecodeAV1PictureInfo {
|
62
|
+
StdVideoDecodeAV1PictureInfoFlags flags;
|
63
|
+
StdVideoAV1FrameType frame_type;
|
64
|
+
uint32_t current_frame_id;
|
65
|
+
uint8_t OrderHint;
|
66
|
+
uint8_t primary_ref_frame;
|
67
|
+
uint8_t refresh_frame_flags;
|
68
|
+
uint8_t reserved1;
|
69
|
+
StdVideoAV1InterpolationFilter interpolation_filter;
|
70
|
+
StdVideoAV1TxMode TxMode;
|
71
|
+
uint8_t delta_q_res;
|
72
|
+
uint8_t delta_lf_res;
|
73
|
+
uint8_t SkipModeFrame[STD_VIDEO_AV1_SKIP_MODE_FRAMES];
|
74
|
+
uint8_t coded_denom;
|
75
|
+
uint8_t reserved2[3];
|
76
|
+
uint8_t OrderHints[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
77
|
+
uint32_t expectedFrameId[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
78
|
+
const StdVideoAV1TileInfo* pTileInfo;
|
79
|
+
const StdVideoAV1Quantization* pQuantization;
|
80
|
+
const StdVideoAV1Segmentation* pSegmentation;
|
81
|
+
const StdVideoAV1LoopFilter* pLoopFilter;
|
82
|
+
const StdVideoAV1CDEF* pCDEF;
|
83
|
+
const StdVideoAV1LoopRestoration* pLoopRestoration;
|
84
|
+
const StdVideoAV1GlobalMotion* pGlobalMotion;
|
85
|
+
const StdVideoAV1FilmGrain* pFilmGrain;
|
86
|
+
} StdVideoDecodeAV1PictureInfo;
|
87
|
+
|
88
|
+
typedef struct StdVideoDecodeAV1ReferenceInfoFlags {
|
89
|
+
uint32_t disable_frame_end_update_cdf : 1;
|
90
|
+
uint32_t segmentation_enabled : 1;
|
91
|
+
uint32_t reserved : 30;
|
92
|
+
} StdVideoDecodeAV1ReferenceInfoFlags;
|
93
|
+
|
94
|
+
typedef struct StdVideoDecodeAV1ReferenceInfo {
|
95
|
+
StdVideoDecodeAV1ReferenceInfoFlags flags;
|
96
|
+
uint8_t frame_type;
|
97
|
+
uint8_t RefFrameSignBias;
|
98
|
+
uint8_t OrderHint;
|
99
|
+
uint8_t SavedOrderHints[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
100
|
+
} StdVideoDecodeAV1ReferenceInfo;
|
101
|
+
|
102
|
+
#ifdef __cplusplus
|
103
|
+
}
|
104
|
+
#endif
|
105
|
+
|
106
|
+
#endif
|
package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_encode.h
ADDED
@@ -0,0 +1,140 @@
|
|
1
|
+
#ifndef VULKAN_VIDEO_CODEC_AV1STD_ENCODE_H_
|
2
|
+
#define VULKAN_VIDEO_CODEC_AV1STD_ENCODE_H_ 1
|
3
|
+
|
4
|
+
/*
|
5
|
+
** Copyright 2015-2025 The Khronos Group Inc.
|
6
|
+
**
|
7
|
+
** SPDX-License-Identifier: Apache-2.0
|
8
|
+
*/
|
9
|
+
|
10
|
+
/*
|
11
|
+
** This header is generated from the Khronos Vulkan XML API Registry.
|
12
|
+
**
|
13
|
+
*/
|
14
|
+
|
15
|
+
#ifdef __cplusplus
|
16
|
+
extern "C" {
|
17
|
+
#endif
|
18
|
+
|
19
|
+
// vulkan_video_codec_av1std_encode is a preprocessor guard. Do not pass it to API calls.
|
20
|
+
#define vulkan_video_codec_av1std_encode 1
|
21
|
+
#include "vulkan_video_codec_av1std.h"
|
22
|
+
|
23
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0)
|
24
|
+
|
25
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_SPEC_VERSION \
|
26
|
+
VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_API_VERSION_1_0_0
|
27
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_av1_encode"
|
28
|
+
typedef struct StdVideoEncodeAV1DecoderModelInfo {
|
29
|
+
uint8_t buffer_delay_length_minus_1;
|
30
|
+
uint8_t buffer_removal_time_length_minus_1;
|
31
|
+
uint8_t frame_presentation_time_length_minus_1;
|
32
|
+
uint8_t reserved1;
|
33
|
+
uint32_t num_units_in_decoding_tick;
|
34
|
+
} StdVideoEncodeAV1DecoderModelInfo;
|
35
|
+
|
36
|
+
typedef struct StdVideoEncodeAV1ExtensionHeader {
|
37
|
+
uint8_t temporal_id;
|
38
|
+
uint8_t spatial_id;
|
39
|
+
} StdVideoEncodeAV1ExtensionHeader;
|
40
|
+
|
41
|
+
typedef struct StdVideoEncodeAV1OperatingPointInfoFlags {
|
42
|
+
uint32_t decoder_model_present_for_this_op : 1;
|
43
|
+
uint32_t low_delay_mode_flag : 1;
|
44
|
+
uint32_t initial_display_delay_present_for_this_op : 1;
|
45
|
+
uint32_t reserved : 29;
|
46
|
+
} StdVideoEncodeAV1OperatingPointInfoFlags;
|
47
|
+
|
48
|
+
typedef struct StdVideoEncodeAV1OperatingPointInfo {
|
49
|
+
StdVideoEncodeAV1OperatingPointInfoFlags flags;
|
50
|
+
uint16_t operating_point_idc;
|
51
|
+
uint8_t seq_level_idx;
|
52
|
+
uint8_t seq_tier;
|
53
|
+
uint32_t decoder_buffer_delay;
|
54
|
+
uint32_t encoder_buffer_delay;
|
55
|
+
uint8_t initial_display_delay_minus_1;
|
56
|
+
} StdVideoEncodeAV1OperatingPointInfo;
|
57
|
+
|
58
|
+
typedef struct StdVideoEncodeAV1PictureInfoFlags {
|
59
|
+
uint32_t error_resilient_mode : 1;
|
60
|
+
uint32_t disable_cdf_update : 1;
|
61
|
+
uint32_t use_superres : 1;
|
62
|
+
uint32_t render_and_frame_size_different : 1;
|
63
|
+
uint32_t allow_screen_content_tools : 1;
|
64
|
+
uint32_t is_filter_switchable : 1;
|
65
|
+
uint32_t force_integer_mv : 1;
|
66
|
+
uint32_t frame_size_override_flag : 1;
|
67
|
+
uint32_t buffer_removal_time_present_flag : 1;
|
68
|
+
uint32_t allow_intrabc : 1;
|
69
|
+
uint32_t frame_refs_short_signaling : 1;
|
70
|
+
uint32_t allow_high_precision_mv : 1;
|
71
|
+
uint32_t is_motion_mode_switchable : 1;
|
72
|
+
uint32_t use_ref_frame_mvs : 1;
|
73
|
+
uint32_t disable_frame_end_update_cdf : 1;
|
74
|
+
uint32_t allow_warped_motion : 1;
|
75
|
+
uint32_t reduced_tx_set : 1;
|
76
|
+
uint32_t skip_mode_present : 1;
|
77
|
+
uint32_t delta_q_present : 1;
|
78
|
+
uint32_t delta_lf_present : 1;
|
79
|
+
uint32_t delta_lf_multi : 1;
|
80
|
+
uint32_t segmentation_enabled : 1;
|
81
|
+
uint32_t segmentation_update_map : 1;
|
82
|
+
uint32_t segmentation_temporal_update : 1;
|
83
|
+
uint32_t segmentation_update_data : 1;
|
84
|
+
uint32_t UsesLr : 1;
|
85
|
+
uint32_t usesChromaLr : 1;
|
86
|
+
uint32_t show_frame : 1;
|
87
|
+
uint32_t showable_frame : 1;
|
88
|
+
uint32_t reserved : 3;
|
89
|
+
} StdVideoEncodeAV1PictureInfoFlags;
|
90
|
+
|
91
|
+
typedef struct StdVideoEncodeAV1PictureInfo {
|
92
|
+
StdVideoEncodeAV1PictureInfoFlags flags;
|
93
|
+
StdVideoAV1FrameType frame_type;
|
94
|
+
uint32_t frame_presentation_time;
|
95
|
+
uint32_t current_frame_id;
|
96
|
+
uint8_t order_hint;
|
97
|
+
uint8_t primary_ref_frame;
|
98
|
+
uint8_t refresh_frame_flags;
|
99
|
+
uint8_t coded_denom;
|
100
|
+
uint16_t render_width_minus_1;
|
101
|
+
uint16_t render_height_minus_1;
|
102
|
+
StdVideoAV1InterpolationFilter interpolation_filter;
|
103
|
+
StdVideoAV1TxMode TxMode;
|
104
|
+
uint8_t delta_q_res;
|
105
|
+
uint8_t delta_lf_res;
|
106
|
+
uint8_t ref_order_hint[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
107
|
+
int8_t ref_frame_idx[STD_VIDEO_AV1_REFS_PER_FRAME];
|
108
|
+
uint8_t reserved1[3];
|
109
|
+
uint32_t delta_frame_id_minus_1[STD_VIDEO_AV1_REFS_PER_FRAME];
|
110
|
+
const StdVideoAV1TileInfo* pTileInfo;
|
111
|
+
const StdVideoAV1Quantization* pQuantization;
|
112
|
+
const StdVideoAV1Segmentation* pSegmentation;
|
113
|
+
const StdVideoAV1LoopFilter* pLoopFilter;
|
114
|
+
const StdVideoAV1CDEF* pCDEF;
|
115
|
+
const StdVideoAV1LoopRestoration* pLoopRestoration;
|
116
|
+
const StdVideoAV1GlobalMotion* pGlobalMotion;
|
117
|
+
const StdVideoEncodeAV1ExtensionHeader* pExtensionHeader;
|
118
|
+
const uint32_t* pBufferRemovalTimes;
|
119
|
+
} StdVideoEncodeAV1PictureInfo;
|
120
|
+
|
121
|
+
typedef struct StdVideoEncodeAV1ReferenceInfoFlags {
|
122
|
+
uint32_t disable_frame_end_update_cdf : 1;
|
123
|
+
uint32_t segmentation_enabled : 1;
|
124
|
+
uint32_t reserved : 30;
|
125
|
+
} StdVideoEncodeAV1ReferenceInfoFlags;
|
126
|
+
|
127
|
+
typedef struct StdVideoEncodeAV1ReferenceInfo {
|
128
|
+
StdVideoEncodeAV1ReferenceInfoFlags flags;
|
129
|
+
uint32_t RefFrameId;
|
130
|
+
StdVideoAV1FrameType frame_type;
|
131
|
+
uint8_t OrderHint;
|
132
|
+
uint8_t reserved1[3];
|
133
|
+
const StdVideoEncodeAV1ExtensionHeader* pExtensionHeader;
|
134
|
+
} StdVideoEncodeAV1ReferenceInfo;
|
135
|
+
|
136
|
+
#ifdef __cplusplus
|
137
|
+
}
|
138
|
+
#endif
|
139
|
+
|
140
|
+
#endif
|
package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_encode.h
ADDED
@@ -0,0 +1,144 @@
|
|
1
|
+
#ifndef VULKAN_VIDEO_CODEC_H264STD_ENCODE_H_
|
2
|
+
#define VULKAN_VIDEO_CODEC_H264STD_ENCODE_H_ 1
|
3
|
+
|
4
|
+
/*
|
5
|
+
** Copyright 2015-2025 The Khronos Group Inc.
|
6
|
+
**
|
7
|
+
** SPDX-License-Identifier: Apache-2.0
|
8
|
+
*/
|
9
|
+
|
10
|
+
/*
|
11
|
+
** This header is generated from the Khronos Vulkan XML API Registry.
|
12
|
+
**
|
13
|
+
*/
|
14
|
+
|
15
|
+
#ifdef __cplusplus
|
16
|
+
extern "C" {
|
17
|
+
#endif
|
18
|
+
|
19
|
+
// vulkan_video_codec_h264std_encode is a preprocessor guard. Do not pass it to API calls.
|
20
|
+
#define vulkan_video_codec_h264std_encode 1
|
21
|
+
#include "vulkan_video_codec_h264std.h"
|
22
|
+
|
23
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0)
|
24
|
+
|
25
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_SPEC_VERSION \
|
26
|
+
VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_API_VERSION_1_0_0
|
27
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_h264_encode"
|
28
|
+
typedef struct StdVideoEncodeH264WeightTableFlags {
|
29
|
+
uint32_t luma_weight_l0_flag;
|
30
|
+
uint32_t chroma_weight_l0_flag;
|
31
|
+
uint32_t luma_weight_l1_flag;
|
32
|
+
uint32_t chroma_weight_l1_flag;
|
33
|
+
} StdVideoEncodeH264WeightTableFlags;
|
34
|
+
|
35
|
+
typedef struct StdVideoEncodeH264WeightTable {
|
36
|
+
StdVideoEncodeH264WeightTableFlags flags;
|
37
|
+
uint8_t luma_log2_weight_denom;
|
38
|
+
uint8_t chroma_log2_weight_denom;
|
39
|
+
int8_t luma_weight_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
40
|
+
int8_t luma_offset_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
41
|
+
int8_t chroma_weight_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES];
|
42
|
+
int8_t chroma_offset_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES];
|
43
|
+
int8_t luma_weight_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
44
|
+
int8_t luma_offset_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
45
|
+
int8_t chroma_weight_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES];
|
46
|
+
int8_t chroma_offset_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES];
|
47
|
+
} StdVideoEncodeH264WeightTable;
|
48
|
+
|
49
|
+
typedef struct StdVideoEncodeH264SliceHeaderFlags {
|
50
|
+
uint32_t direct_spatial_mv_pred_flag : 1;
|
51
|
+
uint32_t num_ref_idx_active_override_flag : 1;
|
52
|
+
uint32_t reserved : 30;
|
53
|
+
} StdVideoEncodeH264SliceHeaderFlags;
|
54
|
+
|
55
|
+
typedef struct StdVideoEncodeH264PictureInfoFlags {
|
56
|
+
uint32_t IdrPicFlag : 1;
|
57
|
+
uint32_t is_reference : 1;
|
58
|
+
uint32_t no_output_of_prior_pics_flag : 1;
|
59
|
+
uint32_t long_term_reference_flag : 1;
|
60
|
+
uint32_t adaptive_ref_pic_marking_mode_flag : 1;
|
61
|
+
uint32_t reserved : 27;
|
62
|
+
} StdVideoEncodeH264PictureInfoFlags;
|
63
|
+
|
64
|
+
typedef struct StdVideoEncodeH264ReferenceInfoFlags {
|
65
|
+
uint32_t used_for_long_term_reference : 1;
|
66
|
+
uint32_t reserved : 31;
|
67
|
+
} StdVideoEncodeH264ReferenceInfoFlags;
|
68
|
+
|
69
|
+
typedef struct StdVideoEncodeH264ReferenceListsInfoFlags {
|
70
|
+
uint32_t ref_pic_list_modification_flag_l0 : 1;
|
71
|
+
uint32_t ref_pic_list_modification_flag_l1 : 1;
|
72
|
+
uint32_t reserved : 30;
|
73
|
+
} StdVideoEncodeH264ReferenceListsInfoFlags;
|
74
|
+
|
75
|
+
typedef struct StdVideoEncodeH264RefListModEntry {
|
76
|
+
StdVideoH264ModificationOfPicNumsIdc modification_of_pic_nums_idc;
|
77
|
+
uint16_t abs_diff_pic_num_minus1;
|
78
|
+
uint16_t long_term_pic_num;
|
79
|
+
} StdVideoEncodeH264RefListModEntry;
|
80
|
+
|
81
|
+
typedef struct StdVideoEncodeH264RefPicMarkingEntry {
|
82
|
+
StdVideoH264MemMgmtControlOp memory_management_control_operation;
|
83
|
+
uint16_t difference_of_pic_nums_minus1;
|
84
|
+
uint16_t long_term_pic_num;
|
85
|
+
uint16_t long_term_frame_idx;
|
86
|
+
uint16_t max_long_term_frame_idx_plus1;
|
87
|
+
} StdVideoEncodeH264RefPicMarkingEntry;
|
88
|
+
|
89
|
+
typedef struct StdVideoEncodeH264ReferenceListsInfo {
|
90
|
+
StdVideoEncodeH264ReferenceListsInfoFlags flags;
|
91
|
+
uint8_t num_ref_idx_l0_active_minus1;
|
92
|
+
uint8_t num_ref_idx_l1_active_minus1;
|
93
|
+
uint8_t RefPicList0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
94
|
+
uint8_t RefPicList1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
95
|
+
uint8_t refList0ModOpCount;
|
96
|
+
uint8_t refList1ModOpCount;
|
97
|
+
uint8_t refPicMarkingOpCount;
|
98
|
+
uint8_t reserved1[7];
|
99
|
+
const StdVideoEncodeH264RefListModEntry* pRefList0ModOperations;
|
100
|
+
const StdVideoEncodeH264RefListModEntry* pRefList1ModOperations;
|
101
|
+
const StdVideoEncodeH264RefPicMarkingEntry* pRefPicMarkingOperations;
|
102
|
+
} StdVideoEncodeH264ReferenceListsInfo;
|
103
|
+
|
104
|
+
typedef struct StdVideoEncodeH264PictureInfo {
|
105
|
+
StdVideoEncodeH264PictureInfoFlags flags;
|
106
|
+
uint8_t seq_parameter_set_id;
|
107
|
+
uint8_t pic_parameter_set_id;
|
108
|
+
uint16_t idr_pic_id;
|
109
|
+
StdVideoH264PictureType primary_pic_type;
|
110
|
+
uint32_t frame_num;
|
111
|
+
int32_t PicOrderCnt;
|
112
|
+
uint8_t temporal_id;
|
113
|
+
uint8_t reserved1[3];
|
114
|
+
const StdVideoEncodeH264ReferenceListsInfo* pRefLists;
|
115
|
+
} StdVideoEncodeH264PictureInfo;
|
116
|
+
|
117
|
+
typedef struct StdVideoEncodeH264ReferenceInfo {
|
118
|
+
StdVideoEncodeH264ReferenceInfoFlags flags;
|
119
|
+
StdVideoH264PictureType primary_pic_type;
|
120
|
+
uint32_t FrameNum;
|
121
|
+
int32_t PicOrderCnt;
|
122
|
+
uint16_t long_term_pic_num;
|
123
|
+
uint16_t long_term_frame_idx;
|
124
|
+
uint8_t temporal_id;
|
125
|
+
} StdVideoEncodeH264ReferenceInfo;
|
126
|
+
|
127
|
+
typedef struct StdVideoEncodeH264SliceHeader {
|
128
|
+
StdVideoEncodeH264SliceHeaderFlags flags;
|
129
|
+
uint32_t first_mb_in_slice;
|
130
|
+
StdVideoH264SliceType slice_type;
|
131
|
+
int8_t slice_alpha_c0_offset_div2;
|
132
|
+
int8_t slice_beta_offset_div2;
|
133
|
+
int8_t slice_qp_delta;
|
134
|
+
uint8_t reserved1;
|
135
|
+
StdVideoH264CabacInitIdc cabac_init_idc;
|
136
|
+
StdVideoH264DisableDeblockingFilterIdc disable_deblocking_filter_idc;
|
137
|
+
const StdVideoEncodeH264WeightTable* pWeightTable;
|
138
|
+
} StdVideoEncodeH264SliceHeader;
|
139
|
+
|
140
|
+
#ifdef __cplusplus
|
141
|
+
}
|
142
|
+
#endif
|
143
|
+
|
144
|
+
#endif
|
package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_encode.h
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
#ifndef VULKAN_VIDEO_CODEC_H265STD_ENCODE_H_
|
2
|
+
#define VULKAN_VIDEO_CODEC_H265STD_ENCODE_H_ 1
|
3
|
+
|
4
|
+
/*
|
5
|
+
** Copyright 2015-2025 The Khronos Group Inc.
|
6
|
+
**
|
7
|
+
** SPDX-License-Identifier: Apache-2.0
|
8
|
+
*/
|
9
|
+
|
10
|
+
/*
|
11
|
+
** This header is generated from the Khronos Vulkan XML API Registry.
|
12
|
+
**
|
13
|
+
*/
|
14
|
+
|
15
|
+
#ifdef __cplusplus
|
16
|
+
extern "C" {
|
17
|
+
#endif
|
18
|
+
|
19
|
+
// vulkan_video_codec_h265std_encode is a preprocessor guard. Do not pass it to API calls.
|
20
|
+
#define vulkan_video_codec_h265std_encode 1
|
21
|
+
#include "vulkan_video_codec_h265std.h"
|
22
|
+
|
23
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_H265_ENCODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0)
|
24
|
+
|
25
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_H265_ENCODE_SPEC_VERSION \
|
26
|
+
VK_STD_VULKAN_VIDEO_CODEC_H265_ENCODE_API_VERSION_1_0_0
|
27
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_H265_ENCODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_h265_encode"
|
28
|
+
typedef struct StdVideoEncodeH265WeightTableFlags {
|
29
|
+
uint16_t luma_weight_l0_flag;
|
30
|
+
uint16_t chroma_weight_l0_flag;
|
31
|
+
uint16_t luma_weight_l1_flag;
|
32
|
+
uint16_t chroma_weight_l1_flag;
|
33
|
+
} StdVideoEncodeH265WeightTableFlags;
|
34
|
+
|
35
|
+
typedef struct StdVideoEncodeH265WeightTable {
|
36
|
+
StdVideoEncodeH265WeightTableFlags flags;
|
37
|
+
uint8_t luma_log2_weight_denom;
|
38
|
+
int8_t delta_chroma_log2_weight_denom;
|
39
|
+
int8_t delta_luma_weight_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
|
40
|
+
int8_t luma_offset_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
|
41
|
+
int8_t delta_chroma_weight_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF]
|
42
|
+
[STD_VIDEO_H265_MAX_CHROMA_PLANES];
|
43
|
+
int8_t delta_chroma_offset_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF]
|
44
|
+
[STD_VIDEO_H265_MAX_CHROMA_PLANES];
|
45
|
+
int8_t delta_luma_weight_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
|
46
|
+
int8_t luma_offset_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
|
47
|
+
int8_t delta_chroma_weight_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF]
|
48
|
+
[STD_VIDEO_H265_MAX_CHROMA_PLANES];
|
49
|
+
int8_t delta_chroma_offset_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF]
|
50
|
+
[STD_VIDEO_H265_MAX_CHROMA_PLANES];
|
51
|
+
} StdVideoEncodeH265WeightTable;
|
52
|
+
|
53
|
+
typedef struct StdVideoEncodeH265SliceSegmentHeaderFlags {
|
54
|
+
uint32_t first_slice_segment_in_pic_flag : 1;
|
55
|
+
uint32_t dependent_slice_segment_flag : 1;
|
56
|
+
uint32_t slice_sao_luma_flag : 1;
|
57
|
+
uint32_t slice_sao_chroma_flag : 1;
|
58
|
+
uint32_t num_ref_idx_active_override_flag : 1;
|
59
|
+
uint32_t mvd_l1_zero_flag : 1;
|
60
|
+
uint32_t cabac_init_flag : 1;
|
61
|
+
uint32_t cu_chroma_qp_offset_enabled_flag : 1;
|
62
|
+
uint32_t deblocking_filter_override_flag : 1;
|
63
|
+
uint32_t slice_deblocking_filter_disabled_flag : 1;
|
64
|
+
uint32_t collocated_from_l0_flag : 1;
|
65
|
+
uint32_t slice_loop_filter_across_slices_enabled_flag : 1;
|
66
|
+
uint32_t reserved : 20;
|
67
|
+
} StdVideoEncodeH265SliceSegmentHeaderFlags;
|
68
|
+
|
69
|
+
typedef struct StdVideoEncodeH265SliceSegmentHeader {
|
70
|
+
StdVideoEncodeH265SliceSegmentHeaderFlags flags;
|
71
|
+
StdVideoH265SliceType slice_type;
|
72
|
+
uint32_t slice_segment_address;
|
73
|
+
uint8_t collocated_ref_idx;
|
74
|
+
uint8_t MaxNumMergeCand;
|
75
|
+
int8_t slice_cb_qp_offset;
|
76
|
+
int8_t slice_cr_qp_offset;
|
77
|
+
int8_t slice_beta_offset_div2;
|
78
|
+
int8_t slice_tc_offset_div2;
|
79
|
+
int8_t slice_act_y_qp_offset;
|
80
|
+
int8_t slice_act_cb_qp_offset;
|
81
|
+
int8_t slice_act_cr_qp_offset;
|
82
|
+
int8_t slice_qp_delta;
|
83
|
+
uint16_t reserved1;
|
84
|
+
const StdVideoEncodeH265WeightTable* pWeightTable;
|
85
|
+
} StdVideoEncodeH265SliceSegmentHeader;
|
86
|
+
|
87
|
+
typedef struct StdVideoEncodeH265ReferenceListsInfoFlags {
|
88
|
+
uint32_t ref_pic_list_modification_flag_l0 : 1;
|
89
|
+
uint32_t ref_pic_list_modification_flag_l1 : 1;
|
90
|
+
uint32_t reserved : 30;
|
91
|
+
} StdVideoEncodeH265ReferenceListsInfoFlags;
|
92
|
+
|
93
|
+
typedef struct StdVideoEncodeH265ReferenceListsInfo {
|
94
|
+
StdVideoEncodeH265ReferenceListsInfoFlags flags;
|
95
|
+
uint8_t num_ref_idx_l0_active_minus1;
|
96
|
+
uint8_t num_ref_idx_l1_active_minus1;
|
97
|
+
uint8_t RefPicList0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
|
98
|
+
uint8_t RefPicList1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
|
99
|
+
uint8_t list_entry_l0[STD_VIDEO_H265_MAX_NUM_LIST_REF];
|
100
|
+
uint8_t list_entry_l1[STD_VIDEO_H265_MAX_NUM_LIST_REF];
|
101
|
+
} StdVideoEncodeH265ReferenceListsInfo;
|
102
|
+
|
103
|
+
typedef struct StdVideoEncodeH265PictureInfoFlags {
|
104
|
+
uint32_t is_reference : 1;
|
105
|
+
uint32_t IrapPicFlag : 1;
|
106
|
+
uint32_t used_for_long_term_reference : 1;
|
107
|
+
uint32_t discardable_flag : 1;
|
108
|
+
uint32_t cross_layer_bla_flag : 1;
|
109
|
+
uint32_t pic_output_flag : 1;
|
110
|
+
uint32_t no_output_of_prior_pics_flag : 1;
|
111
|
+
uint32_t short_term_ref_pic_set_sps_flag : 1;
|
112
|
+
uint32_t slice_temporal_mvp_enabled_flag : 1;
|
113
|
+
uint32_t reserved : 23;
|
114
|
+
} StdVideoEncodeH265PictureInfoFlags;
|
115
|
+
|
116
|
+
typedef struct StdVideoEncodeH265LongTermRefPics {
|
117
|
+
uint8_t num_long_term_sps;
|
118
|
+
uint8_t num_long_term_pics;
|
119
|
+
uint8_t lt_idx_sps[STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS];
|
120
|
+
uint8_t poc_lsb_lt[STD_VIDEO_H265_MAX_LONG_TERM_PICS];
|
121
|
+
uint16_t used_by_curr_pic_lt_flag;
|
122
|
+
uint8_t delta_poc_msb_present_flag[STD_VIDEO_H265_MAX_DELTA_POC];
|
123
|
+
uint8_t delta_poc_msb_cycle_lt[STD_VIDEO_H265_MAX_DELTA_POC];
|
124
|
+
} StdVideoEncodeH265LongTermRefPics;
|
125
|
+
|
126
|
+
typedef struct StdVideoEncodeH265PictureInfo {
|
127
|
+
StdVideoEncodeH265PictureInfoFlags flags;
|
128
|
+
StdVideoH265PictureType pic_type;
|
129
|
+
uint8_t sps_video_parameter_set_id;
|
130
|
+
uint8_t pps_seq_parameter_set_id;
|
131
|
+
uint8_t pps_pic_parameter_set_id;
|
132
|
+
uint8_t short_term_ref_pic_set_idx;
|
133
|
+
int32_t PicOrderCntVal;
|
134
|
+
uint8_t TemporalId;
|
135
|
+
uint8_t reserved1[7];
|
136
|
+
const StdVideoEncodeH265ReferenceListsInfo* pRefLists;
|
137
|
+
const StdVideoH265ShortTermRefPicSet* pShortTermRefPicSet;
|
138
|
+
const StdVideoEncodeH265LongTermRefPics* pLongTermRefPics;
|
139
|
+
} StdVideoEncodeH265PictureInfo;
|
140
|
+
|
141
|
+
typedef struct StdVideoEncodeH265ReferenceInfoFlags {
|
142
|
+
uint32_t used_for_long_term_reference : 1;
|
143
|
+
uint32_t unused_for_reference : 1;
|
144
|
+
uint32_t reserved : 30;
|
145
|
+
} StdVideoEncodeH265ReferenceInfoFlags;
|
146
|
+
|
147
|
+
typedef struct StdVideoEncodeH265ReferenceInfo {
|
148
|
+
StdVideoEncodeH265ReferenceInfoFlags flags;
|
149
|
+
StdVideoH265PictureType pic_type;
|
150
|
+
int32_t PicOrderCntVal;
|
151
|
+
uint8_t TemporalId;
|
152
|
+
} StdVideoEncodeH265ReferenceInfo;
|
153
|
+
|
154
|
+
#ifdef __cplusplus
|
155
|
+
}
|
156
|
+
#endif
|
157
|
+
|
158
|
+
#endif
|