Home
last modified time | relevance | path

Searched refs:pngControl (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/evs/apps/default/src/
DTexWrapper.cpp76 png_structp pngControl = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); in createTextureFromPng() local
77 if (!pngControl) { in createTextureFromPng()
84 png_infop pngInfo = png_create_info_struct(pngControl); in createTextureFromPng()
87 png_destroy_read_struct(&pngControl, nullptr, nullptr); in createTextureFromPng()
93 if (setjmp(png_jmpbuf(pngControl))) { in createTextureFromPng()
95 png_destroy_read_struct(&pngControl, &pngInfo, nullptr); in createTextureFromPng()
101 png_init_io(pngControl, inputFile); in createTextureFromPng()
102 png_set_sig_bytes(pngControl, kSigSize); in createTextureFromPng()
103 png_read_info(pngControl, pngInfo); in createTextureFromPng()
110 png_get_IHDR(pngControl, pngInfo, &width, &height, &bitDepth, &colorFormat, NULL, NULL, NULL); in createTextureFromPng()
[all …]
/packages/services/Car/cpp/evs/support_library/
DTexWrapper.cpp80 png_structp pngControl = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); in createTextureFromPng() local
81 if (!pngControl) { in createTextureFromPng()
88 png_infop pngInfo = png_create_info_struct(pngControl); in createTextureFromPng()
91 png_destroy_read_struct(&pngControl, nullptr, nullptr); in createTextureFromPng()
97 if (setjmp(png_jmpbuf(pngControl))) { in createTextureFromPng()
99 png_destroy_read_struct(&pngControl, &pngInfo, nullptr); in createTextureFromPng()
105 png_init_io(pngControl, inputFile); in createTextureFromPng()
106 png_set_sig_bytes(pngControl, kSigSize); in createTextureFromPng()
107 png_read_info(pngControl, pngInfo); in createTextureFromPng()
114 png_get_IHDR(pngControl, pngInfo, &width, &height, &bitDepth, &colorFormat, NULL, NULL, NULL); in createTextureFromPng()
[all …]