Lines Matching refs:out_bytes
67 int out_bytes; ///< amount of outgoing bytes
91 /// Sets data_type and pkt_offset, and length_code, out_bytes, out_buf if necessary
146 ctx->out_bytes = ctx->hd_buf_filled;
232 ctx->out_bytes = sizeof(dtshd_start_code) + 2 + pkt_size;
236 ctx->length_code = FFALIGN(ctx->out_bytes + 0x8, 0x10) - 0x8;
238 av_fast_malloc(&ctx->hd_buf[0], &ctx->hd_buf_size, ctx->out_bytes);
309 ctx->out_bytes = core_size;
315 if (ctx->out_bytes == ctx->pkt_offset) {
320 } else if (ctx->out_bytes > ctx->pkt_offset - BURST_HEADER_SIZE) {
563 ctx->out_bytes = MAT_FRAME_SIZE;
630 ctx->out_bytes = pkt->size;
641 padding = (ctx->pkt_offset - ctx->use_preamble * BURST_HEADER_SIZE - ctx->out_bytes) & ~1;
655 avio_write(s->pb, ctx->out_buf, ctx->out_bytes & ~1);
657 av_fast_malloc(&ctx->buffer, &ctx->buffer_size, ctx->out_bytes + AV_INPUT_BUFFER_PADDING_SIZE);
660 ff_spdif_bswap_buf16((uint16_t *)ctx->buffer, (const uint16_t *)ctx->out_buf, ctx->out_bytes >> 1);
661 avio_write(s->pb, ctx->buffer, ctx->out_bytes & ~1);
665 if (ctx->out_bytes & 1)
666 spdif_put_16(ctx, s->pb, ctx->out_buf[ctx->out_bytes - 1] << 8);
671 ctx->data_type, ctx->out_bytes, ctx->pkt_offset);