public class Size
extends java.lang.Object
implements android.os.Parcelable
| 限定符和类型 | 字段和说明 |
|---|---|
static android.os.Parcelable.Creator<Size> |
CREATOR |
float[] |
fps |
int |
frame_type
native側のraw_frame_tの値, androusb用,
libuvcは対応していない
|
int |
frameIntervalIndex |
int |
frameIntervalType |
int |
height |
int |
index |
int[] |
intervals |
int |
type
native側のuvc_raw_format_tの値, こっちは主にlibuvc用
9999 is still image
|
int |
width |
| 构造器和说明 |
|---|
Size(int _type,
int _frame_type,
int _index,
int _width,
int _height)
コンストラクタ
|
Size(int _type,
int _frame_type,
int _index,
int _width,
int _height,
int[] _intervals)
コンストラクタ
|
Size(int _type,
int _frame_type,
int _index,
int _width,
int _height,
int _min_intervals,
int _max_intervals,
int _step)
コンストラクタ
|
Size(Size other)
コピーコンストラクタ
|
| 限定符和类型 | 方法和说明 |
|---|---|
int |
describeContents() |
float |
getCurrentFrameRate() |
Size |
set(Size other) |
void |
setCurrentFrameRate(float frameRate) |
java.lang.String |
toString() |
void |
updateFrameRate() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public int type
public int frame_type
public int index
public int width
public int height
public int frameIntervalType
public int frameIntervalIndex
public int[] intervals
public float[] fps
public static final android.os.Parcelable.Creator<Size> CREATOR
public Size(int _type,
int _frame_type,
int _index,
int _width,
int _height)
_type - native側のraw_format_tの値, ただし9999は静止画_frame_type - native側のraw_frame_tの値_index - _width - _height - public Size(int _type,
int _frame_type,
int _index,
int _width,
int _height,
int _min_intervals,
int _max_intervals,
int _step)
_type - native側のraw_format_tの値, ただし9999は静止画_frame_type - native側のraw_frame_tの値_index - _width - _height - _min_intervals - _max_intervals - public Size(int _type,
int _frame_type,
int _index,
int _width,
int _height,
int[] _intervals)
_type - native側のraw_format_tの値, ただし9999は静止画_frame_type - native側のraw_frame_tの値_index - _width - _height - _intervals - public Size(Size other)
other - public float getCurrentFrameRate()
throws java.lang.IllegalStateException
java.lang.IllegalStateExceptionpublic void setCurrentFrameRate(float frameRate)
public int describeContents()
describeContents 在接口中 android.os.Parcelablepublic void writeToParcel(android.os.Parcel dest,
int flags)
writeToParcel 在接口中 android.os.Parcelablepublic void updateFrameRate()
public java.lang.String toString()
toString 在类中 java.lang.Object