Searched refs:mVideoWidth (Results 1 - 18 of 18) sorted by relevance

/frameworks/base/core/java/android/webkit/
H A DHTML5VideoFullScreen.java49 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
51 if (mVideoWidth > 0 && mVideoHeight > 0) {
52 if ( mVideoWidth * height > width * mVideoHeight ) {
53 height = width * mVideoHeight / mVideoWidth;
54 } else if ( mVideoWidth * height < width * mVideoHeight ) {
55 width = height * mVideoWidth / mVideoHeight;
91 private int mVideoWidth; field in class:HTML5VideoFullScreen
138 mVideoWidth = mp.getVideoWidth();
140 if (mVideoWidth != 0 && mVideoHeight != 0) {
141 mVideoSurfaceView.getHolder().setFixedSize(mVideoWidth, mVideoHeigh
[all...]
/frameworks/base/core/java/android/widget/
H A DVideoView.java79 private int mVideoWidth; field in class:VideoView
112 int width = getDefaultSize(mVideoWidth, widthMeasureSpec);
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);
173 mVideoWidth = 0;
283 mVideoWidth
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp84 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 DSoftMPEG4Encoder.h70 int32_t mVideoWidth; member in struct:android::SoftMPEG4Encoder
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaRecorderStressTestRunner.java43 public static int mVideoWidth = profile.videoFrameWidth; field in class:MediaRecorderStressTestRunner
89 mVideoWidth = Integer.parseInt(video_width);
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp176 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 DSoftAVCEncoder.h80 int32_t mVideoWidth; member in struct:android::SoftAVCEncoder
/frameworks/av/include/media/stagefright/
H A DCameraSourceTimeLapse.h57 int32_t mVideoWidth; member in class:android::CameraSourceTimeLapse
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp190 mVideoWidth = width;
1072 if (mVideoWidth < minFrameWidth && minFrameWidth != -1) {
1074 " and will be set to (%d)", mVideoWidth, minFrameWidth);
1075 mVideoWidth = minFrameWidth;
1076 } else if (mVideoWidth > maxFrameWidth && maxFrameWidth != -1) {
1078 " and will be set to (%d)", mVideoWidth, maxFrameWidth);
1079 mVideoWidth = maxFrameWidth;
1141 videoFrameWidth == mVideoWidth &&
1276 mSurfaceMediaSource = new SurfaceMediaSource(mVideoWidth, mVideoHeight);
1305 videoSize.width = mVideoWidth;
[all...]
H A DStagefrightRecorder.h85 int32_t mVideoWidth, mVideoHeight; member in struct:android::StagefrightRecorder
/frameworks/av/include/media/
H A Dmediaplayer.h261 int mVideoWidth; member in class:android::MediaPlayer
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp59 mVideoWidth = mVideoHeight = 0;
96 mVideoWidth = mVideoHeight = 0;
368 *w = mVideoWidth;
734 mVideoWidth = ext1;
/frameworks/av/libvideoeditor/lvpp/
H A DPreviewPlayer.h198 int32_t mVideoWidth, mVideoHeight; member in struct:android::PreviewPlayer
H A DPreviewPlayer.cpp256 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 DCameraSourceTimeLapse.cpp75 mVideoWidth = videoSize.width;
H A DAwesomePlayer.cpp578 mStats.mVideoWidth = -1;
1054 mStats.mVideoWidth = usableWidth;
2625 mStats.mVideoWidth,
/frameworks/av/media/libstagefright/include/
H A DAwesomePlayer.h324 int32_t mVideoWidth; member in struct:android::AwesomePlayer::Stats
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java328 int video_width = MediaRecorderStressTestRunner.mVideoWidth;

Completed in 1691 milliseconds