OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:strides
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/graphics/java/android/graphics/
YuvImage.java
73
* @param
strides
(Optional) Row bytes of each image plane. If yuv contains padding, the stride
74
* of each image must be provided. If
strides
is null, the method assumes no
79
public YuvImage(byte[] yuv, int format, int width, int height, int[]
strides
) {
96
if (
strides
== null) {
99
mStrides =
strides
;
200
int[]
strides
= null;
local
202
strides
= new int[] {width, width};
203
return
strides
;
207
strides
= new int[] {width * 2};
208
return
strides
;
[
all
...]
/cts/tests/tests/graphics/src/android/graphics/cts/
YuvImageTest.java
118
// normal case: test that default
strides
are returned correctly
131
assertTrue("default
strides
not calculated correctly",
218
//
strides
of YuvImage are calculated by adding paddings to bitmap.getWidth().
230
int[]
strides
= null;
local
232
strides
= new int[] {stride, stride};
234
strides
= new int[] {stride * 2};
236
image = new YuvImage(yuv, format, width, height,
strides
);
/prebuilt/sdk/8/
android.jar
Completed in 47 milliseconds