Lines Matching refs:aFrameData

25     const GMPVideoi420FrameData& aFrameData, GMPVideoHostImpl* aHost)  in GMPVideoi420FrameImpl()  argument
26 : mYPlane(aFrameData.mYPlane(), aHost), in GMPVideoi420FrameImpl()
27 mUPlane(aFrameData.mUPlane(), aHost), in GMPVideoi420FrameImpl()
28 mVPlane(aFrameData.mVPlane(), aHost), in GMPVideoi420FrameImpl()
29 mWidth(aFrameData.mWidth()), in GMPVideoi420FrameImpl()
30 mHeight(aFrameData.mHeight()), in GMPVideoi420FrameImpl()
31 mTimestamp(aFrameData.mTimestamp()), in GMPVideoi420FrameImpl()
32 mDuration(aFrameData.mDuration()) { in GMPVideoi420FrameImpl()
38 bool GMPVideoi420FrameImpl::InitFrameData(GMPVideoi420FrameData& aFrameData) { in InitFrameData() argument
39 mYPlane.InitPlaneData(aFrameData.mYPlane()); in InitFrameData()
40 mUPlane.InitPlaneData(aFrameData.mUPlane()); in InitFrameData()
41 mVPlane.InitPlaneData(aFrameData.mVPlane()); in InitFrameData()
42 aFrameData.mWidth() = mWidth; in InitFrameData()
43 aFrameData.mHeight() = mHeight; in InitFrameData()
44 aFrameData.mTimestamp() = mTimestamp; in InitFrameData()
45 aFrameData.mDuration() = mDuration; in InitFrameData()
56 const GMPVideoi420FrameData& aFrameData) { in CheckFrameData() argument
61 int32_t half_width = (aFrameData.mWidth() + 1) / 2; in CheckFrameData()
62 if ((aFrameData.mYPlane().mStride() <= 0) || in CheckFrameData()
63 (aFrameData.mYPlane().mSize() <= 0) || in CheckFrameData()
64 (aFrameData.mUPlane().mStride() <= 0) || in CheckFrameData()
65 (aFrameData.mUPlane().mSize() <= 0) || in CheckFrameData()
66 (aFrameData.mVPlane().mStride() <= 0) || in CheckFrameData()
67 (aFrameData.mVPlane().mSize() <= 0) || in CheckFrameData()
68 (aFrameData.mYPlane().mSize() > in CheckFrameData()
69 (int32_t)aFrameData.mYPlane().mBuffer().Size<uint8_t>()) || in CheckFrameData()
70 (aFrameData.mUPlane().mSize() > in CheckFrameData()
71 (int32_t)aFrameData.mUPlane().mBuffer().Size<uint8_t>()) || in CheckFrameData()
72 (aFrameData.mVPlane().mSize() > in CheckFrameData()
73 (int32_t)aFrameData.mVPlane().mBuffer().Size<uint8_t>()) || in CheckFrameData()
74 (aFrameData.mYPlane().mStride() < aFrameData.mWidth()) || in CheckFrameData()
75 (aFrameData.mUPlane().mStride() < half_width) || in CheckFrameData()
76 (aFrameData.mVPlane().mStride() < half_width) || in CheckFrameData()
77 (aFrameData.mYPlane().mSize() < in CheckFrameData()
78 aFrameData.mYPlane().mStride() * aFrameData.mHeight()) || in CheckFrameData()
79 (aFrameData.mUPlane().mSize() < in CheckFrameData()
80 aFrameData.mUPlane().mStride() * ((aFrameData.mHeight() + 1) / 2)) || in CheckFrameData()
81 (aFrameData.mVPlane().mSize() < in CheckFrameData()
82 aFrameData.mVPlane().mStride() * ((aFrameData.mHeight() + 1) / 2))) { in CheckFrameData()