Lines Matching refs:out_bytes
65 int out_bytes; ///< amount of outgoing bytes
84 /// Sets data_type and pkt_offset, and length_code, out_bytes, out_buf if necessary
136 ctx->out_bytes = ctx->hd_buf_filled;
222 ctx->out_bytes = sizeof(dtshd_start_code) + 2 + pkt_size;
226 ctx->length_code = FFALIGN(ctx->out_bytes + 0x8, 0x10) - 0x8;
228 av_fast_malloc(&ctx->hd_buf, &ctx->hd_buf_size, ctx->out_bytes);
299 ctx->out_bytes = core_size;
305 if (ctx->out_bytes == ctx->pkt_offset) {
310 } else if (ctx->out_bytes > ctx->pkt_offset - BURST_HEADER_SIZE) {
436 ctx->out_bytes = MAT_FRAME_SIZE;
499 ctx->out_bytes = pkt->size;
510 padding = (ctx->pkt_offset - ctx->use_preamble * BURST_HEADER_SIZE - ctx->out_bytes) & ~1;
524 avio_write(s->pb, ctx->out_buf, ctx->out_bytes & ~1);
526 av_fast_malloc(&ctx->buffer, &ctx->buffer_size, ctx->out_bytes + FF_INPUT_BUFFER_PADDING_SIZE);
529 ff_spdif_bswap_buf16((uint16_t *)ctx->buffer, (uint16_t *)ctx->out_buf, ctx->out_bytes >> 1);
530 avio_write(s->pb, ctx->buffer, ctx->out_bytes & ~1);
534 if (ctx->out_bytes & 1)
535 spdif_put_16(ctx, s->pb, ctx->out_buf[ctx->out_bytes - 1] << 8);
540 ctx->data_type, ctx->out_bytes, ctx->pkt_offset);