Lines Matching refs:chunk_count
94 for (i = 0; i < ctx->chunk_count; i++) {
105 chunk->uncompressed_size = ctx->tex_size / ctx->chunk_count;
142 * = chunk_count + (4 * chunk_count) + 4 + 4 */
143 return (5 * ctx->chunk_count) + 8;
151 if (ctx->chunk_count > 1) {
165 if (ctx->chunk_count == 1) {
175 hap_write_section_header(&pbc, HAP_HDR_SHORT, ctx->chunk_count,
178 for (i = 0; i < ctx->chunk_count; i++) {
182 hap_write_section_header(&pbc, HAP_HDR_SHORT, ctx->chunk_count * 4,
185 for (i = 0; i < ctx->chunk_count; i++) {
197 int pktsize = FFMAX(ctx->tex_size, ctx->max_snappy * ctx->chunk_count) + header_length;