Home
last modified time | relevance | path

Searched refs:video_st (Results 1 - 10 of 10) sorted by relevance

/third_party/ffmpeg/doc/examples/
H A Dqsvdec.c112 AVStream *video_st = NULL; in main() local
141 if (st->codecpar->codec_id == AV_CODEC_ID_H264 && !video_st) in main()
142 video_st = st; in main()
146 if (!video_st) { in main()
172 if (video_st->codecpar->extradata_size) { in main()
173 decoder_ctx->extradata = av_mallocz(video_st->codecpar->extradata_size + in main()
179 memcpy(decoder_ctx->extradata, video_st->codecpar->extradata, in main()
180 video_st->codecpar->extradata_size); in main()
181 decoder_ctx->extradata_size = video_st->codecpar->extradata_size; in main()
215 if (pkt->stream_index == video_st in main()
[all...]
H A Dmuxing.c541 OutputStream video_st = { 0 }, audio_st = { 0 }; in main() local
583 add_stream(&video_st, oc, &video_codec, fmt->video_codec); in main()
596 open_video(oc, video_codec, &video_st, opt); in main()
624 (!encode_audio || av_compare_ts(video_st.next_pts, video_st.enc->time_base, in main()
626 encode_video = !write_video_frame(oc, &video_st); in main()
636 close_stream(oc, &video_st); in main()
/third_party/ffmpeg/libavformat/
H A Dmxg.c44 AVStream *video_st, *audio_st; in mxg_read_header() local
48 video_st = avformat_new_stream(s, NULL); in mxg_read_header()
49 if (!video_st) in mxg_read_header()
51 video_st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in mxg_read_header()
52 video_st->codecpar->codec_id = AV_CODEC_ID_MXPEG; in mxg_read_header()
53 avpriv_set_pts_info(video_st, 64, 1, 1000000); in mxg_read_header()
H A Dswfenc.c45 AVStream *video_st; member
231 swf->video_st = s->streams[i]; in swf_write_header()
250 rate = swf->video_st->time_base.den; in swf_write_header()
251 rate_base = swf->video_st->time_base.num; in swf_write_header()
H A Davienc.c266 AVStream *video_st = NULL; in avi_write_header() local
305 video_st = st; in avi_write_header()
328 if (video_st) in avi_write_header()
329 avio_wl32(pb, (uint32_t) (INT64_C(1000000) * video_st->time_base.num / in avi_write_header()
330 video_st->time_base.den)); in avi_write_header()
H A Dmovenc.c5870 AVStream *video_st = s->streams[0]; local
5874 int64_t frame_rate = video_st->avg_frame_rate.den ?
5875 (video_st->avg_frame_rate.num * 0x10000LL) / video_st->avg_frame_rate.den :
/third_party/ffmpeg/fftools/
H A Dffplay.c284 AVStream *video_st; member
1238 is->video_st = NULL; in stream_component_close()
1358 else if (is->video_st) in video_display()
1413 if (is->video_st) in get_master_sync_type()
1582 if (is->video_st) { in video_refresh()
1694 if (is->video_st) in video_refresh()
1699 if (is->audio_st && is->video_st) in video_refresh()
1701 else if (is->video_st) in video_refresh()
1710 (is->audio_st && is->video_st) ? "A-V" : (is->video_st in video_refresh()
[all...]
/third_party/ffmpeg/libavformat/tests/
H A Dmovenc.c60 AVStream *video_st, *audio_st; variable
209 video_st = st; in init_fps()
233 duration = video_st->time_base.den / fps; in init_fps()
255 if (av_compare_ts(audio_dts, audio_st->time_base, video_dts, video_st->time_base) < 0) { in mux_frames()
/third_party/ffmpeg/libavdevice/
H A Ddecklink_dec.cpp816 AVRational frame_rate = ctx->video_st->r_frame_rate; in get_frame_timecode()
860 AVRational frame_duration = av_inv_q(ctx->video_st->r_frame_rate); in VideoInputFrameArrived()
887 ctx->video_st->time_base.den); in VideoInputFrameArrived()
926 if (av_cmp_q(ctx->video_st->r_frame_rate, av_make_q(60, 1)) < 1) { in VideoInputFrameArrived()
963 pkt.pts = get_pkt_pts(videoFrame, audioFrame, wallclock, abs_wallclock, ctx->video_pts_source, ctx->video_st->time_base, &initial_video_pts, cctx->copyts); in VideoInputFrameArrived()
969 pkt.stream_index = ctx->video_st->index; in VideoInputFrameArrived()
1364 ctx->video_st=st; in ff_decklink_read_header()
1436 if (ctx->tc_format && !(av_dict_get(ctx->video_st->metadata, "timecode", NULL, 0))) { in ff_decklink_read_packet()
1440 if (av_packet_unpack_dictionary(side_metadata, size, &ctx->video_st->metadata) < 0) in ff_decklink_read_packet()
H A Ddecklink_common.h125 AVStream *video_st; member

Completed in 23 milliseconds