export interface ColorSpaceInfo { colorPrimaries?: string; colorTransfer?: string; colorSpace?: string; } export declare class CodecParser { static getCodecString(codec: string, extradata?: Uint8Array, width?: number, height?: number): string | null; /** * Extract color space information from codec extradata */ static getColorSpaceInfo(codec: string, extradata?: Uint8Array, width?: number, height?: number): ColorSpaceInfo | null; private static getHevcCodecString; private static getAvcCodecString; private static getAv1CodecString; private static getVp8CodecString; private static getVp9CodecString; /** * Parse VVC (H.266) vvcC configuration record. * Layout: configVersion(8) | flags(16) | ptl_present(1) ... * If ptl_present: ols_idx(9) | num_sublayers(3) | constant_frame_rate(2) | chroma(2) * | bit_depth_minus8(3) | reserved(5) | ... native_ptl: reserved(2) | * num_bytes_constraint_info(6) | general_profile_idc(7) | general_tier_flag(1) | * general_level_idc(8) */ private static getVvcCodecString; /** * Map ITU-T color primaries enum to string */ private static getColorPrimariesName; /** * Map ITU-T transfer characteristics enum to string */ private static getTransferCharacteristicsName; /** * Extract color space information from HEVC extradata (hvcC) * This is a simplified parser - full SPS VUI parsing is complex */ private static getHevcColorSpaceInfo; /** * Extract color space information from VP9 extradata (vpcC) */ private static getVp9ColorSpaceInfo; } //# sourceMappingURL=CodecParser.d.ts.map