mirror of
https://github.com/cnotch/ipchub.git
synced 2025-09-26 19:41:18 +08:00
add comment
This commit is contained in:
@@ -167,6 +167,28 @@ func (videoData *VideoData) Marshal() ([]byte, error) {
|
||||
}
|
||||
|
||||
// AVCDecoderConfigurationRecord .
|
||||
// aligned(8) class AVCDecoderConfigurationRecord {
|
||||
// unsigned int(8) configurationVersion = 1;
|
||||
// unsigned int(8) AVCProfileIndication;
|
||||
// unsigned int(8) profile_compatibility;
|
||||
// unsigned int(8) AVCLevelIndication;
|
||||
|
||||
// bit(6) reserved = '111111'b;
|
||||
// unsigned int(2) lengthSizeMinusOne;
|
||||
|
||||
// bit(3) reserved = '111'b;
|
||||
// unsigned int(5) numOfSequenceParameterSets;
|
||||
//
|
||||
// for (i=0; i< numOfSequenceParameterSets; i++) {
|
||||
// unsigned int(16) sequenceParameterSetLength ;
|
||||
// bit(8*sequenceParameterSetLength) sequenceParameterSetNALUnit;
|
||||
// }
|
||||
// unsigned int(8) numOfPictureParameterSets;
|
||||
// for (i=0; i< numOfPictureParameterSets; i++) {
|
||||
// unsigned int(16) pictureParameterSetLength;
|
||||
// bit(8*pictureParameterSetLength) pictureParameterSetNALUnit;
|
||||
// }
|
||||
// }
|
||||
type AVCDecoderConfigurationRecord struct {
|
||||
ConfigurationVersion byte
|
||||
AVCProfileIndication byte
|
||||
|
Reference in New Issue
Block a user