/frameworks/base/core/java/android/widget/ |
D | VideoView.java | 79 private int mVideoWidth; field in VideoView 114 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); in onMeasure() 116 if (mVideoWidth > 0 && mVideoHeight > 0) { in onMeasure() 129 if ( mVideoWidth * height < width * mVideoHeight ) { in onMeasure() 131 width = height * mVideoWidth / mVideoHeight; in onMeasure() 132 } else if ( mVideoWidth * height > width * mVideoHeight ) { in onMeasure() 134 height = width * mVideoHeight / mVideoWidth; in onMeasure() 139 height = width * mVideoHeight / mVideoWidth; in onMeasure() 147 width = height * mVideoWidth / mVideoHeight; in onMeasure() 154 width = mVideoWidth; in onMeasure() [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | HTML5VideoFullScreen.java | 49 int width = getDefaultSize(mVideoWidth, widthMeasureSpec); in onMeasure() 51 if (mVideoWidth > 0 && mVideoHeight > 0) { in onMeasure() 52 if ( mVideoWidth * height > width * mVideoHeight ) { in onMeasure() 53 height = width * mVideoHeight / mVideoWidth; in onMeasure() 54 } else if ( mVideoWidth * height < width * mVideoHeight ) { in onMeasure() 55 width = height * mVideoWidth / mVideoHeight; in onMeasure() 91 private int mVideoWidth; field in HTML5VideoFullScreen 138 mVideoWidth = mp.getVideoWidth(); 140 if (mVideoWidth != 0 && mVideoHeight != 0) { 141 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeight); [all …]
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/ |
D | SoftMPEG4Encoder.cpp | 84 mVideoWidth(176), in SoftMPEG4Encoder() 129 mEncParams->encWidth[0] = mVideoWidth; in initEncParams() 154 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); in initEncParams() 159 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { in initEncParams() 161 mVideoWidth, mVideoHeight); in initEncParams() 235 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1; in initPorts() 259 def.format.video.nFrameWidth = mVideoWidth; in initPorts() 261 def.format.video.nStride = mVideoWidth; in initPorts() 290 def.format.video.nFrameWidth = mVideoWidth; in initPorts() 292 def.format.video.nStride = mVideoWidth; in initPorts() [all …]
|
D | SoftMPEG4Encoder.h | 70 int32_t mVideoWidth; member
|
/frameworks/av/media/libstagefright/codecs/avc/enc/ |
D | SoftAVCEncoder.cpp | 176 mVideoWidth(176), in SoftAVCEncoder() 261 (uint8_t *) malloc((mVideoWidth * mVideoHeight * 3 ) >> 1); in initEncParams() 266 if (mVideoWidth % 16 != 0 || mVideoHeight % 16 != 0) { in initEncParams() 268 mVideoWidth, mVideoHeight); in initEncParams() 272 mEncParams->width = mVideoWidth; in initEncParams() 278 int32_t nMacroBlocks = ((((mVideoWidth + 15) >> 4) << 4) * in initEncParams() 375 const size_t kInputBufferSize = (mVideoWidth * mVideoHeight * 3) >> 1; in initPorts() 397 def.format.video.nFrameWidth = mVideoWidth; in initPorts() 399 def.format.video.nStride = mVideoWidth; in initPorts() 420 def.format.video.nFrameWidth = mVideoWidth; in initPorts() [all …]
|
D | SoftAVCEncoder.h | 80 int32_t mVideoWidth; member
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaRecorderStressTestRunner.java | 41 public static int mVideoWidth = profile.videoFrameWidth; field in MediaRecorderStressTestRunner 87 mVideoWidth = Integer.parseInt(videoWidth); in onCreate()
|
/frameworks/av/media/libmediaplayerservice/ |
D | StagefrightRecorder.cpp | 191 mVideoWidth = width; in setVideoSize() 1081 if (mVideoWidth < minFrameWidth && minFrameWidth != -1) { in clipVideoFrameWidth() 1083 " and will be set to (%d)", mVideoWidth, minFrameWidth); in clipVideoFrameWidth() 1084 mVideoWidth = minFrameWidth; in clipVideoFrameWidth() 1085 } else if (mVideoWidth > maxFrameWidth && maxFrameWidth != -1) { in clipVideoFrameWidth() 1087 " and will be set to (%d)", mVideoWidth, maxFrameWidth); in clipVideoFrameWidth() 1088 mVideoWidth = maxFrameWidth; in clipVideoFrameWidth() 1150 videoFrameWidth == mVideoWidth && in setDefaultProfileIfNecessary() 1285 mSurfaceMediaSource = new SurfaceMediaSource(mVideoWidth, mVideoHeight); in setupSurfaceMediaSource() 1314 videoSize.width = mVideoWidth; in setupCameraSource() [all …]
|
D | StagefrightRecorder.h | 88 int32_t mVideoWidth, mVideoHeight; member
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 90 private int mVideoWidth = mCamcorderProfile.videoFrameWidth; field in MediaPlayerPerformance 418 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testH263RecordVideoOnlyMemoryUsage() 438 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testMpeg4RecordVideoOnlyMemoryUsage() 458 assertTrue(stressVideoRecord(frameRate, mVideoWidth, mVideoHeight, in testRecordVideoAudioMemoryUsage()
|
/frameworks/av/include/media/stagefright/ |
D | CameraSourceTimeLapse.h | 60 int32_t mVideoWidth;
|
/frameworks/av/media/libmedia/ |
D | mediaplayer.cpp | 58 mVideoWidth = mVideoHeight = 0; in MediaPlayer() 94 mVideoWidth = mVideoHeight = 0; in clear_l() 366 *w = mVideoWidth; in getVideoWidth() 753 mVideoWidth = ext1; in notify()
|
/frameworks/av/include/media/ |
D | mediaplayer.h | 263 int mVideoWidth; variable
|
/frameworks/av/libvideoeditor/lvpp/ |
D | PreviewPlayer.cpp | 256 mVideoSource = DummyVideoSource::Create(mVideoWidth, mVideoHeight, in setDataSource_l_jpg() 328 mVideoWidth = mVideoHeight = -1; in reset_l() 690 if (mVideoWidth < 0 || mVideoHeight < 0) { in getVideoDimensions() 694 *width = mVideoWidth; in getVideoDimensions() 1458 mVideoWidth = width; in setImageClipProperties()
|
D | PreviewPlayer.h | 198 int32_t mVideoWidth, mVideoHeight; member
|
/frameworks/av/media/libstagefright/ |
D | CameraSourceTimeLapse.cpp | 81 mVideoWidth = videoSize.width; in CameraSourceTimeLapse()
|
D | AwesomePlayer.cpp | 578 mStats.mVideoWidth = -1; in reset_l() 1054 mStats.mVideoWidth = usableWidth; in notifyVideoSize_l() 2626 mStats.mVideoWidth, in dump()
|
/frameworks/av/media/libstagefright/include/ |
D | AwesomePlayer.h | 324 int32_t mVideoWidth; member
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
D | MediaRecorderStressTest.java | 195 videoWidth = MediaRecorderStressTestRunner.mVideoWidth; in recordVideoAndPlayback()
|