# VideoSpecificConfigHEVC

class VideoSpecificConfigHEVC(sps: ByteArray, pps: ByteArray, vps: ByteArray)

Created by pedro on 14/08/23.

ISO/IEC 14496-15 8.3.3.1.2

HEVCDecoderConfigurationRecord

aligned(8) class HEVCDecoderConfigurationRecord { unsigned int(8) configurationVersion = 1; unsigned int(2) general_profile_space; unsigned int(1) general_tier_flag; unsigned int(5) general_profile_idc; unsigned int(32) general_profile_compatibility_flags; unsigned int(48) general_constraint_indicator_flags; unsigned int(8) general_level_idc; bit(4) reserved = ‘1111’b; unsigned int(12) min_spatial_segmentation_idc; bit(6) reserved = ‘111111’b; unsigned int(2) parallelismType; bit(6) reserved = ‘111111’b; unsigned int(2) chroma_format_idc; bit(5) reserved = ‘11111’b; unsigned int(3) bit_depth_luma_minus8; bit(5) reserved = ‘11111’b; unsigned int(3) bit_depth_chroma_minus8; bit(16) avgFrameRate; bit(2) constantFrameRate; bit(3) numTemporalLayers; bit(1) temporalIdNested; unsigned int(2) lengthSizeMinusOne; unsigned int(8) numOfArrays; for (j=0; j < numOfArrays; j++) { bit(1) array_completeness; unsigned int(1) reserved = 0; unsigned int(6) NAL_unit_type; unsigned int(16) numNalus; for (i=0; i< numNalus; i++) { unsigned int(16) nalUnitLength; bit(8*nalUnitLength) nalUnit; } } }

## Constructors

VideoSpecificConfigHEVC
Link copied to clipboard
constructor(sps: ByteArray, pps: ByteArray, vps: ByteArray)

## Properties

size
Link copied to clipboard
val size: Int

## Functions

write
Link copied to clipboard
fun write(buffer: ByteArray, offset: Int)