• Home
  • Raw
  • Download

Lines Matching refs:totalframes

76     uint32_t totalframes;  member
121 av_log(s, AV_LOG_DEBUG, "totalframes = %"PRIu32"\n", ape_ctx->totalframes); in ape_dumpinfo()
127 if ((ape_ctx->seektablelength / sizeof(uint32_t)) != ape_ctx->totalframes) { in ape_dumpinfo()
132 for (i = 0; i < ape_ctx->totalframes; i++) in ape_dumpinfo()
190 ape->totalframes = avio_rl32(pb); in ape_read_header()
204 ape->totalframes = avio_rl32(pb); in ape_read_header()
217 ape->seektablelength = ape->totalframes * sizeof(int32_t); in ape_read_header()
238 if(!ape->totalframes || pb->eof_reached){ in ape_read_header()
242 if(ape->totalframes > UINT_MAX / sizeof(APEFrame)){ in ape_read_header()
244 ape->totalframes); in ape_read_header()
247 if (ape->seektablelength / sizeof(uint32_t) < ape->totalframes) { in ape_read_header()
250 ape->seektablelength / sizeof(uint32_t), ape->totalframes); in ape_read_header()
253 ape->frames = av_malloc_array(ape->totalframes, sizeof(APEFrame)); in ape_read_header()
258 ape->firstframe += ape->totalframes; in ape_read_header()
263 if (ape->totalframes > 1) in ape_read_header()
264 ape->totalsamples += ape->blocksperframe * (ape->totalframes - 1); in ape_read_header()
270 for (i = 1; i < ape->totalframes; i++) { in ape_read_header()
284 avio_skip(pb, ape->seektablelength / sizeof(uint32_t) - ape->totalframes); in ape_read_header()
286 ape->frames[ape->totalframes - 1].nblocks = ape->finalframeblocks; in ape_read_header()
290 final_size = file_size - ape->frames[ape->totalframes - 1].pos - in ape_read_header()
296 ape->frames[ape->totalframes - 1].size = final_size; in ape_read_header()
298 for (i = 0; i < ape->totalframes; i++) { in ape_read_header()
306 for (i = 0; i < ape->totalframes; i++) { in ape_read_header()
335 …total_blocks = (ape->totalframes == 0) ? 0 : ((ape->totalframes - 1) * ape->blocksperframe) + ape-… in ape_read_header()
344 st->nb_frames = ape->totalframes; in ape_read_header()
356 for (i = 0; i < ape->totalframes; i++) { in ape_read_header()
385 if (ape->currentframe >= ape->totalframes) in ape_read_packet()
393 if (ape->currentframe == (ape->totalframes - 1)) in ape_read_packet()