Searched refs:mVideoHeight (Results 1 - 13 of 13) sorted by relevance

/frameworks/base/core/java/android/widget/
H A DVideoView.java80 private int mVideoHeight; field in class:VideoView
113 int height = getDefaultSize(mVideoHeight, heightMeasureSpec);
114 if (mVideoWidth > 0 && mVideoHeight > 0) {
115 if ( mVideoWidth * height > width * mVideoHeight ) {
117 height = width * mVideoHeight / mVideoWidth;
118 } else if ( mVideoWidth * height < width * mVideoHeight ) {
120 width = height * mVideoWidth / mVideoHeight;
124 //mVideoWidth+"/"+mVideoHeight);
162 mVideoHeight = 0;
271 mVideoHeight
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/
H A DM4vH263Encoder.cpp99 CHECK(meta->findInt32(kKeyHeight, &mVideoHeight));
113 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1);
118 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) {
120 mVideoWidth, mVideoHeight);
144 mEncParams->encHeight[0] = mVideoHeight;
192 mFormat->setInt32(kKeyHeight, mVideoHeight);
299 if (mInputBuffer->size() - ((mVideoWidth * mVideoHeight * 3) >> 1) != 0) {
333 inPtr, mInputFrameData, mVideoWidth, mVideoHeight);
340 vin.height = ((mVideoHeight + 15) >> 4) << 4;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaRecorderStressTestRunner.java36 public static int mVideoHeight = 288; field in class:MediaRecorderStressTestRunner
83 mVideoHeight = Integer.parseInt(video_height);
/frameworks/base/media/libstagefright/include/
H A DAVCEncoder.h62 int32_t mVideoHeight; member in struct:android::AVCEncoder
H A DM4vH263Encoder.h56 int32_t mVideoHeight; member in struct:android::M4vH263Encoder
H A DAwesomePlayer.h148 int32_t mVideoWidth, mVideoHeight; member in struct:android::AwesomePlayer
204 int32_t mVideoWidth, mVideoHeight; member in struct:android::AwesomePlayer::SuspensionState
/frameworks/base/media/libstagefright/codecs/avc/enc/
H A DAVCEncoder.cpp135 CHECK(meta->findInt32(kKeyHeight, &mVideoHeight));
149 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1);
154 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) {
156 mVideoWidth, mVideoHeight);
163 mEncParams->height = mVideoHeight;
201 (((mVideoHeight + 15) >> 4) << 4)) >> 8;
243 mFormat->setInt32(kKeyHeight, mVideoHeight);
403 if (mInputBuffer->size() - ((mVideoWidth * mVideoHeight * 3) >> 1) != 0) {
432 videoInput.height = ((mVideoHeight + 15) >> 4) << 4;
441 inputData, mInputFrameData, mVideoWidth, mVideoHeight);
[all...]
/frameworks/base/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp160 mVideoHeight = height;
946 params.setPreviewSize(mVideoWidth, mVideoHeight);
960 frameHeight < 0 || frameHeight != mVideoHeight) {
962 mVideoWidth, mVideoHeight);
987 if (mVideoHeight < minFrameHeight) {
989 " and will be set to (%d)", mVideoHeight, minFrameHeight);
990 mVideoHeight = minFrameHeight;
991 } else if (mVideoHeight > maxFrameHeight) {
993 " and will be set to (%d)", mVideoHeight, maxFrameHeight);
994 mVideoHeight
[all...]
H A DStagefrightRecorder.h77 int32_t mVideoWidth, mVideoHeight; member in struct:android::StagefrightRecorder
/frameworks/base/media/libstagefright/
H A DAwesomePlayer.cpp498 mVideoWidth = mVideoHeight = -1;
857 mVideoWidth, mVideoHeight,
873 mVideoWidth, mVideoHeight,
1032 if (mVideoWidth < 0 || mVideoHeight < 0) {
1037 *height = mVideoHeight;
1111 CHECK(mVideoTrack->getFormat()->findInt32(kKeyHeight, &mVideoHeight));
1736 if (mVideoWidth < 0 || mVideoHeight < 0) {
1748 MEDIA_SET_VIDEO_SIZE, mVideoHeight, mVideoWidth);
1753 MEDIA_SET_VIDEO_SIZE, mVideoWidth, mVideoHeight);
1823 state->mVideoHeight
[all...]
/frameworks/base/include/media/
H A Dmediaplayer.h203 int mVideoHeight; member in class:android::MediaPlayer
/frameworks/base/media/libmedia/
H A Dmediaplayer.cpp56 mVideoWidth = mVideoHeight = 0;
90 mVideoWidth = mVideoHeight = 0;
359 *h = mVideoHeight;
639 mVideoHeight = ext2;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java323 int video_height = MediaRecorderStressTestRunner.mVideoHeight;

Completed in 134 milliseconds