Lines Matching refs:subchunk
104 WebPChunk subchunk;
107 ChunkInit(&subchunk);
119 ChunkAssignData(&subchunk, &temp, copy_data, chunk->tag_);
121 ChunkSetHead(&subchunk, &wpi->header_);
125 subchunk_size = ChunkDiskSize(&subchunk) - CHUNK_HEADER_SIZE;
130 ChunkInit(&subchunk);
131 if (ChunkVerifyAndAssign(&subchunk, bytes, size, size,
135 switch (ChunkGetIdFromTag(subchunk.tag_)) {
138 if (ChunkSetHead(&subchunk, &wpi->alpha_) != WEBP_MUX_OK) goto Fail;
143 if (ChunkSetHead(&subchunk, &wpi->img_) != WEBP_MUX_OK) goto Fail;
152 if (ChunkAppend(&subchunk, &unknown_chunk_list) != WEBP_MUX_OK) {
160 subchunk_size = ChunkDiskSize(&subchunk);
168 ChunkRelease(&subchunk);