@shopify/react-native-skia 2.6.3-next.1 → 2.6.3-next.2
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 +8 -4
- package/android/build.gradle +22 -3
- package/android/cpp/rnskia-android/RNSkAndroidPlatformContext.h +62 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaWebGPUViewManagerDelegate.java +35 -0
- package/android/src/paper/java/com/facebook/react/viewmanagers/SkiaWebGPUViewManagerInterface.java +17 -0
- package/apple/RNSkApplePlatformContext.h +2 -0
- package/apple/RNSkApplePlatformContext.mm +71 -0
- package/apple/RNWebGPUAppleNativeBuffer.mm +33 -0
- package/cpp/api/JsiNativeBuffer.h +9 -1
- package/cpp/api/JsiSkAnimatedImage.h +1 -1
- package/cpp/api/JsiSkAnimatedImageFactory.h +1 -1
- package/cpp/api/JsiSkApi.h +3 -3
- package/cpp/api/JsiSkCanvas.h +34 -1
- package/cpp/api/JsiSkColor.h +1 -1
- package/cpp/api/JsiSkDataFactory.h +2 -2
- package/cpp/api/JsiSkFont.h +1 -1
- package/cpp/api/JsiSkFontMgr.h +1 -1
- package/cpp/api/JsiSkHostObjects.h +3 -3
- package/cpp/api/JsiSkImage.h +15 -7
- package/cpp/api/JsiSkImageFactory.h +2 -2
- package/cpp/api/JsiSkPath.h +1 -1
- package/cpp/api/JsiSkPathFactory.h +1 -1
- package/cpp/api/JsiSkSkottie.h +1 -1
- package/cpp/api/JsiSkSurface.h +18 -6
- package/cpp/api/JsiSkTypeface.h +1 -1
- package/cpp/api/JsiSkTypefaceFontProvider.h +1 -1
- package/cpp/api/JsiSkiaContext.h +2 -2
- package/cpp/api/JsiTextureInfo.h +1 -1
- package/cpp/api/JsiVideo.h +2 -2
- package/cpp/api/recorder/Convertor.h +1 -1
- package/cpp/api/recorder/Drawings.h +1 -1
- package/cpp/api/recorder/JsiRecorder.h +4 -4
- package/cpp/api/recorder/RNRecorder.h +1 -1
- package/cpp/api/third_party/SkottieUtils.cpp +1 -1
- package/cpp/api/third_party/base64.cpp +1 -1
- package/cpp/jsi/JsiHostObject.cpp +5 -7
- package/cpp/jsi/JsiPromises.h +1 -1
- package/cpp/jsi/ViewProperty.h +1 -1
- package/cpp/rnskia/RNDawnContext.h +13 -0
- package/cpp/rnskia/RNDawnUtils.h +11 -1
- package/cpp/rnskia/RNSkJsiViewApi.h +2 -2
- package/cpp/rnskia/RNSkManager.cpp +88 -2
- package/cpp/rnskia/RNSkPictureView.h +4 -4
- package/cpp/rnskia/RNSkPlatformContext.h +7 -0
- package/cpp/rnskia/RNSkView.h +9 -6
- package/cpp/rnwgpu/ArrayBuffer.h +51 -7
- package/cpp/rnwgpu/api/AppleNativeBuffer.h +22 -0
- package/cpp/rnwgpu/api/Convertors.h +33 -11
- package/cpp/rnwgpu/api/GPU.cpp +0 -3
- package/cpp/rnwgpu/api/GPUAdapter.cpp +37 -7
- package/cpp/rnwgpu/api/GPUBuffer.h +1 -1
- package/cpp/rnwgpu/api/GPUDevice.cpp +84 -6
- package/cpp/rnwgpu/api/GPUDevice.h +12 -0
- package/cpp/rnwgpu/api/GPUExternalTexture.cpp +139 -0
- package/cpp/rnwgpu/api/GPUExternalTexture.h +52 -2
- package/cpp/rnwgpu/api/GPUQueue.cpp +50 -45
- package/cpp/rnwgpu/api/GPUShaderModule.cpp +1 -1
- package/cpp/rnwgpu/api/GPUSharedFence.cpp +80 -0
- package/cpp/rnwgpu/api/GPUSharedFence.h +53 -0
- package/cpp/rnwgpu/api/GPUSharedTextureMemory.cpp +135 -0
- package/cpp/rnwgpu/api/GPUSharedTextureMemory.h +75 -0
- package/cpp/rnwgpu/api/ImageBitmap.h +62 -0
- package/cpp/rnwgpu/api/NativeBufferUtils.h +87 -0
- package/cpp/rnwgpu/api/descriptors/GPUBindGroupEntry.h +4 -1
- package/cpp/rnwgpu/api/descriptors/GPUCanvasConfiguration.h +1 -1
- package/cpp/rnwgpu/api/descriptors/GPUDawnTogglesDescriptor.h +56 -0
- package/cpp/rnwgpu/api/descriptors/GPUDeviceDescriptor.h +10 -0
- package/cpp/rnwgpu/api/descriptors/GPUExternalTextureDescriptor.h +43 -24
- package/cpp/rnwgpu/api/descriptors/GPUImageCopyExternalImage.h +9 -9
- package/cpp/rnwgpu/api/descriptors/GPUImageCopyTexture.h +1 -1
- package/cpp/rnwgpu/api/descriptors/GPUImageCopyTextureTagged.h +2 -2
- package/cpp/rnwgpu/api/descriptors/GPUSharedFenceDescriptor.h +58 -0
- package/cpp/rnwgpu/api/descriptors/GPUSharedFenceState.h +51 -0
- package/cpp/rnwgpu/api/descriptors/GPUSharedTextureMemoryDescriptor.h +73 -0
- package/cpp/rnwgpu/api/descriptors/GPUTextureDescriptor.h +1 -1
- package/cpp/rnwgpu/api/descriptors/GPUUncapturedErrorEventInit.h +1 -1
- package/cpp/skia/include/android/GrAHardwareBufferUtils.h +1 -1
- package/cpp/skia/include/android/SkAndroidFrameworkUtils.h +1 -1
- package/cpp/skia/include/android/SkAnimatedImage.h +1 -1
- package/cpp/skia/include/codec/SkCodec.h +0 -8
- package/cpp/skia/include/codec/SkEncodedOrigin.h +1 -1
- package/cpp/skia/include/codec/SkPngRustDecoder.h +1 -1
- package/cpp/skia/include/core/SkBitmap.h +2 -8
- package/cpp/skia/include/core/SkCPURecorder.h +3 -1
- package/cpp/skia/include/core/SkCanvasVirtualEnforcer.h +1 -1
- package/cpp/skia/include/core/SkColorType.h +5 -3
- package/cpp/skia/include/core/SkContourMeasure.h +1 -1
- package/cpp/skia/include/core/SkCoverageMode.h +1 -1
- package/cpp/skia/include/core/SkCubicMap.h +1 -1
- package/cpp/skia/include/core/SkExecutor.h +1 -1
- package/cpp/skia/include/core/SkFont.h +15 -0
- package/cpp/skia/include/core/SkFontArguments.h +6 -1
- package/cpp/skia/include/core/SkFontMetrics.h +1 -1
- package/cpp/skia/include/core/SkFontMgr.h +36 -1
- package/cpp/skia/include/core/SkFontParameters.h +1 -1
- package/cpp/skia/include/core/SkFontScanner.h +1 -1
- package/cpp/skia/include/core/SkFontTypes.h +1 -1
- package/cpp/skia/include/core/SkM44.h +1 -1
- package/cpp/skia/include/core/SkMilestone.h +1 -1
- package/cpp/skia/include/core/SkOpenTypeSVGDecoder.h +1 -1
- package/cpp/skia/include/core/SkPathBuilder.h +10 -4
- package/cpp/skia/include/core/SkPathIter.h +1 -1
- package/cpp/skia/include/core/SkPathTypes.h +1 -1
- package/cpp/skia/include/core/SkPixelRef.h +4 -1
- package/cpp/skia/include/core/SkRecorder.h +2 -1
- package/cpp/skia/include/core/SkRegion.h +17 -6
- package/cpp/skia/include/core/SkSamplingOptions.h +1 -1
- package/cpp/skia/include/core/SkSerialProcs.h +8 -1
- package/cpp/skia/include/core/SkShader.h +3 -5
- package/cpp/skia/include/core/SkSpan.h +1 -1
- package/cpp/skia/include/core/SkStream.h +1 -1
- package/cpp/skia/include/core/SkStrikeRef.h +80 -0
- package/cpp/skia/include/core/SkTileMode.h +1 -1
- package/cpp/skia/include/core/SkVertices.h +1 -1
- package/cpp/skia/include/core/SkYUVAPixmaps.h +3 -5
- package/cpp/skia/include/docs/SkPDFDocument.h +1 -1
- package/cpp/skia/include/docs/SkXPSDocument.h +1 -1
- package/cpp/skia/include/effects/SkGradient.h +1 -1
- package/cpp/skia/include/effects/SkHighContrastFilter.h +1 -1
- package/cpp/skia/include/effects/SkRuntimeEffect.h +2 -2
- package/cpp/skia/include/effects/SkShaderMaskFilter.h +1 -1
- package/cpp/skia/include/effects/SkTrimPathEffect.h +1 -1
- package/cpp/skia/include/encode/SkEncoder.h +1 -1
- package/cpp/skia/include/encode/SkJpegEncoder.h +1 -1
- package/cpp/skia/include/encode/SkPngEncoder.h +1 -1
- package/cpp/skia/include/encode/SkPngRustEncoder.h +1 -1
- package/cpp/skia/include/encode/SkWebpEncoder.h +1 -1
- package/cpp/skia/include/gpu/GpuTypes.h +2 -0
- package/cpp/skia/include/gpu/MutableTextureState.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrBackendSemaphore.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrBackendSurface.h +6 -62
- package/cpp/skia/include/gpu/ganesh/GrContextThreadSafeProxy.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrDirectContext.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrDriverBugWorkarounds.h +1 -1
- package/cpp/skia/include/gpu/ganesh/GrRecordingContext.h +2 -1
- package/cpp/skia/include/gpu/ganesh/mock/GrMockBackendSurface.h +59 -0
- package/cpp/skia/include/gpu/ganesh/mock/GrMockTypes.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlBackendContext.h +1 -1
- package/cpp/skia/include/gpu/ganesh/mtl/GrMtlTypes.h +1 -1
- package/cpp/skia/include/gpu/ganesh/vk/GrBackendDrawableInfo.h +1 -1
- package/cpp/skia/include/gpu/graphite/Context.h +12 -5
- package/cpp/skia/include/gpu/graphite/GraphiteTypes.h +6 -0
- package/cpp/skia/include/gpu/graphite/Image.h +82 -9
- package/cpp/skia/include/gpu/graphite/PrecompileContext.h +7 -2
- package/cpp/skia/include/gpu/graphite/Recorder.h +6 -4
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileColorFilter.h +11 -1
- package/cpp/skia/include/gpu/graphite/precompile/PrecompileShader.h +1 -0
- package/cpp/skia/include/gpu/graphite/vk/VulkanGraphiteTypes.h +1 -1
- package/cpp/skia/include/gpu/mtl/MtlMemoryAllocator.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanExtensions.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanMemoryAllocator.h +1 -1
- package/cpp/skia/include/gpu/vk/VulkanTypes.h +1 -1
- package/cpp/skia/include/ports/SkCFObject.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_Fontations.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_android_ndk.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_data.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_fuchsia.h +1 -1
- package/cpp/skia/include/ports/SkFontMgr_mac_ct.h +1 -1
- package/cpp/skia/include/ports/SkFontScanner_Fontations.h +1 -1
- package/cpp/skia/include/ports/SkFontScanner_FreeType.h +1 -1
- package/cpp/skia/include/ports/SkTypeface_fontations.h +1 -1
- package/cpp/skia/include/private/SkExif.h +1 -1
- package/cpp/skia/include/private/SkGainmapInfo.h +1 -1
- package/cpp/skia/include/private/SkGainmapShader.h +1 -1
- package/cpp/skia/include/private/SkHdrMetadata.h +21 -0
- package/cpp/skia/include/private/SkJpegGainmapEncoder.h +1 -1
- package/cpp/skia/include/private/SkPixelStorage.h +37 -0
- package/cpp/skia/include/private/SkXmp.h +1 -1
- package/cpp/skia/include/private/base/SkAssert.h +6 -5
- package/cpp/skia/include/private/base/SkContainers.h +1 -1
- package/cpp/skia/include/private/base/SkFeatures.h +30 -30
- package/cpp/skia/include/private/base/SkLog.h +1 -7
- package/cpp/skia/include/private/base/SkLogPriority.h +4 -5
- package/cpp/skia/include/private/base/SkMacros.h +1 -1
- package/cpp/skia/include/private/base/SkMalloc.h +1 -1
- package/cpp/skia/include/private/base/SkSafe32.h +1 -1
- package/cpp/skia/include/private/base/SkSpan_impl.h +1 -1
- package/cpp/skia/include/private/base/SkTDArray.h +13 -1
- package/cpp/skia/include/private/base/SkTPin.h +1 -1
- package/cpp/skia/include/private/base/SkTo.h +1 -1
- package/cpp/skia/include/private/chromium/GrVkSecondaryCBDrawContext.h +1 -1
- package/cpp/skia/include/private/chromium/SkChromeRemoteGlyphCache.h +1 -1
- package/cpp/skia/include/private/chromium/SkCodecsICCProfileChromium.h +52 -0
- package/cpp/skia/include/private/chromium/SkExifChromium.h +26 -0
- package/cpp/skia/include/private/gpu/ganesh/GrContext_Base.h +1 -1
- package/cpp/skia/include/private/gpu/ganesh/GrImageContext.h +1 -1
- package/cpp/skia/include/private/gpu/ganesh/GrTypesPriv.h +2 -1
- package/cpp/skia/include/private/gpu/vk/SkiaVulkan.h +1 -1
- package/cpp/skia/include/sksl/SkSLDebugTrace.h +1 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_icd.h +41 -51
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_layer.h +42 -53
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_platform.h +2 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std.h +158 -154
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_decode.h +68 -65
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_encode.h +90 -87
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std.h +9 -9
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_decode.h +2 -2
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_encode.h +82 -79
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std.h +24 -24
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_decode.h +2 -2
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_encode.h +95 -96
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_vp9std.h +151 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_vp9std_decode.h +68 -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 +5 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_android.h +7 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_beta.h +291 -158
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_core.h +13174 -10113
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_directfb.h +23 -19
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_fuchsia.h +159 -165
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ggp.h +22 -19
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ios.h +3 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_macos.h +3 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_metal.h +94 -88
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_ohos.h +120 -0
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_screen.h +55 -51
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_vi.h +18 -15
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_wayland.h +23 -19
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_win32.h +31 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xcb.h +5 -1
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xlib.h +27 -27
- package/cpp/skia/include/third_party/vulkan/vulkan/vulkan_xlib_xrandr.h +20 -16
- package/cpp/skia/include/utils/SkEventTracer.h +6 -1
- package/cpp/skia/include/utils/SkOrderedFontMgr.h +1 -1
- package/cpp/skia/include/utils/SkShadowUtils.h +1 -1
- package/cpp/skia/include/utils/SkTextUtils.h +1 -1
- package/cpp/skia/modules/jsonreader/SkJSONReader.cpp +20 -4
- package/cpp/skia/modules/skcms/src/Transform_inl.h +11 -15
- package/cpp/skia/modules/skcms/src/skcms_public.h +2 -0
- package/cpp/skia/modules/skottie/include/ExternalLayer.h +1 -1
- package/cpp/skia/modules/skottie/include/Skottie.h +1 -1
- package/cpp/skia/modules/skottie/include/SkottieProperty.h +1 -1
- package/cpp/skia/modules/skottie/include/SlotManager.h +1 -1
- package/cpp/skia/modules/skottie/include/TextShaper.h +1 -1
- package/cpp/skia/modules/skottie/src/SkottieValue.h +1 -1
- package/cpp/skia/modules/skottie/src/animator/Animator.h +1 -1
- package/cpp/skia/modules/skottie/src/text/Font.h +1 -1
- package/cpp/skia/modules/skottie/src/text/TextAdapter.h +1 -1
- package/cpp/skia/modules/skottie/src/text/TextAnimator.h +3 -2
- package/cpp/skia/modules/skottie/src/text/TextValue.h +1 -1
- package/cpp/skia/modules/skparagraph/include/DartTypes.h +1 -1
- package/cpp/skia/modules/skparagraph/include/FontArguments.h +1 -1
- package/cpp/skia/modules/skparagraph/include/FontCollection.h +5 -1
- package/cpp/skia/modules/skparagraph/include/Metrics.h +1 -1
- package/cpp/skia/modules/skparagraph/include/Paragraph.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphBuilder.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphCache.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphPainter.h +1 -1
- package/cpp/skia/modules/skparagraph/include/ParagraphStyle.h +12 -5
- package/cpp/skia/modules/skparagraph/include/TextShadow.h +1 -1
- package/cpp/skia/modules/skparagraph/include/TextStyle.h +1 -1
- package/cpp/skia/modules/skparagraph/include/TypefaceFontProvider.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGClipEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGColorFilter.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGDraw.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGEffectNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGGeometryEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGGeometryNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGGradient.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGGroup.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGImage.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGInvalidationController.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGMaskEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGMerge.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGOpacityEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGPaint.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGPath.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGPlane.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGRect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGRenderEffect.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGRenderNode.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGScene.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGText.h +1 -1
- package/cpp/skia/modules/sksg/include/SkSGTransform.h +1 -1
- package/cpp/skia/modules/skshaper/include/SkShaper_coretext.h +8 -1
- package/cpp/skia/modules/svg/include/SkSVGFe.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeBlend.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeColorMatrix.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeComponentTransfer.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeComposite.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeDisplacementMap.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeFlood.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeGaussianBlur.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeImage.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeLightSource.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeLighting.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeMerge.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeMorphology.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeOffset.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFeTurbulence.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFilter.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGFilterContext.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGGradient.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGImage.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGMask.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGOpenTypeSVGDecoder.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGPattern.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGRadialGradient.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGText.h +1 -1
- package/cpp/skia/modules/svg/include/SkSVGUse.h +1 -1
- package/cpp/skia/src/base/SkAutoLocaleSetter.h +94 -0
- package/cpp/skia/src/base/SkUTF.h +1 -1
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +10 -1
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -1
- package/lib/commonjs/skia/types/WebGPU.d.ts +153 -0
- package/lib/commonjs/skia/types/WebGPU.js +6 -0
- package/lib/commonjs/skia/types/WebGPU.js.map +1 -0
- package/lib/commonjs/skia/types/index.d.ts +1 -0
- package/lib/commonjs/skia/types/index.js +11 -0
- package/lib/commonjs/skia/types/index.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js +19 -0
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPath.js.map +1 -1
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +10 -1
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -1
- package/lib/module/skia/types/WebGPU.d.ts +153 -0
- package/lib/module/skia/types/WebGPU.js +2 -0
- package/lib/module/skia/types/WebGPU.js.map +1 -0
- package/lib/module/skia/types/index.d.ts +1 -0
- package/lib/module/skia/types/index.js +1 -0
- package/lib/module/skia/types/index.js.map +1 -1
- package/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js +19 -0
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPath.js.map +1 -1
- package/lib/module/web/LoadSkiaWeb.js +1 -2
- package/lib/module/web/LoadSkiaWeb.js.map +1 -1
- package/lib/typescript/lib/commonjs/skia/types/WebGPU.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/WebGPU.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/index.d.ts +1 -0
- package/lib/typescript/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/lib/typescript/src/skia/types/NativeBuffer/NativeBufferFactory.d.ts +10 -1
- package/lib/typescript/src/skia/types/WebGPU.d.ts +153 -0
- package/lib/typescript/src/skia/types/index.d.ts +1 -0
- package/lib/typescript/src/skia/web/JsiSkNativeBufferFactory.d.ts +1 -0
- package/package.json +16 -14
- package/react-native-skia.podspec +59 -7
- package/src/skia/types/NativeBuffer/NativeBufferFactory.ts +10 -1
- package/src/skia/types/WebGPU.ts +186 -0
- package/src/skia/types/index.ts +1 -0
- package/src/skia/web/JsiSkNativeBufferFactory.ts +20 -0
- package/src/skia/web/JsiSkPath.ts +8 -2
- package/cpp/dawn/include/dawn/dawn_proc.h +0 -50
- package/cpp/dawn/include/dawn/dawn_proc_table.h +0 -326
- package/cpp/dawn/include/dawn/dawn_thread_dispatch_proc.h +0 -47
- package/cpp/dawn/include/dawn/native/D3D11Backend.h +0 -65
- package/cpp/dawn/include/dawn/native/D3D12Backend.h +0 -102
- package/cpp/dawn/include/dawn/native/D3DBackend.h +0 -56
- package/cpp/dawn/include/dawn/native/DawnNative.h +0 -369
- package/cpp/dawn/include/dawn/native/MetalBackend.h +0 -56
- package/cpp/dawn/include/dawn/native/NullBackend.h +0 -39
- package/cpp/dawn/include/dawn/native/OpenGLBackend.h +0 -89
- package/cpp/dawn/include/dawn/native/VulkanBackend.h +0 -183
- package/cpp/dawn/include/dawn/native/WebGPUBackend.h +0 -49
- package/cpp/dawn/include/dawn/native/dawn_native_export.h +0 -49
- package/cpp/dawn/include/dawn/platform/DawnPlatform.h +0 -203
- package/cpp/dawn/include/dawn/platform/dawn_platform_export.h +0 -49
- package/cpp/dawn/include/dawn/replay/Replay.h +0 -75
- package/cpp/dawn/include/dawn/replay/dawn_replay_export.h +0 -49
- package/cpp/dawn/include/dawn/webgpu_cpp_print.h +0 -2752
- package/cpp/dawn/include/tint/tint.h +0 -90
- package/cpp/dawn/include/webgpu/webgpu.h +0 -4902
- package/cpp/dawn/include/webgpu/webgpu_cpp.h +0 -10261
- package/cpp/dawn/include/webgpu/webgpu_cpp_chained_struct.h +0 -57
- package/cpp/dawn/include/webgpu/webgpu_enum_class_bitmasks.h +0 -161
- package/cpp/dawn/include/webgpu/webgpu_glfw.h +0 -88
- package/cpp/skia/src/gpu/graphite/ContextOptionsPriv.h +0 -45
- package/cpp/skia/src/gpu/graphite/ResourceTypes.h +0 -360
- package/cpp/skia/src/gpu/graphite/TextureProxyView.h +0 -105
- package/scripts/install-libs.js +0 -173
package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_av1std_encode.h
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_VIDEO_CODEC_AV1STD_ENCODE_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -12,127 +12,130 @@
|
|
|
12
12
|
**
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
#ifdef __cplusplus
|
|
16
17
|
extern "C" {
|
|
17
18
|
#endif
|
|
18
19
|
|
|
20
|
+
|
|
21
|
+
|
|
19
22
|
// vulkan_video_codec_av1std_encode is a preprocessor guard. Do not pass it to API calls.
|
|
20
23
|
#define vulkan_video_codec_av1std_encode 1
|
|
21
24
|
#include "vulkan_video_codec_av1std.h"
|
|
22
25
|
|
|
23
26
|
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0)
|
|
24
27
|
|
|
25
|
-
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_SPEC_VERSION
|
|
26
|
-
VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_API_VERSION_1_0_0
|
|
28
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_API_VERSION_1_0_0
|
|
27
29
|
#define VK_STD_VULKAN_VIDEO_CODEC_AV1_ENCODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_av1_encode"
|
|
28
30
|
typedef struct StdVideoEncodeAV1DecoderModelInfo {
|
|
29
|
-
uint8_t
|
|
30
|
-
uint8_t
|
|
31
|
-
uint8_t
|
|
32
|
-
uint8_t
|
|
33
|
-
uint32_t
|
|
31
|
+
uint8_t buffer_delay_length_minus_1;
|
|
32
|
+
uint8_t buffer_removal_time_length_minus_1;
|
|
33
|
+
uint8_t frame_presentation_time_length_minus_1;
|
|
34
|
+
uint8_t reserved1;
|
|
35
|
+
uint32_t num_units_in_decoding_tick;
|
|
34
36
|
} StdVideoEncodeAV1DecoderModelInfo;
|
|
35
37
|
|
|
36
38
|
typedef struct StdVideoEncodeAV1ExtensionHeader {
|
|
37
|
-
uint8_t
|
|
38
|
-
uint8_t
|
|
39
|
+
uint8_t temporal_id;
|
|
40
|
+
uint8_t spatial_id;
|
|
39
41
|
} StdVideoEncodeAV1ExtensionHeader;
|
|
40
42
|
|
|
41
43
|
typedef struct StdVideoEncodeAV1OperatingPointInfoFlags {
|
|
42
|
-
uint32_t
|
|
43
|
-
uint32_t
|
|
44
|
-
uint32_t
|
|
45
|
-
uint32_t
|
|
44
|
+
uint32_t decoder_model_present_for_this_op : 1;
|
|
45
|
+
uint32_t low_delay_mode_flag : 1;
|
|
46
|
+
uint32_t initial_display_delay_present_for_this_op : 1;
|
|
47
|
+
uint32_t reserved : 29;
|
|
46
48
|
} StdVideoEncodeAV1OperatingPointInfoFlags;
|
|
47
49
|
|
|
48
50
|
typedef struct StdVideoEncodeAV1OperatingPointInfo {
|
|
49
|
-
StdVideoEncodeAV1OperatingPointInfoFlags
|
|
50
|
-
uint16_t
|
|
51
|
-
uint8_t
|
|
52
|
-
uint8_t
|
|
53
|
-
uint32_t
|
|
54
|
-
uint32_t
|
|
55
|
-
uint8_t
|
|
51
|
+
StdVideoEncodeAV1OperatingPointInfoFlags flags;
|
|
52
|
+
uint16_t operating_point_idc;
|
|
53
|
+
uint8_t seq_level_idx;
|
|
54
|
+
uint8_t seq_tier;
|
|
55
|
+
uint32_t decoder_buffer_delay;
|
|
56
|
+
uint32_t encoder_buffer_delay;
|
|
57
|
+
uint8_t initial_display_delay_minus_1;
|
|
56
58
|
} StdVideoEncodeAV1OperatingPointInfo;
|
|
57
59
|
|
|
58
60
|
typedef struct StdVideoEncodeAV1PictureInfoFlags {
|
|
59
|
-
uint32_t
|
|
60
|
-
uint32_t
|
|
61
|
-
uint32_t
|
|
62
|
-
uint32_t
|
|
63
|
-
uint32_t
|
|
64
|
-
uint32_t
|
|
65
|
-
uint32_t
|
|
66
|
-
uint32_t
|
|
67
|
-
uint32_t
|
|
68
|
-
uint32_t
|
|
69
|
-
uint32_t
|
|
70
|
-
uint32_t
|
|
71
|
-
uint32_t
|
|
72
|
-
uint32_t
|
|
73
|
-
uint32_t
|
|
74
|
-
uint32_t
|
|
75
|
-
uint32_t
|
|
76
|
-
uint32_t
|
|
77
|
-
uint32_t
|
|
78
|
-
uint32_t
|
|
79
|
-
uint32_t
|
|
80
|
-
uint32_t
|
|
81
|
-
uint32_t
|
|
82
|
-
uint32_t
|
|
83
|
-
uint32_t
|
|
84
|
-
uint32_t
|
|
85
|
-
uint32_t
|
|
86
|
-
uint32_t
|
|
87
|
-
uint32_t
|
|
88
|
-
uint32_t
|
|
61
|
+
uint32_t error_resilient_mode : 1;
|
|
62
|
+
uint32_t disable_cdf_update : 1;
|
|
63
|
+
uint32_t use_superres : 1;
|
|
64
|
+
uint32_t render_and_frame_size_different : 1;
|
|
65
|
+
uint32_t allow_screen_content_tools : 1;
|
|
66
|
+
uint32_t is_filter_switchable : 1;
|
|
67
|
+
uint32_t force_integer_mv : 1;
|
|
68
|
+
uint32_t frame_size_override_flag : 1;
|
|
69
|
+
uint32_t buffer_removal_time_present_flag : 1;
|
|
70
|
+
uint32_t allow_intrabc : 1;
|
|
71
|
+
uint32_t frame_refs_short_signaling : 1;
|
|
72
|
+
uint32_t allow_high_precision_mv : 1;
|
|
73
|
+
uint32_t is_motion_mode_switchable : 1;
|
|
74
|
+
uint32_t use_ref_frame_mvs : 1;
|
|
75
|
+
uint32_t disable_frame_end_update_cdf : 1;
|
|
76
|
+
uint32_t allow_warped_motion : 1;
|
|
77
|
+
uint32_t reduced_tx_set : 1;
|
|
78
|
+
uint32_t skip_mode_present : 1;
|
|
79
|
+
uint32_t delta_q_present : 1;
|
|
80
|
+
uint32_t delta_lf_present : 1;
|
|
81
|
+
uint32_t delta_lf_multi : 1;
|
|
82
|
+
uint32_t segmentation_enabled : 1;
|
|
83
|
+
uint32_t segmentation_update_map : 1;
|
|
84
|
+
uint32_t segmentation_temporal_update : 1;
|
|
85
|
+
uint32_t segmentation_update_data : 1;
|
|
86
|
+
uint32_t UsesLr : 1;
|
|
87
|
+
uint32_t usesChromaLr : 1;
|
|
88
|
+
uint32_t show_frame : 1;
|
|
89
|
+
uint32_t showable_frame : 1;
|
|
90
|
+
uint32_t reserved : 3;
|
|
89
91
|
} StdVideoEncodeAV1PictureInfoFlags;
|
|
90
92
|
|
|
91
93
|
typedef struct StdVideoEncodeAV1PictureInfo {
|
|
92
|
-
StdVideoEncodeAV1PictureInfoFlags
|
|
93
|
-
StdVideoAV1FrameType
|
|
94
|
-
uint32_t
|
|
95
|
-
uint32_t
|
|
96
|
-
uint8_t
|
|
97
|
-
uint8_t
|
|
98
|
-
uint8_t
|
|
99
|
-
uint8_t
|
|
100
|
-
uint16_t
|
|
101
|
-
uint16_t
|
|
102
|
-
StdVideoAV1InterpolationFilter
|
|
103
|
-
StdVideoAV1TxMode
|
|
104
|
-
uint8_t
|
|
105
|
-
uint8_t
|
|
106
|
-
uint8_t
|
|
107
|
-
int8_t
|
|
108
|
-
uint8_t
|
|
109
|
-
uint32_t
|
|
110
|
-
const StdVideoAV1TileInfo*
|
|
111
|
-
const StdVideoAV1Quantization*
|
|
112
|
-
const StdVideoAV1Segmentation*
|
|
113
|
-
const StdVideoAV1LoopFilter*
|
|
114
|
-
const StdVideoAV1CDEF*
|
|
115
|
-
const StdVideoAV1LoopRestoration*
|
|
116
|
-
const StdVideoAV1GlobalMotion*
|
|
117
|
-
const StdVideoEncodeAV1ExtensionHeader*
|
|
118
|
-
const uint32_t*
|
|
94
|
+
StdVideoEncodeAV1PictureInfoFlags flags;
|
|
95
|
+
StdVideoAV1FrameType frame_type;
|
|
96
|
+
uint32_t frame_presentation_time;
|
|
97
|
+
uint32_t current_frame_id;
|
|
98
|
+
uint8_t order_hint;
|
|
99
|
+
uint8_t primary_ref_frame;
|
|
100
|
+
uint8_t refresh_frame_flags;
|
|
101
|
+
uint8_t coded_denom;
|
|
102
|
+
uint16_t render_width_minus_1;
|
|
103
|
+
uint16_t render_height_minus_1;
|
|
104
|
+
StdVideoAV1InterpolationFilter interpolation_filter;
|
|
105
|
+
StdVideoAV1TxMode TxMode;
|
|
106
|
+
uint8_t delta_q_res;
|
|
107
|
+
uint8_t delta_lf_res;
|
|
108
|
+
uint8_t ref_order_hint[STD_VIDEO_AV1_NUM_REF_FRAMES];
|
|
109
|
+
int8_t ref_frame_idx[STD_VIDEO_AV1_REFS_PER_FRAME];
|
|
110
|
+
uint8_t reserved1[3];
|
|
111
|
+
uint32_t delta_frame_id_minus_1[STD_VIDEO_AV1_REFS_PER_FRAME];
|
|
112
|
+
const StdVideoAV1TileInfo* pTileInfo;
|
|
113
|
+
const StdVideoAV1Quantization* pQuantization;
|
|
114
|
+
const StdVideoAV1Segmentation* pSegmentation;
|
|
115
|
+
const StdVideoAV1LoopFilter* pLoopFilter;
|
|
116
|
+
const StdVideoAV1CDEF* pCDEF;
|
|
117
|
+
const StdVideoAV1LoopRestoration* pLoopRestoration;
|
|
118
|
+
const StdVideoAV1GlobalMotion* pGlobalMotion;
|
|
119
|
+
const StdVideoEncodeAV1ExtensionHeader* pExtensionHeader;
|
|
120
|
+
const uint32_t* pBufferRemovalTimes;
|
|
119
121
|
} StdVideoEncodeAV1PictureInfo;
|
|
120
122
|
|
|
121
123
|
typedef struct StdVideoEncodeAV1ReferenceInfoFlags {
|
|
122
|
-
uint32_t
|
|
123
|
-
uint32_t
|
|
124
|
-
uint32_t
|
|
124
|
+
uint32_t disable_frame_end_update_cdf : 1;
|
|
125
|
+
uint32_t segmentation_enabled : 1;
|
|
126
|
+
uint32_t reserved : 30;
|
|
125
127
|
} StdVideoEncodeAV1ReferenceInfoFlags;
|
|
126
128
|
|
|
127
129
|
typedef struct StdVideoEncodeAV1ReferenceInfo {
|
|
128
|
-
StdVideoEncodeAV1ReferenceInfoFlags
|
|
129
|
-
uint32_t
|
|
130
|
-
StdVideoAV1FrameType
|
|
131
|
-
uint8_t
|
|
132
|
-
uint8_t
|
|
133
|
-
const StdVideoEncodeAV1ExtensionHeader*
|
|
130
|
+
StdVideoEncodeAV1ReferenceInfoFlags flags;
|
|
131
|
+
uint32_t RefFrameId;
|
|
132
|
+
StdVideoAV1FrameType frame_type;
|
|
133
|
+
uint8_t OrderHint;
|
|
134
|
+
uint8_t reserved1[3];
|
|
135
|
+
const StdVideoEncodeAV1ExtensionHeader* pExtensionHeader;
|
|
134
136
|
} StdVideoEncodeAV1ReferenceInfo;
|
|
135
137
|
|
|
138
|
+
|
|
136
139
|
#ifdef __cplusplus
|
|
137
140
|
}
|
|
138
141
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_VIDEO_CODEC_H264STD_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -22,14 +22,14 @@ extern "C" {
|
|
|
22
22
|
// vulkan_video_codec_h264std is a preprocessor guard. Do not pass it to API calls.
|
|
23
23
|
#define vulkan_video_codec_h264std 1
|
|
24
24
|
#include "vulkan_video_codecs_common.h"
|
|
25
|
-
#define STD_VIDEO_H264_CPB_CNT_LIST_SIZE
|
|
26
|
-
#define STD_VIDEO_H264_SCALING_LIST_4X4_NUM_LISTS
|
|
27
|
-
#define STD_VIDEO_H264_SCALING_LIST_4X4_NUM_ELEMENTS
|
|
28
|
-
#define STD_VIDEO_H264_SCALING_LIST_8X8_NUM_LISTS
|
|
29
|
-
#define STD_VIDEO_H264_SCALING_LIST_8X8_NUM_ELEMENTS
|
|
30
|
-
#define STD_VIDEO_H264_MAX_NUM_LIST_REF
|
|
31
|
-
#define STD_VIDEO_H264_MAX_CHROMA_PLANES
|
|
32
|
-
#define STD_VIDEO_H264_NO_REFERENCE_PICTURE
|
|
25
|
+
#define STD_VIDEO_H264_CPB_CNT_LIST_SIZE 32U
|
|
26
|
+
#define STD_VIDEO_H264_SCALING_LIST_4X4_NUM_LISTS 6U
|
|
27
|
+
#define STD_VIDEO_H264_SCALING_LIST_4X4_NUM_ELEMENTS 16U
|
|
28
|
+
#define STD_VIDEO_H264_SCALING_LIST_8X8_NUM_LISTS 6U
|
|
29
|
+
#define STD_VIDEO_H264_SCALING_LIST_8X8_NUM_ELEMENTS 64U
|
|
30
|
+
#define STD_VIDEO_H264_MAX_NUM_LIST_REF 32U
|
|
31
|
+
#define STD_VIDEO_H264_MAX_CHROMA_PLANES 2U
|
|
32
|
+
#define STD_VIDEO_H264_NO_REFERENCE_PICTURE 0xFFU
|
|
33
33
|
|
|
34
34
|
typedef enum StdVideoH264ChromaFormatIdc {
|
|
35
35
|
STD_VIDEO_H264_CHROMA_FORMAT_IDC_MONOCHROME = 0,
|
package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_decode.h
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_VIDEO_CODEC_H264STD_DECODE_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -27,7 +27,7 @@ extern "C" {
|
|
|
27
27
|
|
|
28
28
|
#define VK_STD_VULKAN_VIDEO_CODEC_H264_DECODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_H264_DECODE_API_VERSION_1_0_0
|
|
29
29
|
#define VK_STD_VULKAN_VIDEO_CODEC_H264_DECODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_h264_decode"
|
|
30
|
-
#define STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE
|
|
30
|
+
#define STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_LIST_SIZE 2U
|
|
31
31
|
|
|
32
32
|
typedef enum StdVideoDecodeH264FieldOrderCount {
|
|
33
33
|
STD_VIDEO_DECODE_H264_FIELD_ORDER_COUNT_TOP = 0,
|
package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h264std_encode.h
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_VIDEO_CODEC_H264STD_ENCODE_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -12,131 +12,134 @@
|
|
|
12
12
|
**
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
#ifdef __cplusplus
|
|
16
17
|
extern "C" {
|
|
17
18
|
#endif
|
|
18
19
|
|
|
20
|
+
|
|
21
|
+
|
|
19
22
|
// vulkan_video_codec_h264std_encode is a preprocessor guard. Do not pass it to API calls.
|
|
20
23
|
#define vulkan_video_codec_h264std_encode 1
|
|
21
24
|
#include "vulkan_video_codec_h264std.h"
|
|
22
25
|
|
|
23
26
|
#define VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0)
|
|
24
27
|
|
|
25
|
-
#define VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_SPEC_VERSION
|
|
26
|
-
VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_API_VERSION_1_0_0
|
|
28
|
+
#define VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_API_VERSION_1_0_0
|
|
27
29
|
#define VK_STD_VULKAN_VIDEO_CODEC_H264_ENCODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_h264_encode"
|
|
28
30
|
typedef struct StdVideoEncodeH264WeightTableFlags {
|
|
29
|
-
uint32_t
|
|
30
|
-
uint32_t
|
|
31
|
-
uint32_t
|
|
32
|
-
uint32_t
|
|
31
|
+
uint32_t luma_weight_l0_flag;
|
|
32
|
+
uint32_t chroma_weight_l0_flag;
|
|
33
|
+
uint32_t luma_weight_l1_flag;
|
|
34
|
+
uint32_t chroma_weight_l1_flag;
|
|
33
35
|
} StdVideoEncodeH264WeightTableFlags;
|
|
34
36
|
|
|
35
37
|
typedef struct StdVideoEncodeH264WeightTable {
|
|
36
|
-
StdVideoEncodeH264WeightTableFlags
|
|
37
|
-
uint8_t
|
|
38
|
-
uint8_t
|
|
39
|
-
int8_t
|
|
40
|
-
int8_t
|
|
41
|
-
int8_t
|
|
42
|
-
int8_t
|
|
43
|
-
int8_t
|
|
44
|
-
int8_t
|
|
45
|
-
int8_t
|
|
46
|
-
int8_t
|
|
38
|
+
StdVideoEncodeH264WeightTableFlags flags;
|
|
39
|
+
uint8_t luma_log2_weight_denom;
|
|
40
|
+
uint8_t chroma_log2_weight_denom;
|
|
41
|
+
int8_t luma_weight_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
|
42
|
+
int8_t luma_offset_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
|
43
|
+
int8_t chroma_weight_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES];
|
|
44
|
+
int8_t chroma_offset_l0[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES];
|
|
45
|
+
int8_t luma_weight_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
|
46
|
+
int8_t luma_offset_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
|
47
|
+
int8_t chroma_weight_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES];
|
|
48
|
+
int8_t chroma_offset_l1[STD_VIDEO_H264_MAX_NUM_LIST_REF][STD_VIDEO_H264_MAX_CHROMA_PLANES];
|
|
47
49
|
} StdVideoEncodeH264WeightTable;
|
|
48
50
|
|
|
49
51
|
typedef struct StdVideoEncodeH264SliceHeaderFlags {
|
|
50
|
-
uint32_t
|
|
51
|
-
uint32_t
|
|
52
|
-
uint32_t
|
|
52
|
+
uint32_t direct_spatial_mv_pred_flag : 1;
|
|
53
|
+
uint32_t num_ref_idx_active_override_flag : 1;
|
|
54
|
+
uint32_t reserved : 30;
|
|
53
55
|
} StdVideoEncodeH264SliceHeaderFlags;
|
|
54
56
|
|
|
55
57
|
typedef struct StdVideoEncodeH264PictureInfoFlags {
|
|
56
|
-
uint32_t
|
|
57
|
-
uint32_t
|
|
58
|
-
uint32_t
|
|
59
|
-
uint32_t
|
|
60
|
-
uint32_t
|
|
61
|
-
uint32_t
|
|
58
|
+
uint32_t IdrPicFlag : 1;
|
|
59
|
+
uint32_t is_reference : 1;
|
|
60
|
+
uint32_t no_output_of_prior_pics_flag : 1;
|
|
61
|
+
uint32_t long_term_reference_flag : 1;
|
|
62
|
+
uint32_t adaptive_ref_pic_marking_mode_flag : 1;
|
|
63
|
+
uint32_t reserved : 27;
|
|
62
64
|
} StdVideoEncodeH264PictureInfoFlags;
|
|
63
65
|
|
|
64
66
|
typedef struct StdVideoEncodeH264ReferenceInfoFlags {
|
|
65
|
-
uint32_t
|
|
66
|
-
uint32_t
|
|
67
|
+
uint32_t used_for_long_term_reference : 1;
|
|
68
|
+
uint32_t reserved : 31;
|
|
67
69
|
} StdVideoEncodeH264ReferenceInfoFlags;
|
|
68
70
|
|
|
69
71
|
typedef struct StdVideoEncodeH264ReferenceListsInfoFlags {
|
|
70
|
-
uint32_t
|
|
71
|
-
uint32_t
|
|
72
|
-
uint32_t
|
|
72
|
+
uint32_t ref_pic_list_modification_flag_l0 : 1;
|
|
73
|
+
uint32_t ref_pic_list_modification_flag_l1 : 1;
|
|
74
|
+
uint32_t reserved : 30;
|
|
73
75
|
} StdVideoEncodeH264ReferenceListsInfoFlags;
|
|
74
76
|
|
|
75
77
|
typedef struct StdVideoEncodeH264RefListModEntry {
|
|
76
|
-
StdVideoH264ModificationOfPicNumsIdc
|
|
77
|
-
uint16_t
|
|
78
|
-
uint16_t
|
|
78
|
+
StdVideoH264ModificationOfPicNumsIdc modification_of_pic_nums_idc;
|
|
79
|
+
uint16_t abs_diff_pic_num_minus1;
|
|
80
|
+
uint16_t long_term_pic_num;
|
|
79
81
|
} StdVideoEncodeH264RefListModEntry;
|
|
80
82
|
|
|
81
83
|
typedef struct StdVideoEncodeH264RefPicMarkingEntry {
|
|
82
|
-
StdVideoH264MemMgmtControlOp
|
|
83
|
-
uint16_t
|
|
84
|
-
uint16_t
|
|
85
|
-
uint16_t
|
|
86
|
-
uint16_t
|
|
84
|
+
StdVideoH264MemMgmtControlOp memory_management_control_operation;
|
|
85
|
+
uint16_t difference_of_pic_nums_minus1;
|
|
86
|
+
uint16_t long_term_pic_num;
|
|
87
|
+
uint16_t long_term_frame_idx;
|
|
88
|
+
uint16_t max_long_term_frame_idx_plus1;
|
|
87
89
|
} StdVideoEncodeH264RefPicMarkingEntry;
|
|
88
90
|
|
|
89
91
|
typedef struct StdVideoEncodeH264ReferenceListsInfo {
|
|
90
|
-
StdVideoEncodeH264ReferenceListsInfoFlags
|
|
91
|
-
uint8_t
|
|
92
|
-
uint8_t
|
|
93
|
-
uint8_t
|
|
94
|
-
uint8_t
|
|
95
|
-
uint8_t
|
|
96
|
-
uint8_t
|
|
97
|
-
uint8_t
|
|
98
|
-
uint8_t
|
|
99
|
-
const StdVideoEncodeH264RefListModEntry*
|
|
100
|
-
const StdVideoEncodeH264RefListModEntry*
|
|
101
|
-
const StdVideoEncodeH264RefPicMarkingEntry*
|
|
92
|
+
StdVideoEncodeH264ReferenceListsInfoFlags flags;
|
|
93
|
+
uint8_t num_ref_idx_l0_active_minus1;
|
|
94
|
+
uint8_t num_ref_idx_l1_active_minus1;
|
|
95
|
+
uint8_t RefPicList0[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
|
96
|
+
uint8_t RefPicList1[STD_VIDEO_H264_MAX_NUM_LIST_REF];
|
|
97
|
+
uint8_t refList0ModOpCount;
|
|
98
|
+
uint8_t refList1ModOpCount;
|
|
99
|
+
uint8_t refPicMarkingOpCount;
|
|
100
|
+
uint8_t reserved1[7];
|
|
101
|
+
const StdVideoEncodeH264RefListModEntry* pRefList0ModOperations;
|
|
102
|
+
const StdVideoEncodeH264RefListModEntry* pRefList1ModOperations;
|
|
103
|
+
const StdVideoEncodeH264RefPicMarkingEntry* pRefPicMarkingOperations;
|
|
102
104
|
} StdVideoEncodeH264ReferenceListsInfo;
|
|
103
105
|
|
|
104
106
|
typedef struct StdVideoEncodeH264PictureInfo {
|
|
105
|
-
StdVideoEncodeH264PictureInfoFlags
|
|
106
|
-
uint8_t
|
|
107
|
-
uint8_t
|
|
108
|
-
uint16_t
|
|
109
|
-
StdVideoH264PictureType
|
|
110
|
-
uint32_t
|
|
111
|
-
int32_t
|
|
112
|
-
uint8_t
|
|
113
|
-
uint8_t
|
|
114
|
-
const StdVideoEncodeH264ReferenceListsInfo*
|
|
107
|
+
StdVideoEncodeH264PictureInfoFlags flags;
|
|
108
|
+
uint8_t seq_parameter_set_id;
|
|
109
|
+
uint8_t pic_parameter_set_id;
|
|
110
|
+
uint16_t idr_pic_id;
|
|
111
|
+
StdVideoH264PictureType primary_pic_type;
|
|
112
|
+
uint32_t frame_num;
|
|
113
|
+
int32_t PicOrderCnt;
|
|
114
|
+
uint8_t temporal_id;
|
|
115
|
+
uint8_t reserved1[3];
|
|
116
|
+
const StdVideoEncodeH264ReferenceListsInfo* pRefLists;
|
|
115
117
|
} StdVideoEncodeH264PictureInfo;
|
|
116
118
|
|
|
117
119
|
typedef struct StdVideoEncodeH264ReferenceInfo {
|
|
118
|
-
StdVideoEncodeH264ReferenceInfoFlags
|
|
119
|
-
StdVideoH264PictureType
|
|
120
|
-
uint32_t
|
|
121
|
-
int32_t
|
|
122
|
-
uint16_t
|
|
123
|
-
uint16_t
|
|
124
|
-
uint8_t
|
|
120
|
+
StdVideoEncodeH264ReferenceInfoFlags flags;
|
|
121
|
+
StdVideoH264PictureType primary_pic_type;
|
|
122
|
+
uint32_t FrameNum;
|
|
123
|
+
int32_t PicOrderCnt;
|
|
124
|
+
uint16_t long_term_pic_num;
|
|
125
|
+
uint16_t long_term_frame_idx;
|
|
126
|
+
uint8_t temporal_id;
|
|
125
127
|
} StdVideoEncodeH264ReferenceInfo;
|
|
126
128
|
|
|
127
129
|
typedef struct StdVideoEncodeH264SliceHeader {
|
|
128
|
-
StdVideoEncodeH264SliceHeaderFlags
|
|
129
|
-
uint32_t
|
|
130
|
-
StdVideoH264SliceType
|
|
131
|
-
int8_t
|
|
132
|
-
int8_t
|
|
133
|
-
int8_t
|
|
134
|
-
uint8_t
|
|
135
|
-
StdVideoH264CabacInitIdc
|
|
136
|
-
StdVideoH264DisableDeblockingFilterIdc
|
|
137
|
-
const StdVideoEncodeH264WeightTable*
|
|
130
|
+
StdVideoEncodeH264SliceHeaderFlags flags;
|
|
131
|
+
uint32_t first_mb_in_slice;
|
|
132
|
+
StdVideoH264SliceType slice_type;
|
|
133
|
+
int8_t slice_alpha_c0_offset_div2;
|
|
134
|
+
int8_t slice_beta_offset_div2;
|
|
135
|
+
int8_t slice_qp_delta;
|
|
136
|
+
uint8_t reserved1;
|
|
137
|
+
StdVideoH264CabacInitIdc cabac_init_idc;
|
|
138
|
+
StdVideoH264DisableDeblockingFilterIdc disable_deblocking_filter_idc;
|
|
139
|
+
const StdVideoEncodeH264WeightTable* pWeightTable;
|
|
138
140
|
} StdVideoEncodeH264SliceHeader;
|
|
139
141
|
|
|
142
|
+
|
|
140
143
|
#ifdef __cplusplus
|
|
141
144
|
}
|
|
142
145
|
#endif
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_VIDEO_CODEC_H265STD_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -22,29 +22,29 @@ extern "C" {
|
|
|
22
22
|
// vulkan_video_codec_h265std is a preprocessor guard. Do not pass it to API calls.
|
|
23
23
|
#define vulkan_video_codec_h265std 1
|
|
24
24
|
#include "vulkan_video_codecs_common.h"
|
|
25
|
-
#define STD_VIDEO_H265_CPB_CNT_LIST_SIZE
|
|
26
|
-
#define STD_VIDEO_H265_SUBLAYERS_LIST_SIZE
|
|
27
|
-
#define STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS
|
|
28
|
-
#define STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS
|
|
29
|
-
#define STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS
|
|
30
|
-
#define STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS
|
|
31
|
-
#define STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS
|
|
32
|
-
#define STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS
|
|
33
|
-
#define STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS
|
|
34
|
-
#define STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS
|
|
35
|
-
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE
|
|
36
|
-
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_COLS_LIST_SIZE
|
|
37
|
-
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_ROWS_LIST_SIZE
|
|
38
|
-
#define STD_VIDEO_H265_PREDICTOR_PALETTE_COMPONENTS_LIST_SIZE
|
|
39
|
-
#define STD_VIDEO_H265_PREDICTOR_PALETTE_COMP_ENTRIES_LIST_SIZE
|
|
40
|
-
#define STD_VIDEO_H265_MAX_NUM_LIST_REF
|
|
41
|
-
#define STD_VIDEO_H265_MAX_CHROMA_PLANES
|
|
42
|
-
#define STD_VIDEO_H265_MAX_SHORT_TERM_REF_PIC_SETS
|
|
43
|
-
#define STD_VIDEO_H265_MAX_DPB_SIZE
|
|
44
|
-
#define STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS
|
|
45
|
-
#define STD_VIDEO_H265_MAX_LONG_TERM_PICS
|
|
46
|
-
#define STD_VIDEO_H265_MAX_DELTA_POC
|
|
47
|
-
#define STD_VIDEO_H265_NO_REFERENCE_PICTURE
|
|
25
|
+
#define STD_VIDEO_H265_CPB_CNT_LIST_SIZE 32U
|
|
26
|
+
#define STD_VIDEO_H265_SUBLAYERS_LIST_SIZE 7U
|
|
27
|
+
#define STD_VIDEO_H265_SCALING_LIST_4X4_NUM_LISTS 6U
|
|
28
|
+
#define STD_VIDEO_H265_SCALING_LIST_4X4_NUM_ELEMENTS 16U
|
|
29
|
+
#define STD_VIDEO_H265_SCALING_LIST_8X8_NUM_LISTS 6U
|
|
30
|
+
#define STD_VIDEO_H265_SCALING_LIST_8X8_NUM_ELEMENTS 64U
|
|
31
|
+
#define STD_VIDEO_H265_SCALING_LIST_16X16_NUM_LISTS 6U
|
|
32
|
+
#define STD_VIDEO_H265_SCALING_LIST_16X16_NUM_ELEMENTS 64U
|
|
33
|
+
#define STD_VIDEO_H265_SCALING_LIST_32X32_NUM_LISTS 2U
|
|
34
|
+
#define STD_VIDEO_H265_SCALING_LIST_32X32_NUM_ELEMENTS 64U
|
|
35
|
+
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_LIST_SIZE 6U
|
|
36
|
+
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_COLS_LIST_SIZE 19U
|
|
37
|
+
#define STD_VIDEO_H265_CHROMA_QP_OFFSET_TILE_ROWS_LIST_SIZE 21U
|
|
38
|
+
#define STD_VIDEO_H265_PREDICTOR_PALETTE_COMPONENTS_LIST_SIZE 3U
|
|
39
|
+
#define STD_VIDEO_H265_PREDICTOR_PALETTE_COMP_ENTRIES_LIST_SIZE 128U
|
|
40
|
+
#define STD_VIDEO_H265_MAX_NUM_LIST_REF 15U
|
|
41
|
+
#define STD_VIDEO_H265_MAX_CHROMA_PLANES 2U
|
|
42
|
+
#define STD_VIDEO_H265_MAX_SHORT_TERM_REF_PIC_SETS 64U
|
|
43
|
+
#define STD_VIDEO_H265_MAX_DPB_SIZE 16U
|
|
44
|
+
#define STD_VIDEO_H265_MAX_LONG_TERM_REF_PICS_SPS 32U
|
|
45
|
+
#define STD_VIDEO_H265_MAX_LONG_TERM_PICS 16U
|
|
46
|
+
#define STD_VIDEO_H265_MAX_DELTA_POC 48U
|
|
47
|
+
#define STD_VIDEO_H265_NO_REFERENCE_PICTURE 0xFFU
|
|
48
48
|
|
|
49
49
|
typedef enum StdVideoH265ChromaFormatIdc {
|
|
50
50
|
STD_VIDEO_H265_CHROMA_FORMAT_IDC_MONOCHROME = 0,
|
package/cpp/skia/include/third_party/vulkan/vulkan/vk_video/vulkan_video_codec_h265std_decode.h
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
#define VULKAN_VIDEO_CODEC_H265STD_DECODE_H_ 1
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
** Copyright 2015-
|
|
5
|
+
** Copyright 2015-2026 The Khronos Group Inc.
|
|
6
6
|
**
|
|
7
7
|
** SPDX-License-Identifier: Apache-2.0
|
|
8
8
|
*/
|
|
@@ -27,7 +27,7 @@ extern "C" {
|
|
|
27
27
|
|
|
28
28
|
#define VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_API_VERSION_1_0_0
|
|
29
29
|
#define VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_h265_decode"
|
|
30
|
-
#define STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE
|
|
30
|
+
#define STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE 8U
|
|
31
31
|
typedef struct StdVideoDecodeH265PictureInfoFlags {
|
|
32
32
|
uint32_t IrapPicFlag : 1;
|
|
33
33
|
uint32_t IdrPicFlag : 1;
|