/frameworks/base/core/java/android/widget/ |
VideoView.java | 100 private int mVideoHeight; 141 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); 142 if (mVideoWidth > 0 && mVideoHeight > 0) { 155 if ( mVideoWidth * height < width * mVideoHeight ) { 157 width = height * mVideoWidth / mVideoHeight; 158 } else if ( mVideoWidth * height > width * mVideoHeight ) { 160 height = width * mVideoHeight / mVideoWidth; 165 height = width * mVideoHeight / mVideoWidth; 173 width = height * mVideoWidth / mVideoHeight; 181 height = mVideoHeight; [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/media/ |
MediaPlayerDemo_Video.java | 41 private int mVideoHeight; 155 mVideoHeight = height; 209 mVideoHeight = 0; 216 holder.setFixedSize(mVideoWidth, mVideoHeight);
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
SoftMPEG4Encoder.cpp | 85 mVideoHeight(144), 130 mEncParams->encHeight[0] = mVideoHeight; 154 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); 159 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { 161 mVideoWidth, mVideoHeight); 235 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1; 260 def.format.video.nFrameHeight = mVideoHeight; 262 def.format.video.nSliceHeight = mVideoHeight; 291 def.format.video.nFrameHeight = mVideoHeight; 293 def.format.video.nSliceHeight = mVideoHeight; [all...] |
SoftMPEG4Encoder.h | 71 int32_t mVideoHeight;
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
VideoEncoderDecoderTest.java | 70 private int mVideoHeight; 140 mVideoHeight = h; 290 for (int i = 0; i < mVideoHeight; i++) { 297 for (int i = 0; i < mVideoHeight / 2; i++) { 305 for (int i = 0; i < mVideoHeight /2; i++) { //U only 309 for (int i = 0; i < mVideoHeight /2; i++) { //V only 314 int size = mVideoHeight * mVideoWidth * 3 /2; 390 printByteBuffer("UV ", buf, mVideoWidth * mVideoHeight, 20); 391 printByteBuffer("UV ", buf, mVideoWidth * mVideoHeight + mVideoWidth * 60, 20); 396 int h = mRandom.nextInt(mVideoHeight); [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
MediaRecorderStressTestRunner.java | 42 public static int mVideoHeight = profile.videoFrameHeight; 90 mVideoHeight = Integer.parseInt(videoHeight);
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
PlayVideoActivity.java | 71 private int mVideoHeight; 173 mVideoHeight = height; 191 mHolder.setFixedSize(mVideoWidth, mVideoHeight); 195 float aspectRatio = ((float) mVideoWidth) / mVideoHeight;
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
SoftAVCEncoder.cpp | 177 mVideoHeight(144), 261 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); 266 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { 268 mVideoWidth, mVideoHeight); 273 mEncParams->height = mVideoHeight; 279 (((mVideoHeight + 15) >> 4) << 4)) >> 8; 375 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1; 398 def.format.video.nFrameHeight = mVideoHeight; 400 def.format.video.nSliceHeight = mVideoHeight; 421 def.format.video.nFrameHeight = mVideoHeight; [all...] |
SoftAVCEncoder.h | 81 int32_t mVideoHeight;
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
ContentVideoView.java | 69 private int mVideoHeight; 110 int height = getDefaultSize(mVideoHeight, heightMeasureSpec); 111 if (mVideoWidth > 0 && mVideoHeight > 0) { 112 if (mVideoWidth * height > width * mVideoHeight) { 113 height = width * mVideoHeight / mVideoWidth; 114 } else if (mVideoWidth * height < width * mVideoHeight) { 115 width = height * mVideoWidth / mVideoHeight; 286 mVideoHeight = height; 288 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
MediaPlayerPerformance.java | 92 private int mVideoHeight; 111 mVideoHeight = mCamcorderProfile.videoFrameHeight; 112 Log.v(TAG, "height = " + mVideoHeight + " width= " + mVideoWidth); 430 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, 451 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, 473 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight,
|
/frameworks/av/include/media/stagefright/ |
CameraSourceTimeLapse.h | 62 int32_t mVideoHeight;
|
/frameworks/av/media/libmediaplayerservice/ |
StagefrightRecorder.cpp | 193 mVideoHeight = height; [all...] |
StagefrightRecorder.h | 88 int32_t mVideoWidth, mVideoHeight;
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
MediaRecorderStressTest.java | 68 private int mVideoHeight; 91 mVideoHeight = profile.videoFrameHeight; 387 Log.v(TAG, "videoHeight : " + mVideoHeight); 397 mRecorder.setVideoSize(mVideoWidth, mVideoHeight);
|
/development/samples/Support7Demos/src/com/example/android/supportv7/media/ |
LocalPlayer.java | 71 private int mVideoHeight; 296 protected int getVideoHeight() { return mVideoHeight; } 359 mVideoHeight = height; 363 mVideoWidth = mVideoHeight = 0;
|
/frameworks/av/include/media/ |
mediaplayer.h | 274 int mVideoHeight;
|
/frameworks/av/media/libmedia/ |
mediaplayer.cpp | 58 mVideoWidth = mVideoHeight = 0; 94 mVideoWidth = mVideoHeight = 0; 375 *h = mVideoHeight; 754 mVideoHeight = ext2;
|
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | 370 mVideoHeight = h; 419 mVideoHeight = h; 420 CAMHAL_LOGVB("%s Video Width=%d Height=%d\n", __FUNCTION__, mVideoWidth, mVideoHeight); 426 if ((w != mVideoWidth) && (h != mVideoHeight)) 438 params.getPreviewSize(&mVideoWidth, &mVideoHeight); 455 params.getPreviewSize(&mVideoWidth, &mVideoHeight); [all...] |
AppCallbackNotifier.cpp | [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
PreviewPlayer.h | 198 int32_t mVideoWidth, mVideoHeight;
|
PreviewPlayer.cpp | 256 mVideoSource = DummyVideoSource::Create(mVideoWidth, mVideoHeight, 328 mVideoWidth = mVideoHeight = -1; 690 if (mVideoWidth < 0 || mVideoHeight < 0) { 695 *height = mVideoHeight; [all...] |
/frameworks/av/media/libstagefright/ |
CameraSourceTimeLapse.cpp | 86 mVideoHeight = videoSize.height;
|
/device/lge/mako/camera/ |
QCameraHWI.cpp | [all...] |
/frameworks/av/media/libstagefright/include/ |
AwesomePlayer.h | 338 int32_t mVideoHeight;
|