Lines Matching refs:aFrameData
24 const GMPVideoi420FrameData& aFrameData, GMPVideoHostImpl* aHost) in GMPVideoi420FrameImpl() argument
25 : mYPlane(aFrameData.mYPlane(), aHost), in GMPVideoi420FrameImpl()
26 mUPlane(aFrameData.mUPlane(), aHost), in GMPVideoi420FrameImpl()
27 mVPlane(aFrameData.mVPlane(), aHost), in GMPVideoi420FrameImpl()
28 mWidth(aFrameData.mWidth()), in GMPVideoi420FrameImpl()
29 mHeight(aFrameData.mHeight()), in GMPVideoi420FrameImpl()
30 mTimestamp(aFrameData.mTimestamp()), in GMPVideoi420FrameImpl()
31 mDuration(aFrameData.mDuration()) { in GMPVideoi420FrameImpl()
37 bool GMPVideoi420FrameImpl::InitFrameData(GMPVideoi420FrameData& aFrameData) { in InitFrameData() argument
38 mYPlane.InitPlaneData(aFrameData.mYPlane()); in InitFrameData()
39 mUPlane.InitPlaneData(aFrameData.mUPlane()); in InitFrameData()
40 mVPlane.InitPlaneData(aFrameData.mVPlane()); in InitFrameData()
41 aFrameData.mWidth() = mWidth; in InitFrameData()
42 aFrameData.mHeight() = mHeight; in InitFrameData()
43 aFrameData.mTimestamp() = mTimestamp; in InitFrameData()
44 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()