Changeset 1313 in 3DVCSoftware for trunk/source/Lib/TLibRenderer/TRenImage.h
- Timestamp:
- 13 Aug 2015, 17:38:13 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/Lib/TLibRenderer/TRenImage.h
r1179 r1313 39 39 #include "../TLibCommon/TComPicYuv.h" 40 40 #include "TRenImagePlane.h" 41 #if H_3D41 #if NH_3D 42 42 43 43 … … 70 70 TRenImagePlane<T>** getPlanes() const; 71 71 72 Void getDataAndStrides ( T** pptData, Int* piStrides );73 Void getWidthAndHeight ( Int* piWidths, Int* piHeights );72 Void getDataAndStrides ( T** pptData, Int* piStrides ) const ; 73 Void getWidthAndHeight ( Int* piWidths, Int* piHeights ) const ; 74 74 75 75 UInt getNumberOfPlanes() const; 76 76 UInt getNumberOfQuaterPlanes() const; 77 77 UInt getNumberOfFullPlanes() const; 78 Bool is420() {return m_uiNumberOfFullPlanes == 1 && m_uiNumberOfQuaterPlanes == 2; };79 Bool is444() {return m_uiNumberOfFullPlanes == 3 && m_uiNumberOfQuaterPlanes == 0; };80 Bool is400() {return m_uiNumberOfFullPlanes == 1 && m_uiNumberOfQuaterPlanes == 0; };78 Bool is420() const {return m_uiNumberOfFullPlanes == 1 && m_uiNumberOfQuaterPlanes == 2; }; 79 Bool is444() const {return m_uiNumberOfFullPlanes == 3 && m_uiNumberOfQuaterPlanes == 0; }; 80 Bool is400() const {return m_uiNumberOfFullPlanes == 1 && m_uiNumberOfQuaterPlanes == 0; }; 81 81 82 82 // Assign … … 95 95 UInt m_uiNumberOfQuaterPlanes; 96 96 UInt m_uiNumberOfPlanes; 97 UInt m_bitDepth; 97 98 TRenImagePlane<T> ** m_apcPlanes; // First Full Planes, then Quater Planes 98 99 … … 100 101 }; 101 102 102 #endif // H_3D103 #endif // NH_3D 103 104 #endif // __TRENIMAGE__ 104 105
Note: See TracChangeset for help on using the changeset viewer.