Lines Matching refs:kChunks
71 err = ChunkAssignData(&chunk, data, copy_data, kChunks[(INDEX)].tag); \
83 assert(!IsWPI(kChunks[idx].id)); in MuxSet()
122 const size_t frame_frgm_size = kChunks[is_frame ? IDX_ANMF : IDX_FRGM].size; in CreateFrameFragmentData()
255 is_lossless ? kChunks[IDX_VP8L].tag : kChunks[IDX_VP8].tag; in SetAlphaAndImageChunks()
258 err = AddDataToChunkList(&alpha, copy_data, kChunks[IDX_ALPHA].tag, in SetAlphaAndImageChunks()
336 const int is_lossless = (wpi.img_->tag_ == kChunks[IDX_VP8L].tag); in WebPMuxPushFrame()
342 const uint32_t tag = kChunks[is_frame ? IDX_ANMF : IDX_FRGM].tag; in WebPMuxPushFrame()
384 err = MuxDeleteAllNamedData(mux, kChunks[IDX_ANIM].tag); in WebPMuxSetAnimationParams()
390 return MuxAddChunk(mux, 1, kChunks[IDX_ANIM].tag, data, sizeof(data), 1); in WebPMuxSetAnimationParams()
413 const int is_frame = (tag == kChunks[IDX_ANMF].tag); in GetFrameFragmentInfo()
418 assert(tag == kChunks[IDX_ANMF].tag || tag == kChunks[IDX_FRGM].tag); in GetFrameFragmentInfo()
434 assert(tag == kChunks[IDX_VP8].tag || tag == kChunks[IDX_VP8L].tag); in MuxGetImageWidthHeight()
435 ok = (tag == kChunks[IDX_VP8].tag) ? in MuxGetImageWidthHeight()
539 err = MuxDeleteAllNamedData(mux, kChunks[IDX_VP8X].tag); in CreateVP8XChunk()
553 if (images->header_->tag_ == kChunks[IDX_FRGM].tag) { in CreateVP8XChunk()
556 } else if (images->header_->tag_ == kChunks[IDX_ANMF].tag) { in CreateVP8XChunk()
592 err = MuxAddChunk(mux, 1, kChunks[IDX_VP8X].tag, data, data_size, 1); in CreateVP8XChunk()
605 WebPMuxError err = WebPMuxNumChunks(mux, kChunks[IDX_ANMF].id, &num_frames); in MuxCleanup()
607 err = WebPMuxNumChunks(mux, kChunks[IDX_FRGM].id, &num_fragments); in MuxCleanup()
614 assert(frame_frag->header_->tag_ == kChunks[IDX_ANMF].tag || in MuxCleanup()
615 frame_frag->header_->tag_ == kChunks[IDX_FRGM].tag); in MuxCleanup()
623 err = WebPMuxNumChunks(mux, kChunks[IDX_ANIM].id, &num_anim_chunks); in MuxCleanup()
626 err = MuxDeleteAllNamedData(mux, kChunks[IDX_ANIM].tag); in MuxCleanup()