/external/chromium_org/third_party/libpng/ |
pngset.c | 26 png_set_bKGD(png_structp png_ptr, png_infop info_ptr, png_color_16p background) 30 if (png_ptr == NULL || info_ptr == NULL) 33 png_memcpy(&(info_ptr->background), background, png_sizeof(png_color_16)); 34 info_ptr->valid |= PNG_INFO_bKGD; 41 png_set_cHRM(png_structp png_ptr, png_infop info_ptr, 47 if (png_ptr == NULL || info_ptr == NULL) 50 info_ptr->x_white = (float)white_x; 51 info_ptr->y_white = (float)white_y; 52 info_ptr->x_red = (float)red_x; 53 info_ptr->y_red = (float)red_y [all...] |
pngget.c | 21 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) 23 if (png_ptr != NULL && info_ptr != NULL) 24 return(info_ptr->valid & flag); 31 png_get_rowbytes(png_structp png_ptr, png_infop info_ptr) 33 if (png_ptr != NULL && info_ptr != NULL) 34 return(info_ptr->rowbytes); 42 png_get_rows(png_structp png_ptr, png_infop info_ptr) 44 if (png_ptr != NULL && info_ptr != NULL) 45 return(info_ptr->row_pointers); 55 png_get_image_width(png_structp png_ptr, png_infop info_ptr) [all...] |
pngwrite.c | 24 * you to supply a PNG_INFO_ flag, and check info_ptr->valid before writing 30 png_write_info_before_PLTE(png_structp png_ptr, png_infop info_ptr) 34 if (png_ptr == NULL || info_ptr == NULL) 49 png_write_IHDR(png_ptr, info_ptr->width, info_ptr->height, 50 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type, 51 info_ptr->filter_type, 53 info_ptr->interlace_type) 1043 png_infop info_ptr = NULL; local [all...] |
png.c | 251 png_infop info_ptr; local 259 info_ptr = (png_infop)png_create_struct_2(PNG_STRUCT_INFO, 262 info_ptr = (png_infop)png_create_struct(PNG_STRUCT_INFO); 264 if (info_ptr != NULL) 265 png_info_init_3(&info_ptr, png_sizeof(png_info)); 267 return (info_ptr); 278 png_infop info_ptr = NULL; local 286 info_ptr = *info_ptr_ptr; 288 if (info_ptr != NULL) 290 png_info_destroy(png_ptr, info_ptr); 319 png_infop info_ptr = *ptr_ptr; local [all...] |
pngread.c | 354 png_read_info(png_structp png_ptr, png_infop info_ptr) 358 if (png_ptr == NULL || info_ptr == NULL) 367 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 370 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 373 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) 452 png_handle_IHDR(png_ptr, info_ptr, length); 454 png_handle_IEND(png_ptr, info_ptr, length); 460 png_handle_unknown(png_ptr, info_ptr, length); 475 png_handle_PLTE(png_ptr, info_ptr, length); 490 png_handle_bKGD(png_ptr, info_ptr, length) 1130 png_infop info_ptr = NULL, end_info_ptr = NULL; local [all...] |
/external/libpng/ |
pngget.c | 21 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) 23 if (png_ptr != NULL && info_ptr != NULL) 24 return(info_ptr->valid & flag); 31 png_get_rowbytes(png_structp png_ptr, png_infop info_ptr) 33 if (png_ptr != NULL && info_ptr != NULL) 34 return(info_ptr->rowbytes); 42 png_get_rows(png_structp png_ptr, png_infop info_ptr) 44 if (png_ptr != NULL && info_ptr != NULL) 45 return(info_ptr->row_pointers); 55 png_get_image_width(png_structp png_ptr, png_infop info_ptr) [all...] |
pngset.c | 26 png_set_bKGD(png_structp png_ptr, png_infop info_ptr, png_color_16p background) 30 if (png_ptr == NULL || info_ptr == NULL) 33 png_memcpy(&(info_ptr->background), background, png_sizeof(png_color_16)); 34 info_ptr->valid |= PNG_INFO_bKGD; 41 png_set_cHRM(png_structp png_ptr, png_infop info_ptr, 47 if (png_ptr == NULL || info_ptr == NULL) 50 info_ptr->x_white = (float)white_x; 51 info_ptr->y_white = (float)white_y; 52 info_ptr->x_red = (float)red_x; 53 info_ptr->y_red = (float)red_y [all...] |
png.c | 252 png_infop info_ptr; local 260 info_ptr = (png_infop)png_create_struct_2(PNG_STRUCT_INFO, 263 info_ptr = (png_infop)png_create_struct(PNG_STRUCT_INFO); 265 if (info_ptr != NULL) 266 png_info_init_3(&info_ptr, png_sizeof(png_info)); 268 return (info_ptr); 279 png_infop info_ptr = NULL; local 287 info_ptr = *info_ptr_ptr; 289 if (info_ptr != NULL) 291 png_info_destroy(png_ptr, info_ptr); 320 png_infop info_ptr = *ptr_ptr; local [all...] |
pngwrite.c | 24 * you to supply a PNG_INFO_ flag, and check info_ptr->valid before writing 30 png_write_info_before_PLTE(png_structp png_ptr, png_infop info_ptr) 34 if (png_ptr == NULL || info_ptr == NULL) 49 png_write_IHDR(png_ptr, info_ptr->width, info_ptr->height, 50 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type, 51 info_ptr->filter_type, 53 info_ptr->interlace_type) 1043 png_infop info_ptr = NULL; local [all...] |
example.c | 86 png_infop info_ptr; 99 png_infop info_ptr; 120 info_ptr = png_create_info_struct(png_ptr); 121 if (info_ptr == NULL) 135 /* Free all of the memory associated with the png_ptr and info_ptr */ 136 png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); 167 png_read_png(png_ptr, info_ptr, png_transforms, png_voidp_NULL); 175 png_read_info(png_ptr, info_ptr); 177 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 214 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS) [all...] |
pngread.c | 358 png_read_info(png_structp png_ptr, png_infop info_ptr) 362 if (png_ptr == NULL || info_ptr == NULL) 371 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 374 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 377 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) 456 png_handle_IHDR(png_ptr, info_ptr, length); 458 png_handle_IEND(png_ptr, info_ptr, length); 464 png_handle_unknown(png_ptr, info_ptr, length); 479 png_handle_PLTE(png_ptr, info_ptr, length); 494 png_handle_bKGD(png_ptr, info_ptr, length) 1292 png_infop info_ptr = NULL, end_info_ptr = NULL; local [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
pngget.c | 17 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) 19 if (png_ptr != NULL && info_ptr != NULL) 20 return(info_ptr->valid & flag); 26 png_get_rowbytes(png_structp png_ptr, png_infop info_ptr) 28 if (png_ptr != NULL && info_ptr != NULL) 29 return(info_ptr->rowbytes); 36 png_get_rows(png_structp png_ptr, png_infop info_ptr) 38 if (png_ptr != NULL && info_ptr != NULL) 39 return(info_ptr->row_pointers); 48 png_get_image_width(png_structp png_ptr, png_infop info_ptr) [all...] |
pngset.c | 23 png_set_bKGD(png_structp png_ptr, png_infop info_ptr, png_color_16p background) 26 if (png_ptr == NULL || info_ptr == NULL) 29 png_memcpy(&(info_ptr->background), background, png_sizeof(png_color_16)); 30 info_ptr->valid |= PNG_INFO_bKGD; 37 png_set_cHRM(png_structp png_ptr, png_infop info_ptr, 42 if (png_ptr == NULL || info_ptr == NULL) 64 info_ptr->x_white = (float)white_x; 65 info_ptr->y_white = (float)white_y; 66 info_ptr->x_red = (float)red_x; 67 info_ptr->y_red = (float)red_y [all...] |
png.c | 246 png_infop info_ptr; local 251 info_ptr = (png_infop)png_create_struct_2(PNG_STRUCT_INFO, 254 info_ptr = (png_infop)png_create_struct(PNG_STRUCT_INFO); 256 if (info_ptr != NULL) 257 png_info_init_3(&info_ptr, png_sizeof(png_info)); 259 return (info_ptr); 270 png_infop info_ptr = NULL; local 275 info_ptr = *info_ptr_ptr; 277 if (info_ptr != NULL) 279 png_info_destroy(png_ptr, info_ptr); 308 png_infop info_ptr = *ptr_ptr; local [all...] |
pngwrite.c | 20 * you to supply a PNG_INFO_ flag, and check info_ptr->valid before writing 26 png_write_info_before_PLTE(png_structp png_ptr, png_infop info_ptr) 29 if (png_ptr == NULL || info_ptr == NULL) 42 png_write_IHDR(png_ptr, info_ptr->width, info_ptr->height, 43 info_ptr->bit_depth, info_ptr->color_type, info_ptr->compression_type, 44 info_ptr->filter_type, 46 info_ptr->interlace_type) 1003 png_infop info_ptr = NULL; local [all...] |
pngread.c | 325 png_read_info(png_structp png_ptr, png_infop info_ptr) 335 png_read_data(png_ptr, &(info_ptr->signature[num_checked]), num_to_check); 338 if (png_sig_cmp(info_ptr->signature, num_checked, num_to_check)) 341 png_sig_cmp(info_ptr->signature, num_checked, num_to_check - 4)) 429 png_handle_IHDR(png_ptr, info_ptr, length); 431 png_handle_IEND(png_ptr, info_ptr, length); 437 png_handle_unknown(png_ptr, info_ptr, length); 452 png_handle_PLTE(png_ptr, info_ptr, length); 467 png_handle_bKGD(png_ptr, info_ptr, length); 471 png_handle_cHRM(png_ptr, info_ptr, length) 1106 png_infop info_ptr = NULL, end_info_ptr = NULL; local [all...] |
/external/libpng/contrib/gregbook/ |
readpng.c | 69 static png_infop info_ptr = NULL; variable 106 info_ptr = png_create_info_struct(png_ptr); 107 if (!info_ptr) { 122 png_destroy_read_struct(&png_ptr, &info_ptr, NULL); 130 png_read_info(png_ptr, info_ptr); /* read all PNG info up to image data */ 137 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type, 163 png_destroy_read_struct(&png_ptr, &info_ptr, NULL); 168 if (!png_get_valid(png_ptr, info_ptr, PNG_INFO_bKGD)) 175 png_get_bKGD(png_ptr, info_ptr, &pBackground); 217 png_destroy_read_struct(&png_ptr, &info_ptr, NULL) [all...] |
writepng.c | 86 png_infop info_ptr; local 97 info_ptr = png_create_info_struct(png_ptr); 98 if (!info_ptr) { 110 png_destroy_write_struct(&png_ptr, &info_ptr); 147 png_destroy_write_struct(&png_ptr, &info_ptr); 154 png_set_IHDR(png_ptr, info_ptr, mainprog_ptr->width, mainprog_ptr->height, 159 png_set_gAMA(png_ptr, info_ptr, mainprog_ptr->gamma); 167 png_set_bKGD(png_ptr, info_ptr, &background); 174 png_set_tIME(png_ptr, info_ptr, &modtime); 217 png_set_text(png_ptr, info_ptr, text, num_text) 260 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local 298 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local 328 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local 357 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local [all...] |
readpng2.c | 65 static void readpng2_info_callback(png_structp png_ptr, png_infop info_ptr); 68 static void readpng2_end_callback(png_structp png_ptr, png_infop info_ptr); 173 png_infop info_ptr; local 183 info_ptr = png_create_info_struct(png_ptr); 184 if (!info_ptr) { 201 png_destroy_read_struct(&png_ptr, &info_ptr, NULL); 338 mainprog_ptr->info_ptr = info_ptr; 354 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local 610 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local [all...] |
/bootable/recovery/minui/ |
resources.c | 52 png_infop info_ptr = NULL; local 81 info_ptr = png_create_info_struct(png_ptr); 82 if (!info_ptr) { 94 png_read_info(png_ptr, info_ptr); 96 int color_type = info_ptr->color_type; 97 int bit_depth = info_ptr->bit_depth; 98 int channels = info_ptr->channels; 108 size_t width = info_ptr->width; 109 size_t height = info_ptr->height; 131 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) 205 png_infop info_ptr = NULL; local [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_png.cpp | 118 png_infop info_ptr = (png_infop)m_info_ptr; local 120 png_destroy_read_struct( &png_ptr, &info_ptr, &end_info ); 137 png_infop info_ptr = png_create_info_struct( png_ptr ); local 141 m_info_ptr = info_ptr; 144 if( info_ptr && end_info ) 155 png_read_info( png_ptr, info_ptr ); 157 png_get_IHDR( png_ptr, info_ptr, &width, &height, 192 png_infop info_ptr = (png_infop)m_info_ptr; local 227 png_read_update_info( png_ptr, info_ptr ); 270 png_infop info_ptr = 0 local [all...] |
/external/chromium_org/chrome/browser/drive/ |
drive_uploader.cc | 213 UploadFileInfo* info_ptr = upload_file_info.get(); local 218 info_ptr->file_path, 219 &info_ptr->content_length), 224 return info_ptr->GetCancelCallback(); 252 UploadFileInfo* info_ptr = upload_file_info.get(); local 253 info_ptr->cancel_callback = drive_service_->InitiateUploadNewFile( 254 info_ptr->content_type, 255 info_ptr->content_length, 269 UploadFileInfo* info_ptr = upload_file_info.get(); local 270 info_ptr->cancel_callback = drive_service_->InitiateUploadExistingFile 306 UploadFileInfo* info_ptr = upload_file_info.get(); local 333 UploadFileInfo* info_ptr = upload_file_info.get(); local [all...] |
/external/libpng/contrib/visupng/ |
PngFile.c | 28 static png_infop info_ptr = NULL; variable 145 info_ptr = png_create_info_struct(png_ptr); 146 if (!info_ptr) 168 png_read_info(png_ptr, info_ptr); 172 png_get_IHDR(png_ptr, info_ptr, piWidth, piHeight, &iBitDepth, 184 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) 191 if (png_get_bKGD(png_ptr, info_ptr, &pBackground)) 204 if (png_get_gAMA(png_ptr, info_ptr, &dGamma)) 207 // after the transformations have been registered update info_ptr data 209 png_read_update_info(png_ptr, info_ptr); [all...] |
/external/chromium_org/third_party/skia/src/images/ |
SkImageDecoder_libpng.cpp | 58 SkPNGImageIndex(SkStreamRewindable* stream, png_structp png_ptr, png_infop info_ptr) 61 , fInfo_ptr(info_ptr) 102 bool decodePalette(png_structp png_ptr, png_infop info_ptr, 105 bool getBitmapConfig(png_structp png_ptr, png_infop info_ptr, 120 PNGAutoClean(png_structp p, png_infop i): png_ptr(p), info_ptr(i) {} 122 png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); 126 png_infop info_ptr; member in struct:PNGAutoClean 204 static bool hasTransparencyInPalette(png_structp png_ptr, png_infop info_ptr) { 208 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) { 209 png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans, NULL) 246 png_infop info_ptr = png_create_info_struct(png_ptr); local 307 png_infop info_ptr; local 741 png_infop info_ptr; local 776 png_infop info_ptr = fImageIndex->fInfo_ptr; local 1195 png_infop info_ptr; local [all...] |
/external/skia/src/images/ |
SkImageDecoder_libpng.cpp | 58 SkPNGImageIndex(SkStreamRewindable* stream, png_structp png_ptr, png_infop info_ptr) 61 , fInfo_ptr(info_ptr) 102 bool decodePalette(png_structp png_ptr, png_infop info_ptr, 105 bool getBitmapConfig(png_structp png_ptr, png_infop info_ptr, 120 PNGAutoClean(png_structp p, png_infop i): png_ptr(p), info_ptr(i) {} 122 png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); 126 png_infop info_ptr; member in struct:PNGAutoClean 204 static bool hasTransparencyInPalette(png_structp png_ptr, png_infop info_ptr) { 208 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) { 209 png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans, NULL) 246 png_infop info_ptr = png_create_info_struct(png_ptr); local 307 png_infop info_ptr; local 740 png_infop info_ptr; local 775 png_infop info_ptr = fImageIndex->fInfo_ptr; local 1194 png_infop info_ptr; local [all...] |