Lines Matching refs:yStride

55     uint32_t yStride = (width + (align - 1)) & ~(align-1);  in get_yv12_offsets()  local
56 uint32_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in get_yv12_offsets()
58 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yv12_offsets()
60 if (yStride_out) *yStride_out = yStride; in get_yv12_offsets()
70 uint32_t yStride = (width + (align - 1)) & ~(align-1); in get_yuv420p_offsets() local
71 uint32_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in get_yuv420p_offsets()
73 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yuv420p_offsets()
75 if (yStride_out) *yStride_out = yStride; in get_yuv420p_offsets()
94 int yStride = (width + (align -1)) & ~(align-1); in rgb565_to_yv12() local
95 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in rgb565_to_yv12()
100 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in rgb565_to_yv12()
103 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb565_to_yv12()
135 int yStride = (width + (align -1)) & ~(align-1); in rgb888_to_yv12() local
136 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in rgb888_to_yv12()
142 uint8_t *yv12_u0 = yv12_y0 + yStride * height + cSize; in rgb888_to_yv12()
143 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in rgb888_to_yv12()
161 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb888_to_yv12()
190 fwrite(yv12_y0, yStride * height + 2 * cSize, 1, yuvfp); in rgb888_to_yv12()
202 int yStride = width; in rgb888_to_yuv420p() local
203 int cStride = yStride / 2; in rgb888_to_yuv420p()
208 uint8_t *yv12_u0 = yv12_y0 + yStride * height; in rgb888_to_yuv420p()
211 uint8_t *yv12_y = yv12_y0 + j * yStride; in rgb888_to_yuv420p()
240 int yStride = (width + (align -1)) & ~(align-1); in yv12_to_rgb565() local
241 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in yv12_to_rgb565()
246 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in yv12_to_rgb565()
249 uint8_t *yv12_y = yv12_y0 + j * yStride; in yv12_to_rgb565()
285 int yStride = (width + (align -1)) & ~(align-1); in yv12_to_rgb888() local
286 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in yv12_to_rgb888()
291 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in yv12_to_rgb888()
294 uint8_t *yv12_y = yv12_y0 + j * yStride; in yv12_to_rgb888()
324 int yStride = width; in yuv420p_to_rgb888() local
325 int cStride = yStride / 2; in yuv420p_to_rgb888()
330 uint8_t *yv12_u0 = yv12_y0 + yStride * height; in yuv420p_to_rgb888()
333 uint8_t *yv12_y = yv12_y0 + j * yStride; in yuv420p_to_rgb888()