Home
last modified time | relevance | path

Searched refs:chunk_list (Results 1 – 18 of 18) sorted by relevance

/external/webp/src/mux/
Dmuxinternal.c139 WebPChunk** const chunk_list) { in ChunkSetHead() argument
142 assert(chunk_list != NULL); in ChunkSetHead()
143 if (*chunk_list != NULL) { in ChunkSetHead()
152 *chunk_list = new_chunk; in ChunkSetHead()
157 WebPChunk*** const chunk_list) { in ChunkAppend() argument
158 assert(chunk_list != NULL && *chunk_list != NULL); in ChunkAppend()
160 if (**chunk_list == NULL) { in ChunkAppend()
161 ChunkSetHead(chunk, *chunk_list); in ChunkAppend()
163 WebPChunk* last_chunk = **chunk_list; in ChunkAppend()
166 *chunk_list = &last_chunk->next_; in ChunkAppend()
[all …]
Dmuxi.h132 WebPMuxError ChunkSetHead(WebPChunk* const chunk, WebPChunk** const chunk_list);
137 WebPMuxError ChunkAppend(WebPChunk* const chunk, WebPChunk*** const chunk_list);
146 void ChunkListDelete(WebPChunk** const chunk_list);
161 size_t ChunkListDiskSize(const WebPChunk* chunk_list);
164 uint8_t* ChunkListEmit(const WebPChunk* chunk_list, uint8_t* dst);
Dmuxedit.c153 static WebPMuxError DeleteChunks(WebPChunk** chunk_list, uint32_t tag) { in DeleteChunks() argument
155 assert(chunk_list); in DeleteChunks()
156 while (*chunk_list) { in DeleteChunks()
157 WebPChunk* const chunk = *chunk_list; in DeleteChunks()
159 *chunk_list = ChunkDelete(chunk); in DeleteChunks()
162 chunk_list = &chunk->next_; in DeleteChunks()
199 WebPChunk** chunk_list) { in AddDataToChunkList() argument
205 err = ChunkSetHead(&chunk, chunk_list); in AddDataToChunkList()
Dmuxread.c528 static int CountChunks(const WebPChunk* const chunk_list, uint32_t tag) { in CountChunks() argument
531 for (current = chunk_list; current != NULL; current = current->next_) { in CountChunks()
548 WebPChunk* const* chunk_list = MuxGetChunkListFromId(mux, id); in WebPMuxNumChunks() local
550 *num_elements = CountChunks(*chunk_list, kChunks[idx].tag); in WebPMuxNumChunks()
/external/libpng/
Dpngset.c1373 png_const_bytep chunk_list, int num_chunks_in) in png_set_keep_unknown_chunks() argument
1423 chunk_list = chunks_to_ignore; in png_set_keep_unknown_chunks()
1429 if (chunk_list == NULL) in png_set_keep_unknown_chunks()
1443 if (png_ptr->chunk_list == NULL) in png_set_keep_unknown_chunks()
1465 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks); in png_set_keep_unknown_chunks()
1469 new_list = png_ptr->chunk_list; in png_set_keep_unknown_chunks()
1488 chunk_list+5*i, keep); in png_set_keep_unknown_chunks()
1507 if (png_ptr->chunk_list != new_list) in png_set_keep_unknown_chunks()
1519 if (png_ptr->chunk_list != new_list) in png_set_keep_unknown_chunks()
1521 if (png_ptr->chunk_list != NULL) in png_set_keep_unknown_chunks()
[all …]
Dpngstruct.h380 png_bytep chunk_list; /* List of png_byte[5]; the textual chunk name member
Dpngwrite.c961 png_free(png_ptr, png_ptr->chunk_list); in png_write_destroy()
962 png_ptr->chunk_list = NULL; in png_write_destroy()
Dpngread.c993 png_free(png_ptr, png_ptr->chunk_list); in png_read_destroy()
994 png_ptr->chunk_list = NULL; in png_read_destroy()
Dpng.h2280 int keep, png_const_bytep chunk_list, int num_chunks));
Dpng.c934 p_end = png_ptr->chunk_list;
Dlibpng-manual.txt584 chunk_list, num_chunks);
597 chunk_list - list of chunks affected (a byte string,
616 chunk_list; if they are, libpng will process them normally anyway.
DCHANGES666 Added png_free_chunk_list() function and chunk_list and num_chunk_list members
/external/pdfium/third_party/libpng16/
Dpngset.c1373 png_const_bytep chunk_list, int num_chunks_in) in png_set_keep_unknown_chunks() argument
1423 chunk_list = chunks_to_ignore; in png_set_keep_unknown_chunks()
1429 if (chunk_list == NULL) in png_set_keep_unknown_chunks()
1443 if (png_ptr->chunk_list == NULL) in png_set_keep_unknown_chunks()
1465 memcpy(new_list, png_ptr->chunk_list, 5*old_num_chunks); in png_set_keep_unknown_chunks()
1469 new_list = png_ptr->chunk_list; in png_set_keep_unknown_chunks()
1488 chunk_list+5*i, keep); in png_set_keep_unknown_chunks()
1507 if (png_ptr->chunk_list != new_list) in png_set_keep_unknown_chunks()
1519 if (png_ptr->chunk_list != new_list) in png_set_keep_unknown_chunks()
1521 if (png_ptr->chunk_list != NULL) in png_set_keep_unknown_chunks()
[all …]
Dpngstruct.h380 png_bytep chunk_list; /* List of png_byte[5]; the textual chunk name member
Dpngwrite.c961 png_free(png_ptr, png_ptr->chunk_list); in png_write_destroy()
962 png_ptr->chunk_list = NULL; in png_write_destroy()
Dpngread.c993 png_free(png_ptr, png_ptr->chunk_list); in png_read_destroy()
994 png_ptr->chunk_list = NULL; in png_read_destroy()
Dpng.h2280 int keep, png_const_bytep chunk_list, int num_chunks));
Dpng.c934 p_end = png_ptr->chunk_list;