Home
last modified time | relevance | path

Searched refs:text_ptr (Results 1 – 12 of 12) sorted by relevance

/external/libpng/
Dexample.c881 png_text text_ptr[3];
885 text_ptr[0].key = key0;
886 text_ptr[0].text = text0;
887 text_ptr[0].compression = PNG_TEXT_COMPRESSION_NONE;
888 text_ptr[0].itxt_length = 0;
889 text_ptr[0].lang = NULL;
890 text_ptr[0].lang_key = NULL;
894 text_ptr[1].key = key1;
895 text_ptr[1].text = text1;
896 text_ptr[1].compression = PNG_TEXT_COMPRESSION_NONE;
[all …]
Dpngset.c684 png_const_textp text_ptr, int num_text) in png_set_text() argument
687 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text()
695 png_const_textp text_ptr, int num_text) in png_set_text_2() argument
702 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2()
760 if (text_ptr[i].key == NULL) in png_set_text_2()
763 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2()
764 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2()
771 key_len = strlen(text_ptr[i].key); in png_set_text_2()
773 if (text_ptr[i].compression <= 0) in png_set_text_2()
784 if (text_ptr[i].lang != NULL) in png_set_text_2()
[all …]
Dpngtest.c794 pngtest_check_text_support(png_const_structp png_ptr, png_textp text_ptr, in pngtest_check_text_support() argument
799 switch (text_ptr[--num_text].compression) in pngtest_check_text_support()
1248 png_textp text_ptr; in test_one_file() local
1251 if (png_get_text(read_ptr, read_info_ptr, &text_ptr, &num_text) > 0) in test_one_file()
1255 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file()
1265 i, text_ptr[i].compression); in test_one_file()
1269 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file()
1430 png_textp text_ptr; in test_one_file() local
1433 if (png_get_text(read_ptr, end_info_ptr, &text_ptr, &num_text) > 0) in test_one_file()
1437 pngtest_check_text_support(read_ptr, text_ptr, num_text); in test_one_file()
[all …]
Dpngget.c979 png_textp *text_ptr, int *num_text) in png_get_text() argument
986 if (text_ptr != NULL) in png_get_text()
987 *text_ptr = info_ptr->text; in png_get_text()
Dlibpng-manual.txt1449 &text_ptr, &num_text);
1453 text_ptr - array of png_text holding image
1456 text_ptr[i].compression - type of compression used
1462 text_ptr[i].key - keyword for comment. Must contain
1465 text_ptr[i].text - text comments for current
1468 text_ptr[i].text_length - length of text string,
1471 text_ptr[i].itxt_length - length of itxt string,
1474 text_ptr[i].lang - language of comment (empty
1477 text_ptr[i].lang_key - keyword in UTF-8
1481 members of the text_ptr structure only exist when the
[all …]
Dpng.h2269 png_inforp info_ptr, png_textp *text_ptr, int *num_text));
2281 png_inforp info_ptr, png_const_textp text_ptr, int num_text));
Dpngpriv.h1104 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);
DCHANGES547 text_ptr structure. Instead, it makes its own copy.
/external/pdfium/samples/fx_lpng/lpng_v163/
Dfx_pngset.c683 png_const_textp text_ptr, int num_text) in png_set_text() argument
686 ret = png_set_text_2(png_ptr, info_ptr, text_ptr, num_text); in png_set_text()
694 png_const_textp text_ptr, int num_text) in png_set_text_2() argument
701 if (png_ptr == NULL || info_ptr == NULL || num_text <= 0 || text_ptr == NULL) in png_set_text_2()
759 if (text_ptr[i].key == NULL) in png_set_text_2()
762 if (text_ptr[i].compression < PNG_TEXT_COMPRESSION_NONE || in png_set_text_2()
763 text_ptr[i].compression >= PNG_TEXT_COMPRESSION_LAST) in png_set_text_2()
770 key_len = strlen(text_ptr[i].key); in png_set_text_2()
772 if (text_ptr[i].compression <= 0) in png_set_text_2()
783 if (text_ptr[i].lang != NULL) in png_set_text_2()
[all …]
Dfx_pngget.c978 png_textp *text_ptr, int *num_text) in png_get_text() argument
985 if (text_ptr != NULL) in png_get_text()
986 *text_ptr = info_ptr->text; in png_get_text()
Dpng.h2559 png_inforp info_ptr, png_textp *text_ptr, int *num_text));
2571 png_inforp info_ptr, png_const_textp text_ptr, int num_text));
Dpngpriv.h1057 png_inforp info_ptr, png_const_textp text_ptr, int num_text),PNG_EMPTY);