Lines Matching refs:chunk_num
901 const char fourcc[4], int chunk_num) { in GetChunk() argument
908 if (count == chunk_num) break; in GetChunk()
913 static int SetChunk(const char fourcc[4], int chunk_num, in SetChunk() argument
918 if (dmux == NULL || fourcc == NULL || chunk_num < 0) return 0; in SetChunk()
921 if (chunk_num == 0) chunk_num = count; in SetChunk()
923 if (chunk_num <= count) { in SetChunk()
925 const Chunk* const chunk = GetChunk(dmux, fourcc, chunk_num); in SetChunk()
929 iter->chunk_num = chunk_num; in SetChunk()
936 const char fourcc[4], int chunk_num, in WebPDemuxGetChunk() argument
942 return SetChunk(fourcc, chunk_num, iter); in WebPDemuxGetChunk()
949 return SetChunk(fourcc, iter->chunk_num + 1, iter); in WebPDemuxNextChunk()
955 if (iter != NULL && iter->chunk_num > 1) { in WebPDemuxPrevChunk()
958 return SetChunk(fourcc, iter->chunk_num - 1, iter); in WebPDemuxPrevChunk()