Lines Matching refs:NULL
51 mpRowPointers = NULL; in png_reader()
78 NULL, NULL, NULL); in CheckImageHasAlphaChannel()
91 png_destroy_read_struct(&png_ptr, NULL, NULL); in CheckImageHasAlphaChannel()
102 if (png_get_IHDR(png_ptr, info, NULL, NULL, NULL, &color_type, NULL, NULL, NULL) == 0) in CheckImageHasAlphaChannel()
107 if (png_get_tRNS(png_ptr, info, NULL, &num_trans, NULL) == 0) in CheckImageHasAlphaChannel()
132 png_destroy_read_struct(&png_ptr, &info, NULL); in CheckImageHasAlphaChannel()
157 NULL, NULL, NULL); in ReadImage()
170 png_destroy_read_struct(&m_png, NULL, NULL); in ReadImage()
176 png_read_png(m_png, m_info, PNG_TRANSFORM_IDENTITY, NULL); in ReadImage()
182 if (png_get_IHDR(m_png, m_info, &width, &height, NULL, NULL, NULL, NULL, NULL) != 0) in ReadImage()
192 png_destroy_read_struct(&m_png, &m_info, NULL); in ReadImage()
199 png_destroy_read_struct(&m_png, &m_info, NULL); in ReadImage()
209 input_stream->Read(signature, 8, NULL); in ReadImage()
217 NULL, NULL, NULL); in ReadImage()
228 png_destroy_read_struct(&m_png, NULL, NULL); in ReadImage()
236 png_read_png(m_png, m_info, PNG_TRANSFORM_IDENTITY, NULL); in ReadImage()
242 if (png_get_IHDR(m_png, m_info, &width, &height, NULL, NULL, NULL, NULL, NULL) != 0) in ReadImage()
252 png_destroy_read_struct(&m_png, &m_info, NULL); in ReadImage()
258 png_destroy_read_struct(&m_png, &m_info, NULL); in ReadImage()
277 return NULL; in GetInputDataPtr()
296 if (png_get_tRNS(png_instance, png_info_ptr, NULL, &num_trans, &trans_color) == 0) in ReadPixel48()
299 trans_color = NULL; in ReadPixel48()
341 palette = NULL; in ReadPixel1()
347 trans_alpha = NULL; in ReadPixel1()
349 trans_color = NULL; in ReadPixel1()
410 palette = NULL; in ReadPixel2()
416 trans_alpha = NULL; in ReadPixel2()
418 trans_color = NULL; in ReadPixel2()
477 palette = NULL; in ReadPixel4()
483 trans_alpha = NULL; in ReadPixel4()
485 trans_color = NULL; in ReadPixel4()
542 …if (png_get_IHDR(png_instance, png_info_ptr, NULL, NULL, NULL, &color_type, NULL, NULL, NULL) == 0) in ReadPixel8()
550 palette = NULL; in ReadPixel8()
556 trans_alpha = NULL; in ReadPixel8()
558 trans_color = NULL; in ReadPixel8()
631 if (png_get_tRNS(png_instance, png_info_ptr, NULL, &num_trans, &trans_color) == 0) in ReadPixel24()
633 trans_color = NULL; in ReadPixel24()
701 if (png_get_tRNS(png_instance, png_info_ptr, NULL, &num_trans, &trans_color) == 0) in ReadPixel16To8()
704 trans_color = NULL; in ReadPixel16To8()
749 if (png_get_IHDR(m_png, m_info, NULL, NULL, &bit_depth, &color_type, NULL, NULL, NULL) == 0) in ConfigureInternalFormat()
755 if (png_get_tRNS(m_png, m_info, NULL, &num_trans, NULL) == 0) in ConfigureInternalFormat()