HomeSort by relevance Sort by last modified time
    Searched refs:info_ptr (Results 1 - 25 of 68) sorted by null

1 2 3

  /external/libpng/
pngget.c 20 png_get_valid(png_const_structrp png_ptr, png_const_inforp info_ptr,
23 if (png_ptr != NULL && info_ptr != NULL)
24 return(info_ptr->valid & flag);
30 png_get_rowbytes(png_const_structrp png_ptr, png_const_inforp info_ptr)
32 if (png_ptr != NULL && info_ptr != NULL)
33 return(info_ptr->rowbytes);
40 png_get_rows(png_const_structrp png_ptr, png_const_inforp info_ptr)
42 if (png_ptr != NULL && info_ptr != NULL)
43 return(info_ptr->row_pointers);
52 png_get_image_width(png_const_structrp png_ptr, png_const_inforp info_ptr)
    [all...]
pngset.c 25 png_set_bKGD(png_const_structrp png_ptr, png_inforp info_ptr,
30 if (png_ptr == NULL || info_ptr == NULL || background == NULL)
33 info_ptr->background = *background;
34 info_ptr->valid |= PNG_INFO_bKGD;
40 png_set_cHRM_fixed(png_const_structrp png_ptr, png_inforp info_ptr,
49 if (png_ptr == NULL || info_ptr == NULL)
61 if (png_colorspace_set_chromaticities(png_ptr, &info_ptr->colorspace, &xy,
63 info_ptr->colorspace.flags |= PNG_COLORSPACE_FROM_cHRM;
65 png_colorspace_sync_info(png_ptr, info_ptr);
69 png_set_cHRM_XYZ_fixed(png_const_structrp png_ptr, png_inforp info_ptr,
    [all...]
pngwrite.c 24 write_unknown_chunks(png_structrp png_ptr, png_const_inforp info_ptr,
27 if (info_ptr->unknown_chunks_num)
33 for (up = info_ptr->unknown_chunks;
34 up < info_ptr->unknown_chunks + info_ptr->unknown_chunks_num;
78 * you to supply a PNG_INFO_ flag, and check info_ptr->valid before writing
84 png_write_info_before_PLTE(png_structrp png_ptr, png_const_inforp info_ptr)
88 if (png_ptr == NULL || info_ptr == NULL)
106 png_write_IHDR(png_ptr, info_ptr->width, info_ptr->height
1676 png_infop info_ptr = png_create_info_struct(png_ptr); local
2130 png_inforp info_ptr = image->opaque->info_ptr; local
    [all...]
example.c 273 png_infop info_ptr;
286 png_infop info_ptr;
307 info_ptr = png_create_info_struct(png_ptr);
308 if (info_ptr == NULL)
322 /* Free all of the memory associated with the png_ptr and info_ptr */
323 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
354 png_read_png(png_ptr, info_ptr, png_transforms, NULL);
362 png_read_info(png_ptr, info_ptr);
364 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
408 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)
    [all...]
  /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/qemu/distrib/libpng-1.2.46/
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...]
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/libpng/contrib/libtests/
readpng.c 38 png_infop info_ptr = NULL; local
46 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
54 info_ptr = png_create_info_struct(png_ptr);
55 if (info_ptr == NULL)
60 png_read_info(png_ptr, info_ptr);
63 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr);
72 png_uint_32 height = png_get_image_height(png_ptr, info_ptr);
92 png_read_end(png_ptr, info_ptr);
93 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
timepng.c 41 png_infop info_ptr = NULL; local
49 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
57 info_ptr = png_create_info_struct(png_ptr);
58 if (info_ptr == NULL)
61 png_read_info(png_ptr, info_ptr);
64 png_size_t rowbytes = png_get_rowbytes(png_ptr, info_ptr);
73 png_uint_32 height = png_get_image_height(png_ptr, info_ptr);
93 png_read_end(png_ptr, info_ptr);
94 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
  /external/libpng/contrib/gregbook/
readpng.c 70 static png_infop info_ptr = NULL; variable
107 info_ptr = png_create_info_struct(png_ptr);
108 if (!info_ptr) {
123 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
131 png_read_info(png_ptr, info_ptr); /* read all PNG info up to image data */
138 png_get_IHDR(png_ptr, info_ptr, &width, &height, &bit_depth, &color_type,
164 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
169 if (!png_get_valid(png_ptr, info_ptr, PNG_INFO_bKGD))
176 png_get_bKGD(png_ptr, info_ptr, &pBackground);
222 png_destroy_read_struct(&png_ptr, &info_ptr, NULL)
    [all...]
readpng2.c 67 static void readpng2_info_callback(png_structp png_ptr, png_infop info_ptr);
70 static void readpng2_end_callback(png_structp png_ptr, png_infop info_ptr);
102 png_infop info_ptr; local
112 info_ptr = png_create_info_struct(png_ptr);
113 if (!info_ptr) {
130 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
171 mainprog_ptr->info_ptr = info_ptr;
187 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local
461 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local
    [all...]
writepng.c 87 png_infop info_ptr; local
98 info_ptr = png_create_info_struct(png_ptr);
99 if (!info_ptr) {
112 png_destroy_write_struct(&png_ptr, &info_ptr);
149 png_destroy_write_struct(&png_ptr, &info_ptr);
156 png_set_IHDR(png_ptr, info_ptr, mainprog_ptr->width, mainprog_ptr->height,
161 png_set_gAMA(png_ptr, info_ptr, mainprog_ptr->gamma);
169 png_set_bKGD(png_ptr, info_ptr, &background);
176 png_set_tIME(png_ptr, info_ptr, &modtime);
219 png_set_text(png_ptr, info_ptr, text, num_text)
262 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local
300 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local
330 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; local
359 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; 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/libpng/contrib/examples/
iccfrompng.c 36 png_infop info_ptr = NULL; local
50 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
56 info_ptr = png_create_info_struct(png_ptr);
57 if (info_ptr == NULL)
60 png_read_info(png_ptr, info_ptr);
67 if (png_get_iCCP(png_ptr, info_ptr, &name, &compression_type, &profile,
82 png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
  /external/chromium_org/chrome/browser/drive/
drive_uploader.cc 215 UploadFileInfo* info_ptr = upload_file_info.get(); local
220 info_ptr->file_path,
221 &info_ptr->content_length),
226 return info_ptr->GetCancelCallback();
255 UploadFileInfo* info_ptr = upload_file_info.get(); local
256 info_ptr->cancel_callback = drive_service_->InitiateUploadNewFile(
257 info_ptr->content_type,
258 info_ptr->content_length,
273 UploadFileInfo* info_ptr = upload_file_info.get(); local
274 info_ptr->cancel_callback = drive_service_->InitiateUploadExistingFile
310 UploadFileInfo* info_ptr = upload_file_info.get(); local
337 UploadFileInfo* info_ptr = upload_file_info.get(); local
    [all...]
  /external/libpng/contrib/visupng/
PngFile.c 30 static png_infop info_ptr = NULL; variable
147 info_ptr = png_create_info_struct(png_ptr);
148 if (!info_ptr)
170 png_read_info(png_ptr, info_ptr);
174 png_get_IHDR(png_ptr, info_ptr, piWidth, piHeight, &iBitDepth,
192 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS))
199 if (png_get_bKGD(png_ptr, info_ptr, &pBackground))
212 if (png_get_gAMA(png_ptr, info_ptr, &dGamma))
215 /* after the transformations are registered, update info_ptr data */
217 png_read_update_info(png_ptr, info_ptr);
    [all...]
  /external/chromium_org/third_party/skia/src/images/
SkImageDecoder_libpng.cpp 56 SkPNGImageIndex(SkStreamRewindable* stream, png_structp png_ptr, png_infop info_ptr)
59 , fInfo_ptr(info_ptr)
100 bool decodePalette(png_structp png_ptr, png_infop info_ptr,
117 PNGAutoClean(png_structp p, png_infop i): png_ptr(p), info_ptr(i) {}
119 png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
123 png_infop info_ptr; member in struct:PNGAutoClean
200 static bool hasTransparencyInPalette(png_structp png_ptr, png_infop info_ptr) {
204 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) {
205 png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans, NULL);
242 png_infop info_ptr = png_create_info_struct(png_ptr) local
303 png_infop info_ptr; local
731 png_infop info_ptr; local
766 png_infop info_ptr = fImageIndex->fInfo_ptr; local
1183 png_infop info_ptr; local
    [all...]
  /external/skia/src/images/
SkImageDecoder_libpng.cpp 56 SkPNGImageIndex(SkStreamRewindable* stream, png_structp png_ptr, png_infop info_ptr)
59 , fInfo_ptr(info_ptr)
100 bool decodePalette(png_structp png_ptr, png_infop info_ptr,
117 PNGAutoClean(png_structp p, png_infop i): png_ptr(p), info_ptr(i) {}
119 png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL);
123 png_infop info_ptr; member in struct:PNGAutoClean
200 static bool hasTransparencyInPalette(png_structp png_ptr, png_infop info_ptr) {
204 if (png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) {
205 png_get_tRNS(png_ptr, info_ptr, &trans, &num_trans, NULL);
242 png_infop info_ptr = png_create_info_struct(png_ptr) local
303 png_infop info_ptr; local
731 png_infop info_ptr; local
766 png_infop info_ptr = fImageIndex->fInfo_ptr; local
1181 png_infop info_ptr; local
    [all...]

Completed in 281 milliseconds

1 2 3