@@ -673,44 +673,44 @@ MetadatasMap VideoProperties::getDataMap() const
673
673
{
674
674
MetadatasMap dataMap;
675
675
676
- detail::add ( dataMap, " stream id " , getStreamId () );
677
- detail::add ( dataMap, " codec id " , getCodecId () );
678
- detail::add ( dataMap, " codec name " , getCodecName () );
679
- detail::add ( dataMap, " codec long name " , getCodecLongName () );
676
+ detail::add ( dataMap, " streamId " , getStreamId () );
677
+ detail::add ( dataMap, " codecId " , getCodecId () );
678
+ detail::add ( dataMap, " codecName " , getCodecName () );
679
+ detail::add ( dataMap, " codecLongName " , getCodecLongName () );
680
680
detail::add ( dataMap, " profile" , getProfile () );
681
- detail::add ( dataMap, " profile name " , getProfileName () );
681
+ detail::add ( dataMap, " profileName " , getProfileName () );
682
682
detail::add ( dataMap, " level" , getLevel () );
683
- detail::add ( dataMap, " start timecode " , getStartTimecode () );
683
+ detail::add ( dataMap, " startTimecode " , getStartTimecode () );
684
684
detail::add ( dataMap, " width" , getWidth () );
685
685
detail::add ( dataMap, " height" , getHeight () );
686
- detail::add ( dataMap, " pixel aspect ratio " , getSar ().num / getSar ().den );
687
- detail::add ( dataMap, " display aspect ratio " , getDar ().num / getDar ().den );
686
+ detail::add ( dataMap, " pixelAspectRatio " , getSar ().num / getSar ().den );
687
+ detail::add ( dataMap, " displayAspectRatio " , getDar ().num / getDar ().den );
688
688
detail::add ( dataMap, " dtgActiveFormat" , getDtgActiveFormat () );
689
- detail::add ( dataMap, " components count " , getComponentsCount () );
690
- detail::add ( dataMap, " pixel type " , getPixelName () );
691
- detail::add ( dataMap, " bit wise acked " , isBitWisePacked () );
692
- detail::add ( dataMap, " rgb pixel " , isRgbPixelData () );
693
- detail::add ( dataMap, " as alpha " , hasAlpha () );
694
- detail::add ( dataMap, " chroma width " , getChromaWidth () );
695
- detail::add ( dataMap, " chroma height " , getChromaHeight () );
689
+ detail::add ( dataMap, " componentsCount " , getComponentsCount () );
690
+ detail::add ( dataMap, " pixelType " , getPixelName () );
691
+ detail::add ( dataMap, " bitWiseAcked " , isBitWisePacked () );
692
+ detail::add ( dataMap, " rgbPixel " , isRgbPixelData () );
693
+ detail::add ( dataMap, " asAlpha " , hasAlpha () );
694
+ detail::add ( dataMap, " chromaWidth " , getChromaWidth () );
695
+ detail::add ( dataMap, " chromaHeight " , getChromaHeight () );
696
696
detail::add ( dataMap, " endianess" , getEndianess () );
697
- detail::add ( dataMap, " color transfert " , getColorTransfert () );
697
+ detail::add ( dataMap, " colorTransfert " , getColorTransfert () );
698
698
detail::add ( dataMap, " colorspace" , getColorspace () );
699
- detail::add ( dataMap, " color range " , getColorRange () );
700
- detail::add ( dataMap, " color primaries " , getColorPrimaries () );
701
- detail::add ( dataMap, " indexed colors " , isIndexedColors () );
702
- detail::add ( dataMap, " pseudo paletted " , isPseudoPaletted () );
703
- detail::add ( dataMap, " chroma sample location " , getChromaSampleLocation () );
699
+ detail::add ( dataMap, " colorRange " , getColorRange () );
700
+ detail::add ( dataMap, " colorPrimaries " , getColorPrimaries () );
701
+ detail::add ( dataMap, " indexedColors " , isIndexedColors () );
702
+ detail::add ( dataMap, " pseudoPaletted " , isPseudoPaletted () );
703
+ detail::add ( dataMap, " chromaSampleLocation " , getChromaSampleLocation () );
704
704
detail::add ( dataMap, " interlaced " , isInterlaced () );
705
- detail::add ( dataMap, " top field first " , isTopFieldFirst () );
706
- detail::add ( dataMap, " field order " , getFieldOrder () );
705
+ detail::add ( dataMap, " topFieldFirst " , isTopFieldFirst () );
706
+ detail::add ( dataMap, " fieldOrder " , getFieldOrder () );
707
707
detail::add ( dataMap, " timeBase" , getTimeBase ().num / getTimeBase ().den );
708
708
detail::add ( dataMap, " fps" , getFps () );
709
709
detail::add ( dataMap, " ticksPerFrame" , getTicksPerFrame () );
710
- detail::add ( dataMap, " bit rate " , getBitRate () );
711
- detail::add ( dataMap, " max bit rate " , getMaxBitRate () );
712
- detail::add ( dataMap, " min bit rate " , getMinBitRate () );
713
- detail::add ( dataMap, " gop size " , getGopSize () );
710
+ detail::add ( dataMap, " bitRate " , getBitRate () );
711
+ detail::add ( dataMap, " maxBitRate " , getMaxBitRate () );
712
+ detail::add ( dataMap, " minBitRate " , getMinBitRate () );
713
+ detail::add ( dataMap, " gopSize " , getGopSize () );
714
714
715
715
std::string gop;
716
716
NoDisplayProgress progress;
@@ -722,8 +722,8 @@ MetadatasMap VideoProperties::getDataMap() const
722
722
}
723
723
detail::add ( dataMap, " gop" , gop );
724
724
725
- detail::add ( dataMap, " has B frames " , hasBFrames () );
726
- detail::add ( dataMap, " references frames " , getReferencesFrames () );
725
+ detail::add ( dataMap, " hasBFrames " , hasBFrames () );
726
+ detail::add ( dataMap, " referencesFrames " , getReferencesFrames () );
727
727
728
728
for ( size_t metadataIndex = 0 ; metadataIndex < _metadatas.size (); ++metadataIndex )
729
729
{
0 commit comments