Home
last modified time | relevance | path

Searched refs:chunk_name (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/libpng/
Dpngpread.c169 png_uint_32 chunk_name; in png_push_read_chunk() local
190 png_ptr->chunk_name = PNG_CHUNK_FROM_STRING(chunk_tag); in png_push_read_chunk()
191 png_check_chunk_name(png_ptr, png_ptr->chunk_name); in png_push_read_chunk()
196 chunk_name = png_ptr->chunk_name; in png_push_read_chunk()
198 if (chunk_name == png_IDAT) in png_push_read_chunk()
227 if (chunk_name == png_IHDR) in png_push_read_chunk()
236 else if (chunk_name == png_IEND) in png_push_read_chunk()
246 else if ((keep = png_chunk_unknown_handling(png_ptr, chunk_name)) != 0) in png_push_read_chunk()
251 if (chunk_name == png_PLTE) in png_push_read_chunk()
256 else if (chunk_name == png_PLTE) in png_push_read_chunk()
[all …]
Dpngread.c109 png_uint_32 chunk_name = png_ptr->chunk_name; in png_read_info() local
114 if (chunk_name == png_IDAT) in png_read_info()
138 if (chunk_name == png_IHDR) in png_read_info()
141 else if (chunk_name == png_IEND) in png_read_info()
145 else if ((keep = png_chunk_unknown_handling(png_ptr, chunk_name)) != 0) in png_read_info()
149 if (chunk_name == png_PLTE) in png_read_info()
152 else if (chunk_name == png_IDAT) in png_read_info()
159 else if (chunk_name == png_PLTE) in png_read_info()
162 else if (chunk_name == png_IDAT) in png_read_info()
169 else if (chunk_name == png_bKGD) in png_read_info()
[all …]
Dpngerror.c368 png_ptr->chunk_name != 0) in png_benign_error()
379 png_ptr->chunk_name != 0) in png_benign_error()
437 png_uint_32 chunk_name = png_ptr->chunk_name; in png_format_buffer() local
442 int c = (int)(chunk_name >> ishift) & 0xff; in png_format_buffer()
Dpngrutil.c172 png_ptr->chunk_name = PNG_CHUNK_FROM_STRING(buf+4); in png_read_chunk_header()
175 (unsigned long)png_ptr->chunk_name, (unsigned long)length); in png_read_chunk_header()
182 png_check_chunk_name(png_ptr, png_ptr->chunk_name); in png_read_chunk_header()
231 if (PNG_CHUNK_ANCILLARY(png_ptr->chunk_name) != 0 ? in png_crc_finish()
257 if (PNG_CHUNK_ANCILLARY(png_ptr->chunk_name) != 0) in png_crc_error()
643 ret = png_inflate_claim(png_ptr, png_ptr->chunk_name); in png_decompress_chunk()
649 ret = png_inflate(png_ptr, png_ptr->chunk_name, 1/*finish*/, in png_decompress_chunk()
679 ret = png_inflate(png_ptr, png_ptr->chunk_name, 1/*finish*/, in png_decompress_chunk()
778 if (png_ptr->zowner == png_ptr->chunk_name) in png_inflate_read()
2885 PNG_CSTRING_FROM_CHUNK(png_ptr->unknown_chunk.name, png_ptr->chunk_name); in png_cache_unknown_chunk()
[all …]
Dpngwutil.c73 png_write_chunk_header(png_structrp png_ptr, png_uint_32 chunk_name, in png_write_chunk_header() argument
79 PNG_CSTRING_FROM_CHUNK(buf, chunk_name); in png_write_chunk_header()
95 png_save_uint_32(buf + 4, chunk_name); in png_write_chunk_header()
99 png_ptr->chunk_name = chunk_name; in png_write_chunk_header()
175 png_write_complete_chunk(png_structrp png_ptr, png_uint_32 chunk_name, in png_write_complete_chunk() argument
185 png_write_chunk_header(png_ptr, chunk_name, (png_uint_32)length); in png_write_complete_chunk()
488 png_text_compress(png_structrp png_ptr, png_uint_32 chunk_name, in png_text_compress() argument
503 ret = png_deflate_claim(png_ptr, chunk_name, comp->input_len); in png_text_compress()
Dpng.c143 if (PNG_CHUNK_ANCILLARY(png_ptr->chunk_name) != 0) in png_calculate_crc()
926 png_handle_as_unknown(png_const_structrp png_ptr, png_const_bytep chunk_name)
931 if (png_ptr == NULL || chunk_name == NULL || png_ptr->num_chunk_list == 0)
945 if (memcmp(chunk_name, p, 4) == 0)
961 png_chunk_unknown_handling(png_const_structrp png_ptr, png_uint_32 chunk_name)
965 PNG_CSTRING_FROM_CHUNK(chunk_string, chunk_name);
Dpngstruct.h220 png_uint_32 chunk_name; /* PNG_CHUNK() id of current chunk */ member
Dpng.h990 chunk_name, png_const_bytep data, size_t length));
994 png_const_bytep chunk_name, png_uint_32 length));
2288 png_const_bytep chunk_name));
Dpngget.c1055 (unsigned long)png_ptr->chunk_name); in png_get_text()
1232 return png_ptr->chunk_name; in png_get_io_chunk_type()
Dpngpriv.h1540 png_uint_32 chunk_name),PNG_EMPTY);
1556 (png_const_structrp png_ptr, png_uint_32 chunk_name),PNG_EMPTY);
Dpngset.c779 (unsigned long)png_ptr->chunk_name); in png_set_text_2()
DCHANGES5969 Removed unused chunk_name parameter from png_check_chunk_length().
/third_party/ffmpeg/libavcodec/
Ddfa.c336 static const char chunk_name[8][5] = { variable
374 chunk_name[chunk_type - 2]); in dfa_decode_frame()