Home
last modified time | relevance | path

Searched refs:hd_buf (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Dspdifenc.c72 uint8_t *hd_buf[2]; ///< allocated buffers to concatenate hd audio frames member
131 tmp = av_fast_realloc(ctx->hd_buf[0], &ctx->hd_buf_size, ctx->hd_buf_filled + pkt->size); in spdif_header_eac3()
134 ctx->hd_buf[0] = tmp; in spdif_header_eac3()
136 memcpy(&ctx->hd_buf[0][ctx->hd_buf_filled], pkt->data, pkt->size); in spdif_header_eac3()
145 ctx->out_buf = ctx->hd_buf[0]; in spdif_header_eac3()
238 av_fast_malloc(&ctx->hd_buf[0], &ctx->hd_buf_size, ctx->out_bytes); in spdif_header_dts4()
239 if (!ctx->hd_buf[0]) in spdif_header_dts4()
242 ctx->out_buf = ctx->hd_buf[0]; in spdif_header_dts4()
244 memcpy(ctx->hd_buf[0], dtshd_start_code, sizeof(dtshd_start_code)); in spdif_header_dts4()
245 AV_WB16(ctx->hd_buf[0] + sizeof(dtshd_start_code), pkt_size); in spdif_header_dts4()
[all …]