/third_party/skia/third_party/externals/libpng/contrib/gregbook/ |
D | readppm.c | 69 uch *image_data = NULL; variable 165 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 171 if (fread(image_data, 1L, rowbytes*height, saved_infile) < in readpng_get_image() 173 free (image_data); in readpng_get_image() 174 image_data = NULL; in readpng_get_image() 178 return image_data; in readpng_get_image() 184 if (free_image_data && image_data) { 185 free(image_data); 186 image_data = NULL;
|
D | readpng.c | 74 uch *image_data = NULL; variable 219 free(image_data); in readpng_get_image() 220 image_data = NULL; in readpng_get_image() 273 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image() 279 free(image_data); in readpng_get_image() 280 image_data = NULL; in readpng_get_image() 291 row_pointers[i] = image_data + i*rowbytes; in readpng_get_image() 307 return image_data; in readpng_get_image() 313 if (free_image_data && image_data) { 314 free(image_data); [all …]
|
D | wpng.c | 180 wpng_info.image_data = NULL; in main() 719 wpng_info.image_data = (uch *)malloc(image_bytes); in main() 721 if (wpng_info.image_data == NULL || wpng_info.row_pointers == NULL) { in main() 728 wpng_info.row_pointers[i] = wpng_info.image_data + i*rowbytes; in main() 729 bytes = fread(wpng_info.image_data, 1, image_bytes, wpng_info.infile); in main() 747 wpng_info.image_data = (uch *)malloc(rowbytes); in main() 748 if (wpng_info.image_data == NULL) { in main() 756 bytes = fread(wpng_info.image_data, 1, rowbytes, wpng_info.infile); in main() 831 if (wpng_info.image_data) { 832 free(wpng_info.image_data); [all …]
|
D | rpng-win.c | 154 static uch *image_data; variable 430 image_data = readpng_get_image(display_exponent, &image_channels, in WinMain() 441 if (!image_data) { in WinMain() 451 free(image_data); in WinMain() 607 src = image_data + row*image_rowbytes; in rpng_win_display_image() 680 if (image_data) { in rpng_win_cleanup() 681 free(image_data); in rpng_win_cleanup() 682 image_data = NULL; in rpng_win_cleanup()
|
D | rpng-x.c | 138 static uch *image_data; variable 383 image_data = readpng_get_image(display_exponent, &image_channels, in main() 394 if (!image_data) { in main() 404 free(image_data); in main() 716 src = image_data + row*image_rowbytes; in rpng_x_display_image() 790 src = image_data + row*image_rowbytes; in rpng_x_display_image() 870 if (image_data) { in rpng_x_cleanup() 871 free(image_data); in rpng_x_cleanup() 872 image_data = NULL; in rpng_x_cleanup()
|
D | rpng2-win.c | 659 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_win_init() 660 if (!rpng2_info.image_data) { in rpng2_win_init() 667 free(rpng2_info.image_data); in rpng2_win_init() 668 rpng2_info.image_data = NULL; in rpng2_win_init() 674 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_win_init() 1106 src = rpng2_info.image_data + row*rpng2_info.rowbytes; 1204 if (rpng2_info.image_data) { 1205 free(rpng2_info.image_data); 1206 rpng2_info.image_data = NULL;
|
D | readpng2.h | 91 uch *image_data; member
|
D | rpng2-x.c | 792 rpng2_info.image_data = (uch *)malloc(rowbytes * rpng2_info.height); in rpng2_x_init() 793 if (!rpng2_info.image_data) { in rpng2_x_init() 800 free(rpng2_info.image_data); in rpng2_x_init() 801 rpng2_info.image_data = NULL; in rpng2_x_init() 807 rpng2_info.row_pointers[i] = rpng2_info.image_data + i*rowbytes; in rpng2_x_init() 1435 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_x_display_row() 1656 src = rpng2_info.image_data + row*rpng2_info.rowbytes; in rpng2_x_redisplay_image() 2097 if (rpng2_info.image_data) { in rpng2_x_cleanup() 2098 free(rpng2_info.image_data); in rpng2_x_cleanup() 2099 rpng2_info.image_data = NULL; in rpng2_x_cleanup()
|
D | writepng.h | 99 uch *image_data; member
|
D | writepng.c | 316 png_write_row(png_ptr, mainprog_ptr->image_data); in writepng_encode_row()
|
/third_party/astc-encoder/Utils/Example/ |
D | astc_api_example.cpp | 68 uint8_t *image_data = (uint8_t*)stbi_load(argv[1], &image_x, &image_y, &image_c, 4); in main() local 69 if (!image_data) in main() 114 uint8_t* slices = image_data; in main() 151 stbi_write_png(argv[2], image_x, image_y, 4, image_data, 4 * image_x); in main() 155 stbi_image_free(image_data); in main()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/ |
D | gstid3tag.c | 360 gst_tag_list_add_id3_image (GstTagList * tag_list, const guint8 * image_data, in gst_tag_list_add_id3_image() argument 368 g_return_val_if_fail (image_data != NULL, FALSE); in gst_tag_list_add_id3_image() 387 image = gst_tag_image_data_to_image_sample (image_data, image_data_len, in gst_tag_list_add_id3_image()
|
D | tag.h | 529 const guint8 * image_data, 586 GstSample * gst_tag_image_data_to_image_sample (const guint8 * image_data,
|
D | tags.c | 522 gst_tag_image_data_to_image_sample (const guint8 * image_data, in gst_tag_image_data_to_image_sample() argument 532 g_return_val_if_fail (image_data != NULL, NULL); in gst_tag_image_data_to_image_sample() 549 memcpy (info.data, image_data, image_data_len); in gst_tag_image_data_to_image_sample()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jcprepct.c | 109 expand_bottom_edge(JSAMPARRAY image_data, JDIMENSION num_cols, int input_rows, in expand_bottom_edge() argument 115 jcopy_sample_rows(image_data, input_rows - 1, image_data, row, 1, in expand_bottom_edge()
|
D | jcsample.c | 94 expand_right_edge(JSAMPARRAY image_data, int num_rows, JDIMENSION input_cols, in expand_right_edge() argument 105 ptr = image_data[row] + input_cols; in expand_right_edge()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_cube_map_array/ |
D | esextcTextureCubeMapArraySamplingResources.hpp | 35 const glw::GLubyte* const image_data; member
|
D | esextcTextureCubeMapArraySampling.cpp | 441 out_image_data = image.image_data; in getCompressedTexture() 3385 const glw::GLubyte* image_data = 0; in prepareCompresedTexture() local 3388 …tCompressedTexture(resolution.m_width, resolution.m_height, array_length, mipmap_level, image_data, in prepareCompresedTexture() 3391 if (0 == image_data) in prepareCompresedTexture() 3400 format.m_source.m_internal_format, image_size, image_data); in prepareCompresedTexture() 3415 const glw::GLubyte* image_data = 0; in prepareCompresedTexture() local 3418 …tCompressedTexture(resolution.m_width, resolution.m_height, array_length, mipmap_level, image_data, in prepareCompresedTexture() 3421 if (0 == image_data) in prepareCompresedTexture() 3428 image_data); in prepareCompresedTexture()
|
/third_party/skia/third_party/externals/libwebp/tests/fuzzer/ |
D | fuzz_utils.h | 161 const uint8_t* const image_data = kImagesData[image_index]; in ExtractSourcePicture() local 167 return WebPPictureImportRGBA(pic, image_data, pic->argb_stride); in ExtractSourcePicture()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_removelogo.c | 390 uint8_t *image_data, int image_linesize, in blur_pixel() argument 411 image_read_position = image_data + image_linesize * start_posy + start_posx; in blur_pixel()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
D | gl4cGPUShaderFP64Tests.cpp | 4532 std::vector<glw::GLint> image_data; in verifyResults() local 4533 image_data.resize(m_texture_width * m_texture_height); in verifyResults() 4539 gl.getTexImage(GL_TEXTURE_2D, 0 /* level */, GL_RED_INTEGER, GL_INT, &image_data[0]); in verifyResults() 4547 const glw::GLint value = image_data[offset]; in verifyResults() 5434 std::vector<glw::GLint> image_data; in verifyResults() local 5435 image_data.resize(1); in verifyResults() 5441 gl.getTexImage(GL_TEXTURE_2D, 0 /* level */, GL_RED_INTEGER, GL_INT, &image_data[0]); in verifyResults() 5449 fragment_shader_result = (m_result_success == image_data[0]); in verifyResults()
|
/third_party/astc-encoder/Source/ |
D | stb_image.h | 4799 static int stbi__create_png_image(stbi__png *a, stbi_uc *image_data, stbi__uint32 image_data_len, i… in stbi__create_png_image() argument 4806 …return stbi__create_png_image_raw(a, image_data, image_data_len, out_n, a->s->img_x, a->s->img_y, … in stbi__create_png_image() 4822 … if (!stbi__create_png_image_raw(a, image_data, image_data_len, out_n, x, y, depth, color)) { in stbi__create_png_image() 4835 image_data += img_len; in stbi__create_png_image()
|
/third_party/skia/third_party/externals/libpng/ |
D | libpng-manual.txt | 1209 png_error(png_ptr,"image_data buffer would be too large"); 2190 png_error(png_ptr,"image_data buffer would be too large");
|
/third_party/chromium/patch/ |
D | 0004-ohos-3.2-Beta5.patch | 8203 std::vector<uint8_t> image_data;
|
D | 0003-ohos-1115.patch | 24739 + std::vector<uint8_t> image_data;
|