Home
last modified time | relevance | path

Searched refs:image_channels (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/lite/examples/label_image/
Dbitmap_helpers_impl.h31 int image_channels, int wanted_height, int wanted_width, in resize() argument
33 int number_of_pixels = image_height * image_width * image_channels; in resize()
50 {1, image_height, image_width, image_channels}, quant); in resize()
Dlabel_image.cc251 int image_channels = 3; in RunInference() local
253 &image_height, &image_channels, settings); in RunInference()
296 image_height, image_width, image_channels, wanted_height, in RunInference()
301 image_height, image_width, image_channels, wanted_height, in RunInference()
306 image_height, image_width, image_channels, wanted_height, in RunInference()
Dbitmap_helpers.h32 int image_channels, int wanted_height, int wanted_width,
/external/tensorflow/tensorflow/lite/examples/ios/simple/
DRunModelViewController.mm150 int image_channels;
152 LoadImageFromFile([image_path UTF8String], &image_width, &image_height, &image_channels);
158 assert(image_channels >= wanted_channels);
163 uint8_t* in_row = in + (in_y * image_width * image_channels);
167 uint8_t* in_pixel = in_row + (in_x * image_channels);
/external/tensorflow/tensorflow/lite/examples/ios/camera/
DCameraExampleViewController.mm123 uint8_t* input, float* buffer, int image_width, int image_height, int image_channels) {
130 input + (in_y * image_width * image_channels) + (in_x * image_channels);
141 uint8_t* input, uint8_t* output, int image_width, int image_height, int image_channels) {
147 uint8_t* in_pixel = input + (in_y * image_width * image_channels) + (in_x * image_channels);
305 const int image_channels = 4;
306 assert(image_channels >= wanted_input_channels);
327 ProcessInputWithQuantizedModel(in, out, image_width, image_height, image_channels);
330 ProcessInputWithFloatModel(in, out, image_width, image_height, image_channels);
/external/libpng/contrib/gregbook/
Drpng-win.c153 static int image_channels; variable
430 image_data = readpng_get_image(display_exponent, &image_channels, in WinMain()
595 image_channels)) in rpng_win_display_image()
609 if (image_channels == 3) { in rpng_win_display_image()
Drpng-x.c137 static int image_channels; variable
383 image_data = readpng_get_image(display_exponent, &image_channels, in main()
705 image_channels)) in rpng_x_display_image()
718 if (image_channels == 3) { in rpng_x_display_image()
792 if (image_channels == 3) { in rpng_x_display_image()