• Home
  • Raw
  • Download

Lines Matching full:height

53 void get_yv12_offsets(int width, int height,  in get_yv12_offsets()  argument
60 uint32_t uvHeight = height / 2; in get_yv12_offsets()
61 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yv12_offsets()
68 void get_yuv420p_offsets(int width, int height, in get_yuv420p_offsets() argument
75 uint32_t uvHeight = height / 2; in get_yuv420p_offsets()
76 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yuv420p_offsets()
92 void rgb565_to_yv12(char* dest, char* src, int width, int height, in rgb565_to_yv12() argument
99 int cSize = cStride * height/2; in rgb565_to_yv12()
103 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in rgb565_to_yv12()
132 void rgb888_to_yv12(char* dest, char* src, int width, int height, in rgb888_to_yv12() argument
136 DD("%s convert %d by %d", __func__, width, height); in rgb888_to_yv12()
140 int cSize = cStride * height/2; in rgb888_to_yv12()
145 uint8_t *yv12_u0 = yv12_y0 + yStride * height + cSize; in rgb888_to_yv12()
146 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in rgb888_to_yv12()
150 snprintf(mybuf, sizeof(mybuf), "/sdcard/raw_%d_%d_rgb.ppm", width, height); in rgb888_to_yv12()
152 (void) fprintf(myfp, "P6\n%d %d\n255\n", width, height); in rgb888_to_yv12()
157 fwrite(rgb_ptr0, width * height * rgb_stride, 1, myfp); in rgb888_to_yv12()
190 snprintf(mybuf, sizeof(mybuf), "/sdcard/raw_%d_%d_yv12.yuv", width, height); in rgb888_to_yv12()
193 fwrite(yv12_y0, yStride * height + 2 * cSize, 1, yuvfp); in rgb888_to_yv12()
200 void rgb888_to_yuv420p(char* dest, char* src, int width, int height, in rgb888_to_yuv420p() argument
204 DD("%s convert %d by %d", __func__, width, height); in rgb888_to_yuv420p()
207 int cSize = cStride * height/2; in rgb888_to_yuv420p()
211 uint8_t *yv12_u0 = yv12_y0 + yStride * height; in rgb888_to_yuv420p()
237 void yv12_to_rgb565(char* dest, char* src, int width, int height, in yv12_to_rgb565() argument
241 DD("%s convert %d by %d", __func__, width, height); in yv12_to_rgb565()
245 int cSize = cStride * height/2; in yv12_to_rgb565()
249 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in yv12_to_rgb565()
282 void yv12_to_rgb888(char* dest, char* src, int width, int height, in yv12_to_rgb888() argument
286 DD("%s convert %d by %d", __func__, width, height); in yv12_to_rgb888()
290 int cSize = cStride * height/2; in yv12_to_rgb888()
294 uint8_t *yv12_v0 = yv12_y0 + yStride * height; in yv12_to_rgb888()
322 void yuv420p_to_rgb888(char* dest, char* src, int width, int height, in yuv420p_to_rgb888() argument
326 DD("%s convert %d by %d", __func__, width, height); in yuv420p_to_rgb888()
329 int cSize = cStride * height/2; in yuv420p_to_rgb888()
333 uint8_t *yv12_u0 = yv12_y0 + yStride * height; in yuv420p_to_rgb888()
367 int width, int height, int top, int left, in copy_rgb_buffer_from_unlocked() argument
372 for (int y = 0; y < height; y++) { in copy_rgb_buffer_from_unlocked()