/external/tflite-support/tensorflow_lite_support/examples/task/vision/desktop/utils/ |
D | image_utils.cc | 42 image_data.pixel_data = stbi_load(file_name.c_str(), &image_data.width, in DecodeImageFromFile() 45 if (image_data.pixel_data == nullptr) { in DecodeImageFromFile() 51 stbi_image_free(image_data.pixel_data); in DecodeImageFromFile() 75 if (image_data.pixel_data == nullptr) { in EncodeImageToPngFile() 82 image_data.channels, image_data.pixel_data, in EncodeImageToPngFile() 90 void ImageDataFree(ImageData* image) { stbi_image_free(image->pixel_data); } in ImageDataFree()
|
D | image_utils.h | 33 uint8* pixel_data; member
|
/external/tflite-support/tensorflow_lite_support/examples/task/vision/desktop/ |
D | image_segmenter_demo.cc | 75 uint8* pixel_data = static_cast<uint8*>( in EncodeMaskToPngFile() local 77 ImageData mask = {.pixel_data = pixel_data, in EncodeMaskToPngFile() 86 pixel_data[3 * i] = colored_label.r(); in EncodeMaskToPngFile() 87 pixel_data[3 * i + 1] = colored_label.g(); in EncodeMaskToPngFile() 88 pixel_data[3 * i + 2] = colored_label.b(); in EncodeMaskToPngFile() 146 CreateFromRgbRawBuffer(image.pixel_data, {image.width, image.height}); in Segment() 149 CreateFromRgbaRawBuffer(image.pixel_data, {image.width, image.height}); in Segment()
|
D | object_detector_demo.cc | 132 image->pixel_data[pixel_index] = r; in EncodeResultToPngFile() 133 image->pixel_data[pixel_index + 1] = g; in EncodeResultToPngFile() 134 image->pixel_data[pixel_index + 2] = b; in EncodeResultToPngFile() 190 CreateFromRgbRawBuffer(image.pixel_data, {image.width, image.height}); in Detect() 193 CreateFromRgbaRawBuffer(image.pixel_data, {image.width, image.height}); in Detect()
|
D | image_classifier_demo.cc | 123 CreateFromRgbRawBuffer(image.pixel_data, {image.width, image.height}); in Classify() 126 CreateFromRgbaRawBuffer(image.pixel_data, {image.width, image.height}); in Classify()
|
/external/webrtc/modules/desktop_capture/ |
D | blank_detector_desktop_capturer_wrapper.cc | 119 uint8_t* pixel_data = frame.GetFrameDataAtPos(DesktopVector(x, y)); in IsBlankPixel() local 120 return RgbaColor(pixel_data) == blank_pixel_; in IsBlankPixel()
|
/external/deqp/external/openglcts/modules/gl/ |
D | gl4cStencilTexturingTests.cpp | 1055 GLubyte* pixel_data = &texture_data[0] + line_offset + pixel_offset; in prepareSourceTextureData() local 1061 memcpy(pixel_data, stencil_data, 1); in prepareSourceTextureData() 1062 memcpy(pixel_data + 1, depth_i_data, 3); in prepareSourceTextureData() 1065 memcpy(pixel_data, depth_f_data, 4); in prepareSourceTextureData() 1066 memcpy(pixel_data + 4, stencil_data, 1); in prepareSourceTextureData()
|
D | gl3cGPUShader5Tests.cpp | 512 const glw::GLuint pixel_data = result_image[i]; in verifyImage() local 514 if (color != pixel_data) in verifyImage() 524 const glw::GLuint pixel_data = result_image[i]; in verifyImage() local 526 if (color == pixel_data) in verifyImage()
|
D | gl4cCopyImageTests.cpp | 3131 GLubyte* pixel_data = ptr + j * pixel_size; in prepareDstPxls() local 3133 Utils::packPixel(internal_format, type, 1.0, 1.0, 1.0, 1.0, pixel_data); in prepareDstPxls() 3989 GLubyte* pixel_data = out_pixels + j * pixel_size; in prepareDstPxls() local 3991 Utils::packPixel(internal_format, type, 1.0, 1.0, 1.0, 1.0, pixel_data); in prepareDstPxls() 4040 GLubyte* pixel_data = line_data + pixel_offset; in prepareSrcPxls() local 4048 Utils::packPixel(internal_format, type, red, green, blue, alpha, pixel_data); in prepareSrcPxls()
|
/external/igt-gpu-tools/lib/ |
D | igt_edid.h | 156 struct detailed_pixel_timing pixel_data; member
|
D | igt_edid.c | 84 struct detailed_pixel_timing *pt = &dt->data.pixel_data; in detailed_timing_set_mode()
|
/external/swiftshader/tests/GLESUnitTests/ |
D | unittests.cpp | 983 GLuint pixel_data[4][4] = { in TEST_F() local 989 glBufferData(GL_PIXEL_UNPACK_BUFFER, sizeof(pixel_data), (void *)pixel_data, GL_STREAM_DRAW); in TEST_F() 1015 allEqual = allEqual && (color[i][j + 2] == pixel_data[i][j + 2]); in TEST_F()
|
/external/libabigail/tests/data/test-diff-filter/ |
D | test-PR27569-v1.abi | 42014 …<var-decl name="pixel_data" type-id="42c5f701" visibility="default" filepath="include/drm/drm_edid… 42773 …<var-decl name="pixel_data" type-id="42c5f701" visibility="default" filepath="include/drm/drm_edid…
|
D | test-PR27569-v0.abi | 41985 …<var-decl name="pixel_data" type-id="42c5f701" visibility="default" filepath="include/drm/drm_edid… 42744 …<var-decl name="pixel_data" type-id="42c5f701" visibility="default" filepath="include/drm/drm_edid…
|