Lines Matching defs:out_bytes
66 int out_bytes; ///< amount of outgoing bytes
85 /// Sets data_type and pkt_offset, and length_code, out_bytes, out_buf if necessary
137 ctx->out_bytes = ctx->hd_buf_filled;
223 ctx->out_bytes = sizeof(dtshd_start_code) + 2 + pkt_size;
227 ctx->length_code = FFALIGN(ctx->out_bytes + 0x8, 0x10) - 0x8;
229 av_fast_malloc(&ctx->hd_buf, &ctx->hd_buf_size, ctx->out_bytes);
300 ctx->out_bytes = core_size;
306 if (ctx->out_bytes == ctx->pkt_offset) {
311 } else if (ctx->out_bytes > ctx->pkt_offset - BURST_HEADER_SIZE) {
437 ctx->out_bytes = MAT_FRAME_SIZE;
500 ctx->out_bytes = pkt->size;
511 padding = (ctx->pkt_offset - ctx->use_preamble * BURST_HEADER_SIZE - ctx->out_bytes) & ~1;
525 avio_write(s->pb, ctx->out_buf, ctx->out_bytes & ~1);
527 av_fast_malloc(&ctx->buffer, &ctx->buffer_size, ctx->out_bytes + FF_INPUT_BUFFER_PADDING_SIZE);
530 ff_spdif_bswap_buf16((uint16_t *)ctx->buffer, (uint16_t *)ctx->out_buf, ctx->out_bytes >> 1);
531 avio_write(s->pb, ctx->buffer, ctx->out_bytes & ~1);
535 if (ctx->out_bytes & 1)
536 spdif_put_16(ctx, s->pb, ctx->out_buf[ctx->out_bytes - 1] << 8);
541 ctx->data_type, ctx->out_bytes, ctx->pkt_offset);