| Index: media/base/android/java/src/org/chromium/media/VideoCaptureFormat.java
|
| diff --git a/media/base/android/java/src/org/chromium/media/VideoCaptureFormat.java b/media/base/android/java/src/org/chromium/media/VideoCaptureFormat.java
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6eb3f78bd4dfb9f61b097fefebf853963c3abd81
|
| --- /dev/null
|
| +++ b/media/base/android/java/src/org/chromium/media/VideoCaptureFormat.java
|
| @@ -0,0 +1,36 @@
|
| +// Copyright 2015 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +package org.chromium.media;
|
| +
|
| +class VideoCaptureFormat {
|
| + int mWidth;
|
| + int mHeight;
|
| + final int mFramerate;
|
| + final int mPixelFormat;
|
| +
|
| + public VideoCaptureFormat(
|
| + int width, int height, int framerate, int pixelformat) {
|
| + mWidth = width;
|
| + mHeight = height;
|
| + mFramerate = framerate;
|
| + mPixelFormat = pixelformat;
|
| + }
|
| +
|
| + public int getWidth() {
|
| + return mWidth;
|
| + }
|
| +
|
| + public int getHeight() {
|
| + return mHeight;
|
| + }
|
| +
|
| + public int getFramerate() {
|
| + return mFramerate;
|
| + }
|
| +
|
| + public int getPixelFormat() {
|
| + return mPixelFormat;
|
| + }
|
| +}
|
|
|