Home | History | Annotate | Download | only in jni

Lines Matching refs:VideoFrame

26 #include <private/media/VideoFrame.h>
228 VideoFrame *videoFrame = NULL;
230 if (frameMemory != 0) { // cast the shared structure to a VideoFrame object
231 videoFrame = static_cast<VideoFrame *>(frameMemory->pointer());
233 if (videoFrame == NULL) {
234 ALOGE("getFrameAtTime: videoFrame is a NULL pointer");
239 videoFrame->mDisplayWidth,
240 videoFrame->mDisplayHeight,
241 videoFrame->mSize);
250 if (videoFrame->mRotationAngle == 90 || videoFrame->mRotationAngle == 270) {
251 width = videoFrame->mHeight;
252 height = videoFrame->mWidth;
255 width = videoFrame->mWidth;
256 height = videoFrame->mHeight;
271 (uint16_t*)((char*)videoFrame + sizeof(VideoFrame)),
272 videoFrame->mWidth,
273 videoFrame->mHeight,
274 videoFrame->mRotationAngle);
277 if (videoFrame->mDisplayWidth != videoFrame->mWidth ||
278 videoFrame->mDisplayHeight != videoFrame->mHeight) {
279 size_t displayWidth = videoFrame->mDisplayWidth;
280 size_t displayHeight = videoFrame->mDisplayHeight;
282 displayWidth = videoFrame->mDisplayHeight;
283 displayHeight = videoFrame->mDisplayWidth;