Lines Matching defs:videoFrame
28 #include <private/media/VideoFrame.h>
257 VideoFrame *videoFrame = NULL;
259 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object
260 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer());
262 if (videoFrame == NULL) {
263 ALOGE("getFrameAtTime: videoFrame is a NULL pointer");
268 videoFrame->mDisplayWidth,
269 videoFrame->mDisplayHeight,
270 videoFrame->mSize);
279 if (videoFrame->mRotationAngle == 90 || videoFrame->mRotationAngle == 270) {
280 width = videoFrame->mHeight;
281 height = videoFrame->mWidth;
284 width = videoFrame->mWidth;
285 height = videoFrame->mHeight;
307 (uint16_t*)((char*)videoFrame + sizeof(VideoFrame)),
308 videoFrame->mWidth,
309 videoFrame->mHeight,
310 videoFrame->mRotationAngle);
313 if (videoFrame->mDisplayWidth != videoFrame->mWidth ||
314 videoFrame->mDisplayHeight != videoFrame->mHeight) {
315 uint32_t displayWidth = videoFrame->mDisplayWidth;
316 uint32_t displayHeight = videoFrame->mDisplayHeight;
318 displayWidth = videoFrame->mDisplayHeight;
319 displayHeight = videoFrame->mDisplayWidth;