Home
last modified time | relevance | path

Searched refs:y_stride (Results 1 – 2 of 2) sorted by relevance

/pdk/apps/TestingCamera/src/com/android/testingcamera/
Dcallback.rscript13 uint32_t y_stride;
59 y_stride = yuv_width;
61 v_start = y_stride * yuv_height;
66 y_stride = (yuv_width + 0xF) & ~0xF;
67 uv_stride = (y_stride / 2 + 0xF) & ~0xF;
68 v_start = y_stride * yuv_height;
72 y_stride = yuv_width * 2;
73 uv_stride = y_stride;
80 y_stride = yuv_width;
102 out.r = yuv_in[y_stride * y_scaled + x_scaled];
[all …]
DTestingCamera.java1811 int y_stride = (int) (Math.ceil( width / 16.) * 16); in getCallbackBufferSize() local
1812 int y_size = y_stride * height; in getCallbackBufferSize()
1813 int c_stride = (int) (Math.ceil(y_stride / 32.) * 16); in getCallbackBufferSize()