Lines Matching refs:pkt_offset
62 int pkt_offset; ///< data burst repetition period in bytes member
116 ctx->pkt_offset = AC3_FRAME_SIZE << 2; in spdif_header_ac3()
140 ctx->pkt_offset = 0; in spdif_header_eac3()
144 ctx->pkt_offset = 24576; in spdif_header_eac3()
206 ctx->pkt_offset = period * 4; in spdif_header_dts4()
215 > ctx->pkt_offset - BURST_HEADER_SIZE && core_size) { in spdif_header_dts4()
313 ctx->pkt_offset = blocks << 7; in spdif_header_dts()
315 if (ctx->out_bytes == ctx->pkt_offset) { in spdif_header_dts()
320 } else if (ctx->out_bytes > ctx->pkt_offset - BURST_HEADER_SIZE) { in spdif_header_dts()
348 ctx->pkt_offset = 4608; in spdif_header_mpeg()
351 ctx->pkt_offset = spdif_mpeg_pkt_offset[version & 1][layer]; in spdif_header_mpeg()
370 ctx->pkt_offset = samples << 2; in spdif_header_aac()
557 ctx->pkt_offset = 0; in spdif_header_truehd()
562 ctx->pkt_offset = MAT_PKT_OFFSET; in spdif_header_truehd()
638 if (!ctx->pkt_offset) in spdif_write_packet()
641 padding = (ctx->pkt_offset - ctx->use_preamble * BURST_HEADER_SIZE - ctx->out_bytes) & ~1; in spdif_write_packet()
671 ctx->data_type, ctx->out_bytes, ctx->pkt_offset); in spdif_write_packet()