Lines Matching defs:buffer
63 uint8_t *buffer; ///< allocated buffer, used for swap bytes
64 int buffer_size; ///< size of allocated buffer
73 int hd_buf_size; ///< size of the hd audio buffer (eac3, dts4)
74 int hd_buf_count; ///< number of frames in the hd audio buffer (eac3)
75 int hd_buf_filled; ///< amount of bytes in the hd audio buffer (eac3, truehd)
76 int hd_buf_idx; ///< active hd buffer index (truehd)
553 av_log(s, AV_LOG_TRACE, "TrueHD frame inserted, total size %d, buffer position %d\n",
610 av_freep(&ctx->buffer);
657 av_fast_malloc(&ctx->buffer, &ctx->buffer_size, ctx->out_bytes + AV_INPUT_BUFFER_PADDING_SIZE);
658 if (!ctx->buffer)
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);