/frameworks/base/core/java/android/widget/ |
H A D | VideoView.java | 99 private int mVideoWidth; field in class:VideoView 140 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); 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; 180 width = mVideoWidth; [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
H A D | SoftMPEG4Encoder.cpp | 84 mVideoWidth(176), 129 mEncParams->encWidth[0] = mVideoWidth; 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; 259 def.format.video.nFrameWidth = mVideoWidth; 261 def.format.video.nStride = mVideoWidth; 290 def.format.video.nFrameWidth = mVideoWidth; 292 def.format.video.nStride = mVideoWidth; [all...] |
H A D | SoftMPEG4Encoder.h | 70 int32_t mVideoWidth; member in struct:android::SoftMPEG4Encoder
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaRecorderStressTestRunner.java | 41 public static int mVideoWidth = profile.videoFrameWidth; field in class:MediaRecorderStressTestRunner 87 mVideoWidth = Integer.parseInt(videoWidth);
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
H A D | SoftAVCEncoder.cpp | 176 mVideoWidth(176), 261 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); 266 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { 268 mVideoWidth, mVideoHeight); 272 mEncParams->width = mVideoWidth; 278 int32_t nMacroBlocks = ((((mVideoWidth + 15) >> 4) << 4) * 375 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1; 397 def.format.video.nFrameWidth = mVideoWidth; 399 def.format.video.nStride = mVideoWidth; 420 def.format.video.nFrameWidth = mVideoWidth; [all...] |
H A D | SoftAVCEncoder.h | 80 int32_t mVideoWidth; member in struct:android::SoftAVCEncoder
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
H A D | MediaPlayerPerformance.java | 91 private int mVideoWidth; field in class:MediaPlayerPerformance 110 mVideoWidth = mCamcorderProfile.videoFrameWidth; 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/ |
H A D | CameraSourceTimeLapse.h | 61 int32_t mVideoWidth; member in class:android::CameraSourceTimeLapse
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 192 mVideoWidth = width; 1082 if (mVideoWidth < minFrameWidth && minFrameWidth != -1) { 1084 " and will be set to (%d)", mVideoWidth, minFrameWidth); 1085 mVideoWidth = minFrameWidth; 1086 } else if (mVideoWidth > maxFrameWidth && maxFrameWidth != -1) { 1088 " and will be set to (%d)", mVideoWidth, maxFrameWidth); 1089 mVideoWidth = maxFrameWidth; 1166 videoFrameWidth == mVideoWidth && 1301 mSurfaceMediaSource = new SurfaceMediaSource(mVideoWidth, mVideoHeight); 1332 videoSize.width = mVideoWidth; [all...] |
H A D | StagefrightRecorder.h | 88 int32_t mVideoWidth, mVideoHeight; member in struct:android::StagefrightRecorder
|
/frameworks/av/media/libmedia/ |
H A D | mediaplayer.cpp | 58 mVideoWidth = mVideoHeight = 0; 94 mVideoWidth = mVideoHeight = 0; 366 *w = mVideoWidth; 753 mVideoWidth = ext1;
|
/frameworks/av/include/media/ |
H A D | mediaplayer.h | 273 int mVideoWidth; member in class:android::MediaPlayer
|
/frameworks/av/libvideoeditor/lvpp/ |
H A D | PreviewPlayer.h | 198 int32_t mVideoWidth, mVideoHeight; member in struct:android::PreviewPlayer
|
H A D | PreviewPlayer.cpp | 256 mVideoSource = DummyVideoSource::Create(mVideoWidth, mVideoHeight, 328 mVideoWidth = mVideoHeight = -1; 690 if (mVideoWidth < 0 || mVideoHeight < 0) { 694 *width = mVideoWidth; 1458 mVideoWidth = width;
|
/frameworks/av/media/libstagefright/ |
H A D | CameraSourceTimeLapse.cpp | 85 mVideoWidth = videoSize.width;
|
H A D | AwesomePlayer.cpp | 601 mStats.mVideoWidth = -1; 1153 mStats.mVideoWidth = usableWidth; 2840 mStats.mVideoWidth,
|
/frameworks/av/media/libstagefright/include/ |
H A D | AwesomePlayer.h | 337 int32_t mVideoWidth; member in struct:android::AwesomePlayer::Stats
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 195 videoWidth = MediaRecorderStressTestRunner.mVideoWidth;
|