Searched refs:hdrStaticInfo (Results 1 – 4 of 4) sorted by relevance
53 @Nullable public final byte[] hdrStaticInfo; field in ColorInfo70 @Nullable byte[] hdrStaticInfo) { in ColorInfo() argument74 this.hdrStaticInfo = hdrStaticInfo; in ColorInfo()83 hdrStaticInfo = hasHdrStaticInfo ? in.createByteArray() : null; in ColorInfo()99 && Arrays.equals(hdrStaticInfo, other.hdrStaticInfo); in equals()105 + ", " + (hdrStaticInfo != null) + ")"; in toString()115 result = 31 * result + Arrays.hashCode(hdrStaticInfo); in hashCode()131 Util.writeBoolean(dest, hdrStaticInfo != null); in writeToParcel()132 if (hdrStaticInfo != null) { in writeToParcel()133 dest.writeByteArray(hdrStaticInfo); in writeToParcel()
2108 @Nullable byte[] hdrStaticInfo = getHdrStaticInfo(); in initializeOutput()2109 colorInfo = new ColorInfo(colorSpace, colorRange, colorTransfer, hdrStaticInfo); in initializeOutput()2201 ByteBuffer hdrStaticInfo = ByteBuffer.wrap(hdrStaticInfoData).order(ByteOrder.LITTLE_ENDIAN); in getHdrStaticInfo() local2202 hdrStaticInfo.put((byte) 0); // Type. in getHdrStaticInfo()2203 hdrStaticInfo.putShort((short) ((primaryRChromaticityX * MAX_CHROMATICITY) + 0.5f)); in getHdrStaticInfo()2204 hdrStaticInfo.putShort((short) ((primaryRChromaticityY * MAX_CHROMATICITY) + 0.5f)); in getHdrStaticInfo()2205 hdrStaticInfo.putShort((short) ((primaryGChromaticityX * MAX_CHROMATICITY) + 0.5f)); in getHdrStaticInfo()2206 hdrStaticInfo.putShort((short) ((primaryGChromaticityY * MAX_CHROMATICITY) + 0.5f)); in getHdrStaticInfo()2207 hdrStaticInfo.putShort((short) ((primaryBChromaticityX * MAX_CHROMATICITY) + 0.5f)); in getHdrStaticInfo()2208 hdrStaticInfo.putShort((short) ((primaryBChromaticityY * MAX_CHROMATICITY) + 0.5f)); in getHdrStaticInfo()[all …]
106 maybeSetByteBuffer(format, MediaFormat.KEY_HDR_STATIC_INFO, colorInfo.hdrStaticInfo); in maybeSetColorInfo()
839 && (colorInfo.hdrStaticInfo != null in getAv1ProfileAndLevel()