Lines Matching defs:pbc
72 static void hap_write_section_header(PutByteContext *pbc,
81 bytestream2_put_le24(pbc, header_length == HAP_HDR_LONG ? 0 : section_length);
82 bytestream2_put_byte(pbc, section_type);
85 bytestream2_put_le32(pbc, section_length);
161 PutByteContext pbc;
164 bytestream2_init_writer(&pbc, dst, frame_length);
167 hap_write_section_header(&pbc, HAP_HDR_LONG, frame_length - 8,
171 hap_write_section_header(&pbc, HAP_HDR_LONG, frame_length - 8,
173 hap_write_section_header(&pbc, HAP_HDR_SHORT, hap_decode_instructions_length(ctx),
175 hap_write_section_header(&pbc, HAP_HDR_SHORT, ctx->chunk_count,
179 bytestream2_put_byte(&pbc, ctx->chunks[i].compressor >> 4);
182 hap_write_section_header(&pbc, HAP_HDR_SHORT, ctx->chunk_count * 4,
186 bytestream2_put_le32(&pbc, ctx->chunks[i].compressed_size);