Lines Matching refs:pbc
75 static void hap_write_section_header(PutByteContext *pbc, in hap_write_section_header() argument
84 bytestream2_put_le24(pbc, header_length == HAP_HDR_LONG ? 0 : section_length); in hap_write_section_header()
85 bytestream2_put_byte(pbc, section_type); in hap_write_section_header()
88 bytestream2_put_le32(pbc, section_length); in hap_write_section_header()
164 PutByteContext pbc; in hap_write_frame_header() local
167 bytestream2_init_writer(&pbc, dst, frame_length); in hap_write_frame_header()
170 hap_write_section_header(&pbc, HAP_HDR_LONG, frame_length - 8, in hap_write_frame_header()
174 hap_write_section_header(&pbc, HAP_HDR_LONG, frame_length - 8, in hap_write_frame_header()
176 hap_write_section_header(&pbc, HAP_HDR_SHORT, hap_decode_instructions_length(ctx), in hap_write_frame_header()
178 hap_write_section_header(&pbc, HAP_HDR_SHORT, ctx->chunk_count, in hap_write_frame_header()
182 bytestream2_put_byte(&pbc, ctx->chunks[i].compressor >> 4); in hap_write_frame_header()
185 hap_write_section_header(&pbc, HAP_HDR_SHORT, ctx->chunk_count * 4, in hap_write_frame_header()
189 bytestream2_put_le32(&pbc, ctx->chunks[i].compressed_size); in hap_write_frame_header()