Searched refs:bmp_pixels (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | hexagon_graph_execution_test.cc | 146 uint8* const bmp_pixels = &img_bytes[header_size]; in LoadImage() local 159 (static_cast<float>(bmp_pixels[src_pos + 2]) - 128.0f) / 128.0f; in LoadImage() 161 (static_cast<float>(bmp_pixels[src_pos + 1]) - 128.0f) / 128.0f; in LoadImage() 163 (static_cast<float>(bmp_pixels[src_pos]) - 128.0f) / 128.0f; in LoadImage() 167 << ") (" << static_cast<int>(bmp_pixels[src_pos + 2]) << ", " in LoadImage() 168 << static_cast<int>(bmp_pixels[src_pos + 1]) << ", " in LoadImage() 169 << static_cast<int>(bmp_pixels[src_pos]) << ")"; in LoadImage()
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | bitmap_helpers.cc | 114 const uint8_t* bmp_pixels = &img_bytes[header_size]; in read_bmp() local 115 return decode_bmp(bmp_pixels, row_size, *width, abs(*height), *channels, in read_bmp()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | decode_image_op.cc | 625 const uint8* bmp_pixels = &img_bytes[header_size]; in DecodeBmpV2() local 628 DecodeBMP(bmp_pixels, row_size, output->flat<uint8>().data(), width, in DecodeBmpV2() 633 DecodeBMP(bmp_pixels, row_size, buffer.get(), width, abs_height, in DecodeBmpV2()
|