Home
last modified time | relevance | path

Searched refs:pcal_params (Results 1 – 10 of 10) sorted by relevance

/external/qemu/distrib/libpng-1.2.19/
Dpng.c426 if (info_ptr->pcal_params != NULL) in png_free_data()
431 png_free(png_ptr, info_ptr->pcal_params[i]); in png_free_data()
432 info_ptr->pcal_params[i]=NULL; in png_free_data()
434 png_free(png_ptr, info_ptr->pcal_params); in png_free_data()
435 info_ptr->pcal_params = NULL; in png_free_data()
Dpngset.c422 info_ptr->pcal_params = (png_charpp)png_malloc_warn(png_ptr, in png_set_pCAL()
424 if (info_ptr->pcal_params == NULL) in png_set_pCAL()
430 info_ptr->pcal_params[nparams] = NULL; in png_set_pCAL()
436 info_ptr->pcal_params[i] = (png_charp)png_malloc_warn(png_ptr, length); in png_set_pCAL()
437 if (info_ptr->pcal_params[i] == NULL) in png_set_pCAL()
442 png_memcpy(info_ptr->pcal_params[i], params[i], (png_size_t)length); in png_set_pCAL()
Dpngget.c619 *params = info_ptr->pcal_params; in png_get_pCAL()
Dpngwrite.c178 info_ptr->pcal_units, info_ptr->pcal_params); in png_write_info()
Dpng.h861 png_charpp pcal_params; /* ASCII strings containing parameter values */ member
/external/libpng/
Dpng.c441 if (info_ptr->pcal_params != NULL) in png_free_data()
446 png_free(png_ptr, info_ptr->pcal_params[i]); in png_free_data()
447 info_ptr->pcal_params[i] = NULL; in png_free_data()
449 png_free(png_ptr, info_ptr->pcal_params); in png_free_data()
450 info_ptr->pcal_params = NULL; in png_free_data()
Dpngset.c330 info_ptr->pcal_params = (png_charpp)png_malloc_warn(png_ptr, in png_set_pCAL()
332 if (info_ptr->pcal_params == NULL) in png_set_pCAL()
338 png_memset(info_ptr->pcal_params, 0, (nparams + 1) * png_sizeof(png_charp)); in png_set_pCAL()
345 info_ptr->pcal_params[i] = (png_charp)png_malloc_warn(png_ptr, length); in png_set_pCAL()
346 if (info_ptr->pcal_params[i] == NULL) in png_set_pCAL()
351 png_memcpy(info_ptr->pcal_params[i], params[i], (png_size_t)length); in png_set_pCAL()
Dpngget.c652 *params = info_ptr->pcal_params; in png_get_pCAL()
Dpngwrite.c188 info_ptr->pcal_units, info_ptr->pcal_params); in png_write_info()
Dpng.h1024 png_charpp pcal_params PNG_DEPSTRUCT; /* ASCII strings containing parameter values */