Lines Matching defs:count
44 uint16_t count;
59 uint16_t unk2; /* Unknown, not a count. */
99 if ((table->entries = av_calloc(table->count, sizeof(uint32_t))) == NULL)
102 if ((ret = avio_read(s->pb, (unsigned char*)table->entries, table->count * sizeof(uint32_t))) < 0)
105 for (size_t i = 0; i < table->count; i++)
108 av_log(s, AV_LOG_TRACE, "Table, size = %u, offset = %u\n", table->count, table->offset);
109 for (size_t i = 0; i < table->count; i++)
124 ctx->hdr.table0.count = AV_RB16(buf + 0);
125 ctx->hdr.table1.count = AV_RB16(buf + 2);
126 ctx->hdr.table2.count = AV_RB16(buf + 4);
269 ctx->tracks = av_calloc(ctx->hdr.table1.count, sizeof(SCDTrackHeader));
273 for (int i = 0; i < ctx->hdr.table1.count; i++) {
278 if (ctx->hdr.table1.count == 0)
293 for (int i = 0; i < ctx->hdr.table1.count; i++) {
298 ctx->current_track %= ctx->hdr.table1.count;
351 for(int i = 0; i < ctx->hdr.table1.count; ++i)