LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - GMPTypes.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 324 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 66 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //
       2             : // Automatically generated by ipdlc.
       3             : // Edit at your own risk
       4             : //
       5             : 
       6             : 
       7             : #include "mozilla/gmp/GMPTypes.h"
       8             : 
       9             : 
      10             : //-----------------------------------------------------------------------------
      11             : // Method definitions for the IPDL type |struct NodeIdData|
      12             : //
      13             : namespace mozilla {
      14             : namespace gmp {
      15           0 : MOZ_IMPLICIT NodeIdData::NodeIdData() :
      16             :     mOrigin_(),
      17             :     mTopLevelOrigin_(),
      18           0 :     mGMPName_()
      19             : {
      20           0 :     Init();
      21           0 : }
      22             : 
      23           0 : NodeIdData::~NodeIdData()
      24             : {
      25           0 : }
      26             : 
      27           0 : auto NodeIdData::operator==(const NodeIdData& _o) const -> bool
      28             : {
      29           0 :     if ((!((mOrigin()) == ((_o).mOrigin())))) {
      30           0 :         return false;
      31             :     }
      32           0 :     if ((!((mTopLevelOrigin()) == ((_o).mTopLevelOrigin())))) {
      33           0 :         return false;
      34             :     }
      35           0 :     if ((!((mGMPName()) == ((_o).mGMPName())))) {
      36           0 :         return false;
      37             :     }
      38           0 :     return true;
      39             : }
      40             : 
      41           0 : auto NodeIdData::operator!=(const NodeIdData& _o) const -> bool
      42             : {
      43           0 :     return (!(operator==(_o)));
      44             : }
      45             : 
      46           0 : auto NodeIdData::Init() -> void
      47             : {
      48           0 : }
      49             : 
      50           0 : auto NodeIdData::Assign(
      51             :         const nsString& _mOrigin,
      52             :         const nsString& _mTopLevelOrigin,
      53             :         const nsString& _mGMPName) -> void
      54             : {
      55           0 :     mOrigin_ = _mOrigin;
      56           0 :     mTopLevelOrigin_ = _mTopLevelOrigin;
      57           0 :     mGMPName_ = _mGMPName;
      58           0 : }
      59             : 
      60             : } // namespace gmp
      61             : } // namespace mozilla
      62             : 
      63             : //-----------------------------------------------------------------------------
      64             : // Method definitions for the IPDL type |struct GMPDecryptionData|
      65             : //
      66             : namespace mozilla {
      67             : namespace gmp {
      68           0 : MOZ_IMPLICIT GMPDecryptionData::GMPDecryptionData()
      69             : {
      70           0 :     Init();
      71           0 : }
      72             : 
      73           0 : GMPDecryptionData::~GMPDecryptionData()
      74             : {
      75           0 : }
      76             : 
      77           0 : auto GMPDecryptionData::operator==(const GMPDecryptionData& _o) const -> bool
      78             : {
      79           0 :     if ((!((mKeyId()) == ((_o).mKeyId())))) {
      80           0 :         return false;
      81             :     }
      82           0 :     if ((!((mIV()) == ((_o).mIV())))) {
      83           0 :         return false;
      84             :     }
      85           0 :     if ((!((mClearBytes()) == ((_o).mClearBytes())))) {
      86           0 :         return false;
      87             :     }
      88           0 :     if ((!((mCipherBytes()) == ((_o).mCipherBytes())))) {
      89           0 :         return false;
      90             :     }
      91           0 :     if ((!((mSessionIds()) == ((_o).mSessionIds())))) {
      92           0 :         return false;
      93             :     }
      94           0 :     return true;
      95             : }
      96             : 
      97           0 : auto GMPDecryptionData::operator!=(const GMPDecryptionData& _o) const -> bool
      98             : {
      99           0 :     return (!(operator==(_o)));
     100             : }
     101             : 
     102           0 : auto GMPDecryptionData::Init() -> void
     103             : {
     104           0 : }
     105             : 
     106           0 : auto GMPDecryptionData::Assign(
     107             :         const nsTArray<uint8_t>& _mKeyId,
     108             :         const nsTArray<uint8_t>& _mIV,
     109             :         const nsTArray<uint16_t>& _mClearBytes,
     110             :         const nsTArray<uint32_t>& _mCipherBytes,
     111             :         const nsTArray<nsCString>& _mSessionIds) -> void
     112             : {
     113           0 :     mKeyId_ = _mKeyId;
     114           0 :     mIV_ = _mIV;
     115           0 :     mClearBytes_ = _mClearBytes;
     116           0 :     mCipherBytes_ = _mCipherBytes;
     117           0 :     mSessionIds_ = _mSessionIds;
     118           0 : }
     119             : 
     120             : } // namespace gmp
     121             : } // namespace mozilla
     122             : 
     123             : //-----------------------------------------------------------------------------
     124             : // Method definitions for the IPDL type |struct GMPVideoEncodedFrameData|
     125             : //
     126             : namespace mozilla {
     127             : namespace gmp {
     128           0 : MOZ_IMPLICIT GMPVideoEncodedFrameData::GMPVideoEncodedFrameData() :
     129             :     mEncodedWidth_(),
     130             :     mEncodedHeight_(),
     131             :     mTimestamp_(),
     132             :     mDuration_(),
     133             :     mFrameType_(),
     134             :     mSize_(),
     135             :     mBufferType_(),
     136           0 :     mCompleteFrame_()
     137             : {
     138           0 :     Init();
     139           0 : }
     140             : 
     141           0 : GMPVideoEncodedFrameData::~GMPVideoEncodedFrameData()
     142             : {
     143           0 : }
     144             : 
     145           0 : auto GMPVideoEncodedFrameData::operator==(const GMPVideoEncodedFrameData& _o) const -> bool
     146             : {
     147           0 :     if ((!((mEncodedWidth()) == ((_o).mEncodedWidth())))) {
     148           0 :         return false;
     149             :     }
     150           0 :     if ((!((mEncodedHeight()) == ((_o).mEncodedHeight())))) {
     151           0 :         return false;
     152             :     }
     153           0 :     if ((!((mTimestamp()) == ((_o).mTimestamp())))) {
     154           0 :         return false;
     155             :     }
     156           0 :     if ((!((mDuration()) == ((_o).mDuration())))) {
     157           0 :         return false;
     158             :     }
     159           0 :     if ((!((mFrameType()) == ((_o).mFrameType())))) {
     160           0 :         return false;
     161             :     }
     162           0 :     if ((!((mSize()) == ((_o).mSize())))) {
     163           0 :         return false;
     164             :     }
     165           0 :     if ((!((mBufferType()) == ((_o).mBufferType())))) {
     166           0 :         return false;
     167             :     }
     168           0 :     if ((!((mBuffer()) == ((_o).mBuffer())))) {
     169           0 :         return false;
     170             :     }
     171           0 :     if ((!((mCompleteFrame()) == ((_o).mCompleteFrame())))) {
     172           0 :         return false;
     173             :     }
     174           0 :     if ((!((mDecryptionData()) == ((_o).mDecryptionData())))) {
     175           0 :         return false;
     176             :     }
     177           0 :     return true;
     178             : }
     179             : 
     180           0 : auto GMPVideoEncodedFrameData::operator!=(const GMPVideoEncodedFrameData& _o) const -> bool
     181             : {
     182           0 :     return (!(operator==(_o)));
     183             : }
     184             : 
     185           0 : auto GMPVideoEncodedFrameData::Init() -> void
     186             : {
     187           0 : }
     188             : 
     189           0 : auto GMPVideoEncodedFrameData::Assign(
     190             :         const uint32_t& _mEncodedWidth,
     191             :         const uint32_t& _mEncodedHeight,
     192             :         const uint64_t& _mTimestamp,
     193             :         const uint64_t& _mDuration,
     194             :         const uint32_t& _mFrameType,
     195             :         const uint32_t& _mSize,
     196             :         const GMPBufferType& _mBufferType,
     197             :         Shmem& _mBuffer,
     198             :         const bool& _mCompleteFrame,
     199             :         const GMPDecryptionData& _mDecryptionData) -> void
     200             : {
     201           0 :     mEncodedWidth_ = _mEncodedWidth;
     202           0 :     mEncodedHeight_ = _mEncodedHeight;
     203           0 :     mTimestamp_ = _mTimestamp;
     204           0 :     mDuration_ = _mDuration;
     205           0 :     mFrameType_ = _mFrameType;
     206           0 :     mSize_ = _mSize;
     207           0 :     mBufferType_ = _mBufferType;
     208           0 :     mBuffer_ = _mBuffer;
     209           0 :     mCompleteFrame_ = _mCompleteFrame;
     210           0 :     mDecryptionData_ = _mDecryptionData;
     211           0 : }
     212             : 
     213             : } // namespace gmp
     214             : } // namespace mozilla
     215             : 
     216             : //-----------------------------------------------------------------------------
     217             : // Method definitions for the IPDL type |struct GMPPlaneData|
     218             : //
     219             : namespace mozilla {
     220             : namespace gmp {
     221           0 : MOZ_IMPLICIT GMPPlaneData::GMPPlaneData() :
     222             :     mSize_(),
     223           0 :     mStride_()
     224             : {
     225           0 :     Init();
     226           0 : }
     227             : 
     228           0 : GMPPlaneData::~GMPPlaneData()
     229             : {
     230           0 : }
     231             : 
     232           0 : auto GMPPlaneData::operator==(const GMPPlaneData& _o) const -> bool
     233             : {
     234           0 :     if ((!((mSize()) == ((_o).mSize())))) {
     235           0 :         return false;
     236             :     }
     237           0 :     if ((!((mStride()) == ((_o).mStride())))) {
     238           0 :         return false;
     239             :     }
     240           0 :     if ((!((mBuffer()) == ((_o).mBuffer())))) {
     241           0 :         return false;
     242             :     }
     243           0 :     return true;
     244             : }
     245             : 
     246           0 : auto GMPPlaneData::operator!=(const GMPPlaneData& _o) const -> bool
     247             : {
     248           0 :     return (!(operator==(_o)));
     249             : }
     250             : 
     251           0 : auto GMPPlaneData::Init() -> void
     252             : {
     253           0 : }
     254             : 
     255           0 : auto GMPPlaneData::Assign(
     256             :         const int32_t& _mSize,
     257             :         const int32_t& _mStride,
     258             :         Shmem& _mBuffer) -> void
     259             : {
     260           0 :     mSize_ = _mSize;
     261           0 :     mStride_ = _mStride;
     262           0 :     mBuffer_ = _mBuffer;
     263           0 : }
     264             : 
     265             : } // namespace gmp
     266             : } // namespace mozilla
     267             : 
     268             : //-----------------------------------------------------------------------------
     269             : // Method definitions for the IPDL type |struct GMPVideoi420FrameData|
     270             : //
     271             : namespace mozilla {
     272             : namespace gmp {
     273           0 : MOZ_IMPLICIT GMPVideoi420FrameData::GMPVideoi420FrameData() :
     274             :     mWidth_(),
     275             :     mHeight_(),
     276             :     mTimestamp_(),
     277           0 :     mDuration_()
     278             : {
     279           0 :     Init();
     280           0 : }
     281             : 
     282           0 : GMPVideoi420FrameData::~GMPVideoi420FrameData()
     283             : {
     284           0 : }
     285             : 
     286           0 : auto GMPVideoi420FrameData::operator==(const GMPVideoi420FrameData& _o) const -> bool
     287             : {
     288           0 :     if ((!((mYPlane()) == ((_o).mYPlane())))) {
     289           0 :         return false;
     290             :     }
     291           0 :     if ((!((mUPlane()) == ((_o).mUPlane())))) {
     292           0 :         return false;
     293             :     }
     294           0 :     if ((!((mVPlane()) == ((_o).mVPlane())))) {
     295           0 :         return false;
     296             :     }
     297           0 :     if ((!((mWidth()) == ((_o).mWidth())))) {
     298           0 :         return false;
     299             :     }
     300           0 :     if ((!((mHeight()) == ((_o).mHeight())))) {
     301           0 :         return false;
     302             :     }
     303           0 :     if ((!((mTimestamp()) == ((_o).mTimestamp())))) {
     304           0 :         return false;
     305             :     }
     306           0 :     if ((!((mDuration()) == ((_o).mDuration())))) {
     307           0 :         return false;
     308             :     }
     309           0 :     return true;
     310             : }
     311             : 
     312           0 : auto GMPVideoi420FrameData::operator!=(const GMPVideoi420FrameData& _o) const -> bool
     313             : {
     314           0 :     return (!(operator==(_o)));
     315             : }
     316             : 
     317           0 : auto GMPVideoi420FrameData::Init() -> void
     318             : {
     319           0 : }
     320             : 
     321           0 : auto GMPVideoi420FrameData::Assign(
     322             :         const GMPPlaneData& _mYPlane,
     323             :         const GMPPlaneData& _mUPlane,
     324             :         const GMPPlaneData& _mVPlane,
     325             :         const int32_t& _mWidth,
     326             :         const int32_t& _mHeight,
     327             :         const uint64_t& _mTimestamp,
     328             :         const uint64_t& _mDuration) -> void
     329             : {
     330           0 :     mYPlane_ = _mYPlane;
     331           0 :     mUPlane_ = _mUPlane;
     332           0 :     mVPlane_ = _mVPlane;
     333           0 :     mWidth_ = _mWidth;
     334           0 :     mHeight_ = _mHeight;
     335           0 :     mTimestamp_ = _mTimestamp;
     336           0 :     mDuration_ = _mDuration;
     337           0 : }
     338             : 
     339             : } // namespace gmp
     340             : } // namespace mozilla
     341             : 
     342             : //-----------------------------------------------------------------------------
     343             : // Method definitions for the IPDL type |struct GMPKeyInformation|
     344             : //
     345             : namespace mozilla {
     346             : namespace gmp {
     347           0 : MOZ_IMPLICIT GMPKeyInformation::GMPKeyInformation() :
     348           0 :     status_()
     349             : {
     350           0 :     Init();
     351           0 : }
     352             : 
     353           0 : GMPKeyInformation::~GMPKeyInformation()
     354             : {
     355           0 : }
     356             : 
     357           0 : auto GMPKeyInformation::operator==(const GMPKeyInformation& _o) const -> bool
     358             : {
     359           0 :     if ((!((keyId()) == ((_o).keyId())))) {
     360           0 :         return false;
     361             :     }
     362           0 :     if ((!((status()) == ((_o).status())))) {
     363           0 :         return false;
     364             :     }
     365           0 :     return true;
     366             : }
     367             : 
     368           0 : auto GMPKeyInformation::operator!=(const GMPKeyInformation& _o) const -> bool
     369             : {
     370           0 :     return (!(operator==(_o)));
     371             : }
     372             : 
     373           0 : auto GMPKeyInformation::Init() -> void
     374             : {
     375           0 : }
     376             : 
     377           0 : auto GMPKeyInformation::Assign(
     378             :         const nsTArray<uint8_t>& _keyId,
     379             :         const GMPMediaKeyStatus& _status) -> void
     380             : {
     381           0 :     keyId_ = _keyId;
     382           0 :     status_ = _status;
     383           0 : }
     384             : 
     385             : } // namespace gmp
     386             : } // namespace mozilla
     387             : 
     388             : //-----------------------------------------------------------------------------
     389             : // Method definitions for the IPDL type |struct CDMInputBuffer|
     390             : //
     391             : namespace mozilla {
     392             : namespace gmp {
     393           0 : MOZ_IMPLICIT CDMInputBuffer::CDMInputBuffer() :
     394             :     mTimestamp_(),
     395             :     mDuration_(),
     396           0 :     mIsEncrypted_()
     397             : {
     398           0 :     Init();
     399           0 : }
     400             : 
     401           0 : CDMInputBuffer::~CDMInputBuffer()
     402             : {
     403           0 : }
     404             : 
     405           0 : auto CDMInputBuffer::operator==(const CDMInputBuffer& _o) const -> bool
     406             : {
     407           0 :     if ((!((mData()) == ((_o).mData())))) {
     408           0 :         return false;
     409             :     }
     410           0 :     if ((!((mKeyId()) == ((_o).mKeyId())))) {
     411           0 :         return false;
     412             :     }
     413           0 :     if ((!((mIV()) == ((_o).mIV())))) {
     414           0 :         return false;
     415             :     }
     416           0 :     if ((!((mTimestamp()) == ((_o).mTimestamp())))) {
     417           0 :         return false;
     418             :     }
     419           0 :     if ((!((mDuration()) == ((_o).mDuration())))) {
     420           0 :         return false;
     421             :     }
     422           0 :     if ((!((mClearBytes()) == ((_o).mClearBytes())))) {
     423           0 :         return false;
     424             :     }
     425           0 :     if ((!((mCipherBytes()) == ((_o).mCipherBytes())))) {
     426           0 :         return false;
     427             :     }
     428           0 :     if ((!((mIsEncrypted()) == ((_o).mIsEncrypted())))) {
     429           0 :         return false;
     430             :     }
     431           0 :     return true;
     432             : }
     433             : 
     434           0 : auto CDMInputBuffer::operator!=(const CDMInputBuffer& _o) const -> bool
     435             : {
     436           0 :     return (!(operator==(_o)));
     437             : }
     438             : 
     439           0 : auto CDMInputBuffer::Init() -> void
     440             : {
     441           0 : }
     442             : 
     443           0 : auto CDMInputBuffer::Assign(
     444             :         Shmem& _mData,
     445             :         const nsTArray<uint8_t>& _mKeyId,
     446             :         const nsTArray<uint8_t>& _mIV,
     447             :         const int64_t& _mTimestamp,
     448             :         const int64_t& _mDuration,
     449             :         const nsTArray<uint16_t>& _mClearBytes,
     450             :         const nsTArray<uint32_t>& _mCipherBytes,
     451             :         const bool& _mIsEncrypted) -> void
     452             : {
     453           0 :     mData_ = _mData;
     454           0 :     mKeyId_ = _mKeyId;
     455           0 :     mIV_ = _mIV;
     456           0 :     mTimestamp_ = _mTimestamp;
     457           0 :     mDuration_ = _mDuration;
     458           0 :     mClearBytes_ = _mClearBytes;
     459           0 :     mCipherBytes_ = _mCipherBytes;
     460           0 :     mIsEncrypted_ = _mIsEncrypted;
     461           0 : }
     462             : 
     463             : } // namespace gmp
     464             : } // namespace mozilla
     465             : 
     466             : //-----------------------------------------------------------------------------
     467             : // Method definitions for the IPDL type |struct CDMVideoDecoderConfig|
     468             : //
     469             : namespace mozilla {
     470             : namespace gmp {
     471           0 : MOZ_IMPLICIT CDMVideoDecoderConfig::CDMVideoDecoderConfig() :
     472             :     mCodec_(),
     473             :     mProfile_(),
     474             :     mFormat_(),
     475             :     mImageWidth_(),
     476           0 :     mImageHeight_()
     477             : {
     478           0 :     Init();
     479           0 : }
     480             : 
     481           0 : CDMVideoDecoderConfig::~CDMVideoDecoderConfig()
     482             : {
     483           0 : }
     484             : 
     485           0 : auto CDMVideoDecoderConfig::operator==(const CDMVideoDecoderConfig& _o) const -> bool
     486             : {
     487           0 :     if ((!((mCodec()) == ((_o).mCodec())))) {
     488           0 :         return false;
     489             :     }
     490           0 :     if ((!((mProfile()) == ((_o).mProfile())))) {
     491           0 :         return false;
     492             :     }
     493           0 :     if ((!((mFormat()) == ((_o).mFormat())))) {
     494           0 :         return false;
     495             :     }
     496           0 :     if ((!((mImageWidth()) == ((_o).mImageWidth())))) {
     497           0 :         return false;
     498             :     }
     499           0 :     if ((!((mImageHeight()) == ((_o).mImageHeight())))) {
     500           0 :         return false;
     501             :     }
     502           0 :     if ((!((mExtraData()) == ((_o).mExtraData())))) {
     503           0 :         return false;
     504             :     }
     505           0 :     return true;
     506             : }
     507             : 
     508           0 : auto CDMVideoDecoderConfig::operator!=(const CDMVideoDecoderConfig& _o) const -> bool
     509             : {
     510           0 :     return (!(operator==(_o)));
     511             : }
     512             : 
     513           0 : auto CDMVideoDecoderConfig::Init() -> void
     514             : {
     515           0 : }
     516             : 
     517           0 : auto CDMVideoDecoderConfig::Assign(
     518             :         const uint32_t& _mCodec,
     519             :         const uint32_t& _mProfile,
     520             :         const uint32_t& _mFormat,
     521             :         const int32_t& _mImageWidth,
     522             :         const int32_t& _mImageHeight,
     523             :         const nsTArray<uint8_t>& _mExtraData) -> void
     524             : {
     525           0 :     mCodec_ = _mCodec;
     526           0 :     mProfile_ = _mProfile;
     527           0 :     mFormat_ = _mFormat;
     528           0 :     mImageWidth_ = _mImageWidth;
     529           0 :     mImageHeight_ = _mImageHeight;
     530           0 :     mExtraData_ = _mExtraData;
     531           0 : }
     532             : 
     533             : } // namespace gmp
     534             : } // namespace mozilla
     535             : 
     536             : //-----------------------------------------------------------------------------
     537             : // Method definitions for the IPDL type |struct CDMKeyInformation|
     538             : //
     539             : namespace mozilla {
     540             : namespace gmp {
     541           0 : MOZ_IMPLICIT CDMKeyInformation::CDMKeyInformation() :
     542             :     mStatus_(),
     543           0 :     mSystemCode_()
     544             : {
     545           0 :     Init();
     546           0 : }
     547             : 
     548           0 : CDMKeyInformation::~CDMKeyInformation()
     549             : {
     550           0 : }
     551             : 
     552           0 : auto CDMKeyInformation::operator==(const CDMKeyInformation& _o) const -> bool
     553             : {
     554           0 :     if ((!((mKeyId()) == ((_o).mKeyId())))) {
     555           0 :         return false;
     556             :     }
     557           0 :     if ((!((mStatus()) == ((_o).mStatus())))) {
     558           0 :         return false;
     559             :     }
     560           0 :     if ((!((mSystemCode()) == ((_o).mSystemCode())))) {
     561           0 :         return false;
     562             :     }
     563           0 :     return true;
     564             : }
     565             : 
     566           0 : auto CDMKeyInformation::operator!=(const CDMKeyInformation& _o) const -> bool
     567             : {
     568           0 :     return (!(operator==(_o)));
     569             : }
     570             : 
     571           0 : auto CDMKeyInformation::Init() -> void
     572             : {
     573           0 : }
     574             : 
     575           0 : auto CDMKeyInformation::Assign(
     576             :         const nsTArray<uint8_t>& _mKeyId,
     577             :         const uint32_t& _mStatus,
     578             :         const uint32_t& _mSystemCode) -> void
     579             : {
     580           0 :     mKeyId_ = _mKeyId;
     581           0 :     mStatus_ = _mStatus;
     582           0 :     mSystemCode_ = _mSystemCode;
     583           0 : }
     584             : 
     585             : } // namespace gmp
     586             : } // namespace mozilla
     587             : 
     588             : //-----------------------------------------------------------------------------
     589             : // Method definitions for the IPDL type |struct CDMVideoPlane|
     590             : //
     591             : namespace mozilla {
     592             : namespace gmp {
     593           0 : MOZ_IMPLICIT CDMVideoPlane::CDMVideoPlane() :
     594             :     mPlaneOffset_(),
     595           0 :     mStride_()
     596             : {
     597           0 :     Init();
     598           0 : }
     599             : 
     600           0 : CDMVideoPlane::~CDMVideoPlane()
     601             : {
     602           0 : }
     603             : 
     604           0 : auto CDMVideoPlane::operator==(const CDMVideoPlane& _o) const -> bool
     605             : {
     606           0 :     if ((!((mPlaneOffset()) == ((_o).mPlaneOffset())))) {
     607           0 :         return false;
     608             :     }
     609           0 :     if ((!((mStride()) == ((_o).mStride())))) {
     610           0 :         return false;
     611             :     }
     612           0 :     return true;
     613             : }
     614             : 
     615           0 : auto CDMVideoPlane::operator!=(const CDMVideoPlane& _o) const -> bool
     616             : {
     617           0 :     return (!(operator==(_o)));
     618             : }
     619             : 
     620           0 : auto CDMVideoPlane::Init() -> void
     621             : {
     622           0 : }
     623             : 
     624           0 : auto CDMVideoPlane::Assign(
     625             :         const uint32_t& _mPlaneOffset,
     626             :         const uint32_t& _mStride) -> void
     627             : {
     628           0 :     mPlaneOffset_ = _mPlaneOffset;
     629           0 :     mStride_ = _mStride;
     630           0 : }
     631             : 
     632             : } // namespace gmp
     633             : } // namespace mozilla
     634             : 
     635             : //-----------------------------------------------------------------------------
     636             : // Method definitions for the IPDL type |struct CDMVideoFrame|
     637             : //
     638             : namespace mozilla {
     639             : namespace gmp {
     640           0 : MOZ_IMPLICIT CDMVideoFrame::CDMVideoFrame() :
     641             :     mFormat_(),
     642             :     mImageWidth_(),
     643             :     mImageHeight_(),
     644             :     mTimestamp_(),
     645           0 :     mDuration_()
     646             : {
     647           0 :     Init();
     648           0 : }
     649             : 
     650           0 : CDMVideoFrame::~CDMVideoFrame()
     651             : {
     652           0 : }
     653             : 
     654           0 : auto CDMVideoFrame::operator==(const CDMVideoFrame& _o) const -> bool
     655             : {
     656           0 :     if ((!((mFormat()) == ((_o).mFormat())))) {
     657           0 :         return false;
     658             :     }
     659           0 :     if ((!((mImageWidth()) == ((_o).mImageWidth())))) {
     660           0 :         return false;
     661             :     }
     662           0 :     if ((!((mImageHeight()) == ((_o).mImageHeight())))) {
     663           0 :         return false;
     664             :     }
     665           0 :     if ((!((mYPlane()) == ((_o).mYPlane())))) {
     666           0 :         return false;
     667             :     }
     668           0 :     if ((!((mUPlane()) == ((_o).mUPlane())))) {
     669           0 :         return false;
     670             :     }
     671           0 :     if ((!((mVPlane()) == ((_o).mVPlane())))) {
     672           0 :         return false;
     673             :     }
     674           0 :     if ((!((mTimestamp()) == ((_o).mTimestamp())))) {
     675           0 :         return false;
     676             :     }
     677           0 :     if ((!((mDuration()) == ((_o).mDuration())))) {
     678           0 :         return false;
     679             :     }
     680           0 :     return true;
     681             : }
     682             : 
     683           0 : auto CDMVideoFrame::operator!=(const CDMVideoFrame& _o) const -> bool
     684             : {
     685           0 :     return (!(operator==(_o)));
     686             : }
     687             : 
     688           0 : auto CDMVideoFrame::Init() -> void
     689             : {
     690           0 : }
     691             : 
     692           0 : auto CDMVideoFrame::Assign(
     693             :         const uint32_t& _mFormat,
     694             :         const int32_t& _mImageWidth,
     695             :         const int32_t& _mImageHeight,
     696             :         const CDMVideoPlane& _mYPlane,
     697             :         const CDMVideoPlane& _mUPlane,
     698             :         const CDMVideoPlane& _mVPlane,
     699             :         const int64_t& _mTimestamp,
     700             :         const int64_t& _mDuration) -> void
     701             : {
     702           0 :     mFormat_ = _mFormat;
     703           0 :     mImageWidth_ = _mImageWidth;
     704           0 :     mImageHeight_ = _mImageHeight;
     705           0 :     mYPlane_ = _mYPlane;
     706           0 :     mUPlane_ = _mUPlane;
     707           0 :     mVPlane_ = _mVPlane;
     708           0 :     mTimestamp_ = _mTimestamp;
     709           0 :     mDuration_ = _mDuration;
     710           0 : }
     711             : 
     712             : } // namespace gmp
     713             : } // namespace mozilla

Generated by: LCOV version 1.13