Home
last modified time | relevance | path

Searched refs:ost (Results 1 - 15 of 15) sorted by relevance

/third_party/ffmpeg/fftools/
H A Dffmpeg_mux.c35 static void close_all_output_streams(OutputStream *ost, OSTFinished this_stream, OSTFinished others) in close_all_output_streams() argument
40 ost2->finished |= ost == ost2 ? this_stream : others; in close_all_output_streams()
44 void of_write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, in of_write_packet() argument
48 AVStream *st = ost->st; in of_write_packet()
59 if (!(st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO && ost->encoding_needed) && !unqueue) { in of_write_packet()
60 if (ost->frame_number >= ost->max_frames) { in of_write_packet()
64 ost->frame_number++; in of_write_packet()
70 if (!av_fifo_can_write(ost->muxing_queue)) { in of_write_packet()
71 size_t cur_size = av_fifo_can_read(ost in of_write_packet()
235 OutputStream *ost = output_streams[of->ost_index + i]; of_check_init() local
264 OutputStream *ost = output_streams[of->ost_index + i]; of_check_init() local
[all...]
H A Dffmpeg.c570 OutputStream *ost = output_streams[i]; in ffmpeg_cleanup() local
572 if (!ost) in ffmpeg_cleanup()
575 av_bsf_free(&ost->bsf_ctx); in ffmpeg_cleanup()
577 av_frame_free(&ost->filtered_frame); in ffmpeg_cleanup()
578 av_frame_free(&ost->last_frame); in ffmpeg_cleanup()
579 av_packet_free(&ost->pkt); in ffmpeg_cleanup()
580 av_dict_free(&ost->encoder_opts); in ffmpeg_cleanup()
582 av_freep(&ost->forced_keyframes); in ffmpeg_cleanup()
583 av_expr_free(ost->forced_keyframes_pexpr); in ffmpeg_cleanup()
584 av_freep(&ost in ffmpeg_cleanup()
702 close_output_stream(OutputStream *ost) close_output_stream() argument
725 output_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost, int eof) output_packet() argument
751 check_recording_time(OutputStream *ost) check_recording_time() argument
764 adjust_frame_pts_to_encoder_tb(OutputFile *of, OutputStream *ost, AVFrame *frame) adjust_frame_pts_to_encoder_tb() argument
811 init_output_stream_wrapper(OutputStream *ost, AVFrame *frame, unsigned int fatal) init_output_stream_wrapper() argument
837 update_video_stats(OutputStream *ost, const AVPacket *pkt, int write_vstats) update_video_stats() argument
892 encode_frame(OutputFile *of, OutputStream *ost, AVFrame *frame) encode_frame() argument
974 do_audio_out(OutputFile *of, OutputStream *ost, AVFrame *frame) do_audio_out() argument
994 do_subtitle_out(OutputFile *of, OutputStream *ost, AVSubtitle *sub) do_subtitle_out() argument
1078 do_video_out(OutputFile *of, OutputStream *ost, AVFrame *next_picture) do_video_out() argument
1294 finish_output_stream(OutputStream *ost) finish_output_stream() argument
1320 OutputStream *ost = output_streams[i]; reap_filters() local
1400 OutputStream *ost = output_streams[i]; print_final_stats() local
1472 OutputStream *ost = output_streams[of->ost_index + j]; print_final_stats() local
1510 OutputStream *ost; print_report() local
1740 OutputStream *ost = output_streams[i]; flush_encoders() local
1794 check_output_constraints(InputStream *ist, OutputStream *ost) check_output_constraints() argument
1811 do_streamcopy(InputStream *ist, OutputStream *ost, const AVPacket *pkt) do_streamcopy() argument
2333 OutputStream *ost = output_streams[i]; transcode_subtitles() local
2541 OutputStream *ost = output_streams[i]; process_input_packet() local
2666 get_input_stream(OutputStream *ost) get_input_stream() argument
2678 init_output_bsfs(OutputStream *ost) init_output_bsfs() argument
2707 init_output_stream_streamcopy(OutputStream *ost) init_output_stream_streamcopy() argument
2826 set_encoder_id(OutputFile *of, OutputStream *ost) set_encoder_id() argument
2867 parse_forced_key_frames(char *kf, OutputStream *ost, AVCodecContext *avctx) parse_forced_key_frames() argument
2930 init_encoder_time_base(OutputStream *ost, AVRational default_time_base) init_encoder_time_base() argument
2954 init_output_stream_encode(OutputStream *ost, AVFrame *frame) init_output_stream_encode() argument
3117 init_output_stream(OutputStream *ost, AVFrame *frame, char *error, int error_len) init_output_stream() argument
3280 OutputStream *ost; transcode_init() local
3463 OutputStream *ost = output_streams[i]; need_output() local
3495 OutputStream *ost = output_streams[i]; choose_output() local
3620 OutputStream *ost = output_streams[i]; check_keyboard_interaction() local
3961 OutputStream *ost = output_streams[j]; process_input() local
4239 OutputStream *ost; transcode_step() local
4331 OutputStream *ost; transcode() local
[all...]
H A Dffmpeg_opt.c1489 static int choose_encoder(OptionsContext *o, AVFormatContext *s, OutputStream *ost) in choose_encoder() argument
1491 enum AVMediaType type = ost->st->codecpar->codec_type; in choose_encoder()
1495 MATCH_PER_STREAM_OPT(codec_names, str, codec_name, s, ost->st); in choose_encoder()
1497 ost->st->codecpar->codec_id = av_guess_codec(s->oformat, NULL, s->url, in choose_encoder()
1498 NULL, ost->st->codecpar->codec_type); in choose_encoder()
1499 ost->enc = avcodec_find_encoder(ost->st->codecpar->codec_id); in choose_encoder()
1500 if (!ost->enc) { in choose_encoder()
1504 ost->file_index, ost in choose_encoder()
1526 OutputStream *ost; new_output_stream() local
1765 get_ost_filters(OptionsContext *o, AVFormatContext *oc, OutputStream *ost) get_ost_filters() argument
1785 check_streamcopy_filters(OptionsContext *o, AVFormatContext *oc, const OutputStream *ost, enum AVMediaType type) check_streamcopy_filters() argument
1802 OutputStream *ost; new_video_stream() local
2041 OutputStream *ost; new_audio_stream() local
2139 OutputStream *ost; new_data_stream() local
2152 OutputStream *ost; new_unknown_stream() local
2165 OutputStream *ost = new_output_stream(o, oc, AVMEDIA_TYPE_ATTACHMENT, source_index); new_attachment_stream() local
2174 OutputStream *ost; new_subtitle_stream() local
2270 OutputStream *ost = output_streams[of->ost_index + i]; set_dispositions() local
2287 OutputStream *ost = output_streams[of->ost_index + i]; set_dispositions() local
2313 OutputStream *ost = output_streams[of->ost_index + i]; set_dispositions() local
2331 OutputStream *ost; init_output_filter() local
2381 set_channel_layout(OutputFilter *f, OutputStream *ost) set_channel_layout() argument
2423 OutputStream *ost; open_output_file() local
2771 OutputStream *ost = output_streams[i]; open_output_file() local
[all...]
H A Dffmpeg_filter.c91 OutputStream *ost = ofilter->ost; in choose_pix_fmts() local
92 const AVDictionaryEntry *strict_dict = av_dict_get(ost->encoder_opts, "strict", NULL, 0); in choose_pix_fmts()
95 av_opt_set(ost->enc_ctx, "strict", strict_dict->value, 0); in choose_pix_fmts()
97 if (ost->keep_pix_fmt) { in choose_pix_fmts()
100 if (ost->enc_ctx->pix_fmt == AV_PIX_FMT_NONE) in choose_pix_fmts()
102 return av_get_pix_fmt_name(ost->enc_ctx->pix_fmt); in choose_pix_fmts()
104 if (ost->enc_ctx->pix_fmt != AV_PIX_FMT_NONE) { in choose_pix_fmts()
105 return av_get_pix_fmt_name(choose_pixel_fmt(ost->st, ost in choose_pix_fmts()
176 init_simple_filtergraph(InputStream *ist, OutputStream *ost) init_simple_filtergraph() argument
428 OutputStream *ost = ofilter->ost; configure_output_video_filter() local
523 OutputStream *ost = ofilter->ost; configure_output_audio_filter() local
1005 OutputStream *ost = fg->outputs[0]->ost; configure_filtergraph() local
1116 OutputStream *ost = fg->outputs[i]->ost; configure_filtergraph() local
[all...]
H A Dffmpeg_hw.c445 int hw_device_setup_for_encode(OutputStream *ost) in hw_device_setup_for_encode() argument
452 if (ost->filter) { in hw_device_setup_for_encode()
453 frames_ref = av_buffersink_get_hw_frames_ctx(ost->filter->filter); in hw_device_setup_for_encode()
456 ost->enc_ctx->pix_fmt) { in hw_device_setup_for_encode()
464 config = avcodec_get_hw_config(ost->enc, i); in hw_device_setup_for_encode()
471 config->pix_fmt == ost->enc_ctx->pix_fmt)) { in hw_device_setup_for_encode()
472 av_log(ost->enc_ctx, AV_LOG_VERBOSE, "Using input " in hw_device_setup_for_encode()
474 av_get_pix_fmt_name(ost->enc_ctx->pix_fmt), in hw_device_setup_for_encode()
475 ost->enc->name); in hw_device_setup_for_encode()
476 ost in hw_device_setup_for_encode()
[all...]
H A Dffmpeg.h268 struct OutputStream *ost; member
677 int init_simple_filtergraph(InputStream *ist, OutputStream *ost);
694 int hw_device_setup_for_encode(OutputStream *ost);
704 void of_write_packet(OutputFile *of, AVPacket *pkt, OutputStream *ost,
/third_party/ffmpeg/doc/examples/
H A Dmuxing.c126 static void add_stream(OutputStream *ost, AVFormatContext *oc, in add_stream() argument
141 ost->tmp_pkt = av_packet_alloc(); in add_stream()
142 if (!ost->tmp_pkt) { in add_stream()
147 ost->st = avformat_new_stream(oc, NULL); in add_stream()
148 if (!ost->st) { in add_stream()
152 ost->st->id = oc->nb_streams-1; in add_stream()
158 ost->enc = c; in add_stream()
174 ost->st->time_base = (AVRational){ 1, c->sample_rate }; in add_stream()
188 ost->st->time_base = (AVRational){ 1, STREAM_FRAME_RATE }; in add_stream()
189 c->time_base = ost in add_stream()
245 open_audio(AVFormatContext *oc, const AVCodec *codec, OutputStream *ost, AVDictionary *opt_arg) open_audio() argument
311 get_audio_frame(OutputStream *ost) get_audio_frame() argument
340 write_audio_frame(AVFormatContext *oc, OutputStream *ost) write_audio_frame() argument
409 open_video(AVFormatContext *oc, const AVCodec *codec, OutputStream *ost, AVDictionary *opt_arg) open_video() argument
475 get_video_frame(OutputStream *ost) get_video_frame() argument
521 write_video_frame(AVFormatContext *oc, OutputStream *ost) write_video_frame() argument
526 close_stream(AVFormatContext *oc, OutputStream *ost) close_stream() argument
[all...]
H A Dvaapi_transcode.c45 static AVStream *ost; variable
192 if (!(ost = avformat_new_stream(ofmt_ctx, enc_codec))) { in dec_enc()
198 ost->time_base = encoder_ctx->time_base; in dec_enc()
199 ret = avcodec_parameters_from_context(ost->codecpar, encoder_ctx); in dec_enc()
/third_party/ffmpeg/libavformat/
H A Doggdec.c85 struct ogg_state *ost = in ogg_save() local
86 av_malloc(sizeof(*ost) + (ogg->nstreams - 1) * sizeof(*ogg->streams)); in ogg_save()
90 if (!ost) in ogg_save()
93 ost->pos = avio_tell(s->pb); in ogg_save()
94 ost->curidx = ogg->curidx; in ogg_save()
95 ost->next = ogg->state; in ogg_save()
96 ost->nstreams = ogg->nstreams; in ogg_save()
97 memcpy(ost->streams, ogg->streams, ogg->nstreams * sizeof(*ogg->streams)); in ogg_save()
103 memcpy(os->buf, ost->streams[i].buf, os->bufpos); in ogg_save()
110 ogg->state = ost; in ogg_save()
122 struct ogg_state *ost = ogg->state; ogg_restore() local
[all...]
H A Dwebm_chunk.c56 AVStream *st, *ost = s->streams[0]; in webm_chunk_init() local
97 if ((ret = ff_stream_encode_params_copy(st, ost)) < 0) in webm_chunk_init()
123 avpriv_set_pts_info(ost, st->pts_wrap_bits, st->time_base.num, in webm_chunk_init()
H A Davformat.c634 AVStream *ost, const AVStream *ist, in avformat_transfer_internal_stream_timing_info()
638 AVCodecContext *const enc_ctx = ffstream(ost)->avctx; in avformat_transfer_internal_stream_timing_info()
678 if ((enc_ctx->codec_tag == AV_RL32("tmcd") || ost->codecpar->codec_tag == AV_RL32("tmcd")) in avformat_transfer_internal_stream_timing_info()
633 avformat_transfer_internal_stream_timing_info(const AVOutputFormat *ofmt, AVStream *ost, const AVStream *ist, enum AVTimebaseSource copy_tb) avformat_transfer_internal_stream_timing_info() argument
H A Dsegment.c995 AVStream *const ost = oc->streams[st->index]; in seg_check_bitstream() local
996 int ret = oc->oformat->check_bitstream(oc, ost, pkt); in seg_check_bitstream()
999 FFStream *const osti = ffstream(ost); in seg_check_bitstream()
H A Davformat.h2910 * @param ofmt target output format for ost
2911 * @param ost output stream which needs timings copy and adjustments
2916 AVStream *ost, const AVStream *ist,
H A Ddashenc.c2346 AVStream *const ost = oc->streams[0]; in dash_check_bitstream() local
2348 ret = oc->oformat->check_bitstream(oc, ost, avpkt); in dash_check_bitstream()
2351 FFStream *const osti = ffstream(ost); in dash_check_bitstream()
/third_party/node/src/
H A Dheap_utils.cc396 Local<ObjectTemplate> ost = os->InstanceTemplate(); in CreateHeapSnapshotStream() local
397 ost->SetInternalFieldCount(StreamBase::kInternalFieldCount); in CreateHeapSnapshotStream()
401 env->set_streambaseoutputstream_constructor_template(ost); in CreateHeapSnapshotStream()

Completed in 24 milliseconds