Lines Matching refs:chunk_num
937 const char fourcc[4], int chunk_num) { in GetChunk() argument
944 if (count == chunk_num) break; in GetChunk()
949 static int SetChunk(const char fourcc[4], int chunk_num, in SetChunk() argument
954 if (dmux == NULL || fourcc == NULL || chunk_num < 0) return 0; in SetChunk()
957 if (chunk_num == 0) chunk_num = count; in SetChunk()
959 if (chunk_num <= count) { in SetChunk()
961 const Chunk* const chunk = GetChunk(dmux, fourcc, chunk_num); in SetChunk()
965 iter->chunk_num = chunk_num; in SetChunk()
972 const char fourcc[4], int chunk_num, in WebPDemuxGetChunk() argument
978 return SetChunk(fourcc, chunk_num, iter); in WebPDemuxGetChunk()
985 return SetChunk(fourcc, iter->chunk_num + 1, iter); in WebPDemuxNextChunk()
991 if (iter != NULL && iter->chunk_num > 1) { in WebPDemuxPrevChunk()
994 return SetChunk(fourcc, iter->chunk_num - 1, iter); in WebPDemuxPrevChunk()