Changeset 96141 in vbox for trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp
- Timestamp:
- Aug 11, 2022 3:37:19 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152947
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-server/SystemPropertiesImpl.cpp
r95741 r96141 1601 1601 RecordingAudioCodec_WavPCM, 1602 1602 #endif 1603 #ifdef VBOX_WITH_LIBOPUS 1603 1604 RecordingAudioCodec_Opus, 1605 #endif 1606 #ifdef VBOX_WITH_LIBVORBIS 1607 RecordingAudioCodec_OggVorbis, 1608 #endif 1604 1609 }; 1605 1610 aSupportedRecordingAudioCodecs.assign(aRecordingAudioCodecs, … … 1623 1628 } 1624 1629 1625 HRESULT SystemProperties::getSupportedRecordingVSM ethods(std::vector<RecordingVideoScalingMethod_T> &aSupportedRecordingVideoScalingMethods)1626 { 1627 static const RecordingVideoScalingM ethod_T aRecordingVideoScalingMethods[] =1628 { 1629 RecordingVideoScalingM ethod_None,1630 HRESULT SystemProperties::getSupportedRecordingVSModes(std::vector<RecordingVideoScalingMode_T> &aSupportedRecordingVideoScalingModes) 1631 { 1632 static const RecordingVideoScalingMode_T aRecordingVideoScalingModes[] = 1633 { 1634 RecordingVideoScalingMode_None, 1630 1635 #ifdef DEBUG 1631 RecordingVideoScalingMethod_NearestNeighbor, 1632 RecordingVideoScalingMethod_Bilinear, 1633 RecordingVideoScalingMethod_Bicubic, 1634 #endif 1635 }; 1636 aSupportedRecordingVideoScalingMethods.assign(aRecordingVideoScalingMethods, 1637 aRecordingVideoScalingMethods + RT_ELEMENTS(aRecordingVideoScalingMethods)); 1638 return S_OK; 1639 } 1640 1641 HRESULT SystemProperties::getSupportedRecordingVRCModes(std::vector<RecordingVideoRateControlMode_T> &aSupportedRecordingVideoRateControlModes) 1642 { 1643 static const RecordingVideoRateControlMode_T aRecordingVideoRateControlModes[] = 1644 { 1645 RecordingVideoRateControlMode_CBR, 1636 RecordingVideoScalingMode_NearestNeighbor, 1637 RecordingVideoScalingMode_Bilinear, 1638 RecordingVideoScalingMode_Bicubic, 1639 #endif 1640 }; 1641 aSupportedRecordingVideoScalingModes.assign(aRecordingVideoScalingModes, 1642 aRecordingVideoScalingModes + RT_ELEMENTS(aRecordingVideoScalingModes)); 1643 return S_OK; 1644 } 1645 1646 HRESULT SystemProperties::getSupportedRecordingARCModes(std::vector<RecordingRateControlMode_T> &aSupportedRecordingAudioRateControlModes) 1647 { 1648 static const RecordingRateControlMode_T aRecordingAudioRateControlModes[] = 1649 { 1646 1650 #ifdef DEBUG 1647 RecordingVideoRateControlMode_VBR, 1648 #endif 1651 RecordingRateControlMode_ABR, 1652 RecordingRateControlMode_CBR, 1653 #endif 1654 RecordingRateControlMode_VBR 1655 }; 1656 aSupportedRecordingAudioRateControlModes.assign(aRecordingAudioRateControlModes, 1657 aRecordingAudioRateControlModes + RT_ELEMENTS(aRecordingAudioRateControlModes)); 1658 return S_OK; 1659 } 1660 1661 HRESULT SystemProperties::getSupportedRecordingVRCModes(std::vector<RecordingRateControlMode_T> &aSupportedRecordingVideoRateControlModes) 1662 { 1663 static const RecordingRateControlMode_T aRecordingVideoRateControlModes[] = 1664 { 1665 #ifdef DEBUG 1666 RecordingRateControlMode_ABR, 1667 RecordingRateControlMode_CBR, 1668 #endif 1669 RecordingRateControlMode_VBR 1649 1670 }; 1650 1671 aSupportedRecordingVideoRateControlModes.assign(aRecordingVideoRateControlModes,
Note:
See TracChangeset
for help on using the changeset viewer.