• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/

Lines Matching refs:totalframes

77     uint32_t totalframes;
125 av_log(s, AV_LOG_DEBUG, "totalframes = %"PRIu32"\n", ape_ctx->totalframes);
131 if ((ape_ctx->seektablelength / sizeof(uint32_t)) != ape_ctx->totalframes) {
135 if (i < ape_ctx->totalframes - 1) {
150 for (i = 0; i < ape_ctx->totalframes; i++)
208 ape->totalframes = avio_rl32(pb);
222 ape->totalframes = avio_rl32(pb);
235 ape->seektablelength = ape->totalframes * sizeof(int32_t);
256 if(!ape->totalframes){
260 if(ape->totalframes > UINT_MAX / sizeof(APEFrame)){
262 ape->totalframes);
265 if (ape->seektablelength / sizeof(*ape->seektable) < ape->totalframes) {
268 ape->seektablelength / sizeof(*ape->seektable), ape->totalframes);
271 ape->frames = av_malloc(ape->totalframes * sizeof(APEFrame));
276 ape->firstframe += ape->totalframes;
281 if (ape->totalframes > 1)
282 ape->totalsamples += ape->blocksperframe * (ape->totalframes - 1);
291 ape->bittable = av_mallocz(ape->totalframes);
294 for (i = 0; i < ape->totalframes && !pb->eof_reached; i++)
304 for (i = 1; i < ape->totalframes; i++) {
310 ape->frames[ape->totalframes - 1].nblocks = ape->finalframeblocks;
314 final_size = file_size - ape->frames[ape->totalframes - 1].pos -
320 ape->frames[ape->totalframes - 1].size = final_size;
322 for (i = 0; i < ape->totalframes; i++) {
330 for (i = 0; i < ape->totalframes; i++) {
331 if (i < ape->totalframes - 1 && ape->bittable[i + 1])
349 total_blocks = (ape->totalframes == 0) ? 0 : ((ape->totalframes - 1) * ape->blocksperframe) + ape->finalframeblocks;
358 st->nb_frames = ape->totalframes;
370 for (i = 0; i < ape->totalframes; i++) {
394 if (ape->currentframe >= ape->totalframes)
401 if (ape->currentframe == (ape->totalframes - 1))