Home
last modified time | relevance | path

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

/third_party/ffmpeg/doc/examples/
Dtranscoding.c56 static StreamContext *stream_ctx; variable
74 stream_ctx = av_mallocz_array(ifmt_ctx->nb_streams, sizeof(*stream_ctx)); in open_input_file()
75 if (!stream_ctx) in open_input_file()
109 stream_ctx[i].dec_ctx = codec_ctx; in open_input_file()
111 stream_ctx[i].dec_frame = av_frame_alloc(); in open_input_file()
112 if (!stream_ctx[i].dec_frame) in open_input_file()
145 dec_ctx = stream_ctx[i].dec_ctx; in open_output_file()
200 stream_ctx[i].enc_ctx = enc_ctx; in open_output_file()
406 ret = init_filter(&filter_ctx[i], stream_ctx[i].dec_ctx, in init_filters()
407 stream_ctx[i].enc_ctx, filter_spec); in init_filters()
[all …]
/third_party/grpc/src/core/ext/transport/chttp2/transport/
Dwriting.cc649 StreamWriteContext stream_ctx(&ctx, s); in grpc_chttp2_begin_write() local
651 stream_ctx.FlushInitialMetadata(); in grpc_chttp2_begin_write()
652 stream_ctx.FlushWindowUpdates(); in grpc_chttp2_begin_write()
653 stream_ctx.FlushData(); in grpc_chttp2_begin_write()
654 stream_ctx.FlushTrailingMetadata(); in grpc_chttp2_begin_write()
662 if (stream_ctx.stream_became_writable()) { in grpc_chttp2_begin_write()