Class CAEDRMetadata

    • Constructor Detail

      • CAEDRMetadata

        protected CAEDRMetadata​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • HDR10MetadataWithDisplayInfoContentInfoOpticalOutputScale

        @NotNull
        public static @NotNull CAEDRMetadata HDR10MetadataWithDisplayInfoContentInfoOpticalOutputScale​(@Nullable
                                                                                                       @Nullable NSData displayData,
                                                                                                       @Nullable
                                                                                                       @Nullable NSData contentData,
                                                                                                       float scale)
        Initialize with SEI MDCV and CLLI as defined by ISO/IEC 23008-2:2017 `displayData' The value is 24 bytes containing a big-endian structure as defined in D.2.28 Mastering display colour volume SEI message. If nil, uses system defaults. `contentData' The value is 4 bytes containing a big-endian structure as defined in D.2.35 Content light level information SEI message. If nil, uses system defaults. `scale' Scale factor relating (display-referred linear) extended range buffer values (such as MTLPixelFormatRGBA16Float) to optical output of a reference display. Values y in the buffer are assumed to be proportional to the optical output C (in cd/m^2) of a reference display; denoting the opticalOutputScale as C1 (cd/m^2), the relationship is C = C1 * y. As an example, if C1 = 100 cd/m^2, the optical output corresponding to y = 1 is C = C1 = 100 cd/m^2, and the display-referred linear value corresponding to C = 4,000 cd/m^2 is y = 40. If the content, y, is in a normalized pixel format then `scale' is assumed to be 10,000.
      • HDR10MetadataWithMinLuminanceMaxLuminanceOpticalOutputScale

        @NotNull
        public static @NotNull CAEDRMetadata HDR10MetadataWithMinLuminanceMaxLuminanceOpticalOutputScale​(float minNits,
                                                                                                         float maxNits,
                                                                                                         float scale)
        Simplified HDR10 initializer based on the minimum and maximum candelas per meters squared ("nits") of the mastering display. Any content greater than `maxNits' may be clamped when displayed. `minNits' Minimum nits (cd/m^2) of the mastering display `maxNits' Maximum nits (cd/m^2) of the mastering display `scale' Scale factor relating (display-referred linear) extended range buffer values (such as MTLPixelFormatRGBA16Float) to optical output of a reference display. Values y in the buffer are assumed to be proportional to the optical output C (in cd/m^2) of a reference display; denoting the opticalOutputScale as C1 (cd/m^2), the relationship is C = C1 * y. As an example, if C1 = 100 cd/m^2, the optical output corresponding to y = 1 is C = C1 = 100 cd/m^2, and the display-referred linear value corresponding to C = 4,000 cd/m^2 is y = 40. If the content, y, is in a normalized pixel format then `scale' is assumed to be 10,000.
      • HLGMetadata

        @NotNull
        public static @NotNull CAEDRMetadata HLGMetadata()
        Content is scene referred and originally encoded with the ITU-R BT.2100-2 Hybrid Log Gamma (HLG) opto-electrical transfer function (OETF). The system will apply the opto-optical transfer function (OOTF) based on peak display brightness and ambient. If rendering to a CAMetalLayer with a linear colorspace (for floating point extended dynamic range layers), the content provider must have already applied the HLG inverse OETF.
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CAEDRMetadata allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isAvailable

        public static boolean isAvailable()
        API-Since: 16.0
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • HLGMetadataWithAmbientViewingEnvironment

        @NotNull
        public static @NotNull CAEDRMetadata HLGMetadataWithAmbientViewingEnvironment​(@NotNull
                                                                                      @NotNull NSData data)
        Initialize with SEI Ambient Viewing Environmnent as defined in ISO/IEC 23002-7:2021 `data' The value is 8 bytes containing a big-endian structure as defined in D.3.39 The default metadata attached to Apple captures will typically have ambient_illuminance = 314,0000 with a D65 background chromaticity (ambient_light_x = 15,635, ambient_light_y = 16,450) but may change. As such it should be queried from the movies FormatDescription using the kCMFormatDescriptionExtension_AmbientViewingEnvironment key. API-Since: 17.0
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.