/third_party/ffmpeg/tests/ref/fate/ |
D | mov-aac-2048-priming | 1 packet|codec_type=audio|stream_index=0|pts=-2048|pts_time=-0.046440|dts=-2048|dts_time=-0.046440|du… 3 packet|codec_type=audio|stream_index=0|pts=-1024|pts_time=-0.023220|dts=-1024|dts_time=-0.023220|du… 4 packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=102… 5 packet|codec_type=audio|stream_index=0|pts=1024|pts_time=0.023220|dts=1024|dts_time=0.023220|durati… 6 packet|codec_type=audio|stream_index=0|pts=2048|pts_time=0.046440|dts=2048|dts_time=0.046440|durati… 7 packet|codec_type=audio|stream_index=0|pts=3072|pts_time=0.069660|dts=3072|dts_time=0.069660|durati… 8 packet|codec_type=audio|stream_index=0|pts=4096|pts_time=0.092880|dts=4096|dts_time=0.092880|durati… 9 packet|codec_type=audio|stream_index=0|pts=5120|pts_time=0.116100|dts=5120|dts_time=0.116100|durati… 10 packet|codec_type=audio|stream_index=0|pts=6144|pts_time=0.139320|dts=6144|dts_time=0.139320|durati… 11 packet|codec_type=audio|stream_index=0|pts=7168|pts_time=0.162540|dts=7168|dts_time=0.162540|durati… [all …]
|
D | mov-init-nonkeyframe | 1 packet|codec_type=video|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=100… 2 packet|codec_type=video|stream_index=0|pts=2002|pts_time=0.066733|dts=1001|dts_time=0.033367|durati… 3 packet|codec_type=video|stream_index=0|pts=7007|pts_time=0.233567|dts=2002|dts_time=0.066733|durati… 4 packet|codec_type=video|stream_index=0|pts=5005|pts_time=0.166833|dts=3003|dts_time=0.100100|durati… 5 packet|codec_type=video|stream_index=0|pts=4004|pts_time=0.133467|dts=4004|dts_time=0.133467|durati… 6 packet|codec_type=video|stream_index=0|pts=6006|pts_time=0.200200|dts=5005|dts_time=0.166833|durati… 7 packet|codec_type=video|stream_index=0|pts=11011|pts_time=0.367033|dts=6006|dts_time=0.200200|durat… 8 packet|codec_type=video|stream_index=0|pts=9009|pts_time=0.300300|dts=7007|dts_time=0.233567|durati… 9 packet|codec_type=video|stream_index=0|pts=8008|pts_time=0.266933|dts=8008|dts_time=0.266933|durati… 10 packet|codec_type=video|stream_index=0|pts=10010|pts_time=0.333667|dts=9009|dts_time=0.300300|durat… [all …]
|
D | ffprobe_json | 5 "codec_type": "audio", 38 "codec_type": "video", 78 "codec_type": "video", 118 "codec_type": "audio", 151 "codec_type": "video", 191 "codec_type": "video", 231 "codec_type": "audio", 264 "codec_type": "audio", 297 "codec_type": "video", 337 "codec_type": "video", [all …]
|
D | mov-zombie | 1 packet|codec_type=video|stream_index=0|pts=0|pts_time=0.000000|dts=-3004|dts_time=-0.033378|duratio… 2 packet|codec_type=video|stream_index=0|pts=5440|pts_time=0.060444|dts=-567|dts_time=-0.006300|durat… 5 packet|codec_type=video|stream_index=0|pts=2437|pts_time=0.027078|dts=2436|dts_time=0.027067|durati… 8 packet|codec_type=video|stream_index=0|pts=11446|pts_time=0.127178|dts=5439|dts_time=0.060433|durat… 11 packet|codec_type=video|stream_index=0|pts=8443|pts_time=0.093811|dts=8442|dts_time=0.093800|durati… 14 packet|codec_type=video|stream_index=0|pts=17452|pts_time=0.193911|dts=11445|dts_time=0.127167|dura… 17 packet|codec_type=video|stream_index=0|pts=14449|pts_time=0.160544|dts=14448|dts_time=0.160533|dura… 20 packet|codec_type=video|stream_index=0|pts=23458|pts_time=0.260644|dts=17451|dts_time=0.193900|dura… 23 packet|codec_type=video|stream_index=0|pts=20455|pts_time=0.227278|dts=20454|dts_time=0.227267|dura… 26 packet|codec_type=video|stream_index=0|pts=29464|pts_time=0.327378|dts=23457|dts_time=0.260633|dura… [all …]
|
D | ffprobe_default | 2 codec_type=audio 34 codec_type=video 77 codec_type=video 120 codec_type=audio 152 codec_type=video 195 codec_type=video 238 codec_type=audio 270 codec_type=audio 302 codec_type=video 345 codec_type=video [all …]
|
D | ffprobe_ini | 4 codec_type=audio 36 codec_type=video 79 codec_type=video 122 codec_type=audio 154 codec_type=video 197 codec_type=video 240 codec_type=audio 272 codec_type=audio 304 codec_type=video 347 codec_type=video [all …]
|
D | ffprobe_compact | 1 packet|codec_type=audio|stream_index=0|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=102… 3 packet|codec_type=video|stream_index=1|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=204… 5 packet|codec_type=video|stream_index=2|pts=0|pts_time=0.000000|dts=0|dts_time=0.000000|duration=204… 7 packet|codec_type=audio|stream_index=0|pts=1024|pts_time=0.023220|dts=1024|dts_time=0.023220|durati… 9 packet|codec_type=video|stream_index=1|pts=2048|pts_time=0.040000|dts=2048|dts_time=0.040000|durati… 11 packet|codec_type=video|stream_index=2|pts=2048|pts_time=0.040000|dts=2048|dts_time=0.040000|durati… 13 packet|codec_type=audio|stream_index=0|pts=2048|pts_time=0.046440|dts=2048|dts_time=0.046440|durati… 15 packet|codec_type=audio|stream_index=0|pts=3072|pts_time=0.069660|dts=3072|dts_time=0.069660|durati… 17 packet|codec_type=video|stream_index=1|pts=4096|pts_time=0.080000|dts=4096|dts_time=0.080000|durati… 19 packet|codec_type=video|stream_index=2|pts=4096|pts_time=0.080000|dts=4096|dts_time=0.080000|durati… [all …]
|
D | ffprobe_flat | 1 packets_and_frames.packet.0.codec_type="audio" 29 packets_and_frames.packet.1.codec_type="video" 68 packets_and_frames.packet.2.codec_type="video" 107 packets_and_frames.packet.3.codec_type="audio" 135 packets_and_frames.packet.4.codec_type="video" 174 packets_and_frames.packet.5.codec_type="video" 213 packets_and_frames.packet.6.codec_type="audio" 241 packets_and_frames.packet.7.codec_type="audio" 269 packets_and_frames.packet.8.codec_type="video" 308 packets_and_frames.packet.9.codec_type="video" [all …]
|
/third_party/ffmpeg/libavformat/ |
D | rtp.c | 37 enum AVMediaType codec_type; member 78 par->codec_type = rtp_payload_types[i].codec_type; in ff_rtp_get_codec_info() 116 if (par->codec_type == AVMEDIA_TYPE_AUDIO && in ff_rtp_get_payload_type() 126 idx = par->codec_type == AVMEDIA_TYPE_AUDIO; in ff_rtp_get_payload_type() 143 enum AVCodecID ff_rtp_codec_id(const char *buf, enum AVMediaType codec_type) in ff_rtp_codec_id() argument 148 …av_strcasecmp(buf, rtp_payload_types[i].enc_name) && (codec_type == rtp_payload_types[i].codec_typ… in ff_rtp_codec_id()
|
D | oggparseogm.c | 57 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in ogm_header() 65 st->codecpar->codec_type = AVMEDIA_TYPE_SUBTITLE; in ogm_header() 71 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in ogm_header() 94 if(st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO){ in ogm_header() 151 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in ogm_dshow_header() 160 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in ogm_dshow_header()
|
D | rtpdec_mpeg12.c | 38 if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO && h & (1 << 26)) { in mpeg_parse_packet() 53 .codec_type = AVMEDIA_TYPE_AUDIO, 61 .codec_type = AVMEDIA_TYPE_VIDEO,
|
D | moflex.c | 173 unsigned codec_type, width = 0, height = 0, sample_rate = 0, channels = 0; in moflex_read_sync() local 186 codec_type = AVMEDIA_TYPE_AUDIO; in moflex_read_sync() 202 codec_type = AVMEDIA_TYPE_VIDEO; in moflex_read_sync() 218 codec_type = AVMEDIA_TYPE_DATA; in moflex_read_sync() 230 st->codecpar->codec_type = codec_type; in moflex_read_sync() 333 if (s->streams[stream_index]->codecpar->codec_type == AVMEDIA_TYPE_VIDEO) { in moflex_read_packet()
|
D | avienc.c | 219 if (par->codec_type == AVMEDIA_TYPE_VIDEO) in avi_write_counters() 251 ffio_wfourcc(pb, avi_stream2fourcc(tag, stream_index, par->codec_type)); in write_odml_master() 306 if (par->codec_type == AVMEDIA_TYPE_VIDEO) { in avi_write_header() 369 switch (par->codec_type) { in avi_write_header() 390 if (par->codec_type == AVMEDIA_TYPE_VIDEO || in avi_write_header() 403 if ( par->codec_type == AVMEDIA_TYPE_VIDEO in avi_write_header() 426 if (par->codec_type == AVMEDIA_TYPE_VIDEO) in avi_write_header() 428 else if (par->codec_type == AVMEDIA_TYPE_AUDIO) in avi_write_header() 439 if (par->codec_type != AVMEDIA_TYPE_DATA) { in avi_write_header() 444 switch (par->codec_type) { in avi_write_header() [all …]
|
D | webmdashenc.c | 184 bandwidth_str = (par->codec_type == AVMEDIA_TYPE_AUDIO) ? "128000" : "1000000"; in write_representation() 189 if (par->codec_type == AVMEDIA_TYPE_VIDEO && output_width) in write_representation() 191 if (par->codec_type == AVMEDIA_TYPE_VIDEO && output_height) in write_representation() 193 if (par->codec_type == AVMEDIA_TYPE_AUDIO && output_sample_rate) in write_representation() 199 par->codec_type == AVMEDIA_TYPE_VIDEO ? "video" : "audio"); in write_representation() 318 if (par->codec_type == AVMEDIA_TYPE_VIDEO) { in write_adaptation_set() 327 par->codec_type == AVMEDIA_TYPE_VIDEO ? "video" : "audio"); in write_adaptation_set() 334 if (par->codec_type == AVMEDIA_TYPE_VIDEO && width_in_as) in write_adaptation_set() 336 if (par->codec_type == AVMEDIA_TYPE_VIDEO && height_in_as) in write_adaptation_set() 338 if (par->codec_type == AVMEDIA_TYPE_AUDIO && sample_rate_in_as) in write_adaptation_set() [all …]
|
D | gxf.c | 117 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in get_sindex() 125 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in get_sindex() 131 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in get_sindex() 137 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in get_sindex() 142 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in get_sindex() 152 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in get_sindex() 162 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in get_sindex() 170 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in get_sindex() 178 st->codecpar->codec_type = AVMEDIA_TYPE_DATA; in get_sindex() 182 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in get_sindex() [all …]
|
D | smjpegenc.c | 61 if (par->codec_type == AVMEDIA_TYPE_AUDIO) { in smjpeg_write_header() 74 } else if (par->codec_type == AVMEDIA_TYPE_VIDEO) { in smjpeg_write_header() 102 if (par->codec_type == AVMEDIA_TYPE_AUDIO) in smjpeg_write_packet() 104 else if (par->codec_type == AVMEDIA_TYPE_VIDEO) in smjpeg_write_packet()
|
D | rawdec.c | 61 st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in ff_raw_audio_read_header() 84 st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in ff_raw_video_read_header() 100 st->codecpar->codec_type = AVMEDIA_TYPE_SUBTITLE; in ff_raw_subtitle_read_header() 111 st->codecpar->codec_type = AVMEDIA_TYPE_DATA; in ff_raw_data_read_header()
|
D | rtpdec.c | 41 .codec_type = AVMEDIA_TYPE_AUDIO, 47 .codec_type = AVMEDIA_TYPE_AUDIO, 53 .codec_type = AVMEDIA_TYPE_AUDIO, 59 .codec_type = AVMEDIA_TYPE_AUDIO, 65 .codec_type = AVMEDIA_TYPE_AUDIO, 71 .codec_type = AVMEDIA_TYPE_SUBTITLE, 150 enum AVMediaType codec_type) in ff_rtp_handler_find_by_name() argument 157 codec_type == handler->codec_type) in ff_rtp_handler_find_by_name() 164 enum AVMediaType codec_type) in ff_rtp_handler_find_by_id() argument 170 codec_type == handler->codec_type) in ff_rtp_handler_find_by_id()
|
D | swfdec.c | 205 ast->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; in create_new_audio_stream() 244 if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO && st->id == ch_id) in swf_read_packet() 257 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in swf_read_packet() 266 if (st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO && st->id == -1) in swf_read_packet() 283 if (st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO && st->id == ch_id) in swf_read_packet() 310 if (st->codecpar->codec_type == AVMEDIA_TYPE_VIDEO && st->id == ch_id) { in swf_read_packet() 415 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in swf_read_packet() 481 if (st->codecpar->codec_type == AVMEDIA_TYPE_AUDIO && st->id == -1) { in swf_read_packet() 511 vst->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in swf_read_packet()
|
D | rtpdec_g726.c | 40 .codec_type = AVMEDIA_TYPE_AUDIO, \ 46 .codec_type = AVMEDIA_TYPE_AUDIO, \
|
/third_party/ffmpeg/libavcodec/ |
D | codec_par.c | 37 par->codec_type = AVMEDIA_TYPE_UNKNOWN; in codec_parameters_reset() 95 par->codec_type = codec->codec_type; in avcodec_parameters_from_context() 105 switch (par->codec_type) { in avcodec_parameters_from_context() 150 codec->codec_type = par->codec_type; in avcodec_parameters_to_context() 160 switch (par->codec_type) { in avcodec_parameters_to_context()
|
D | avcodec.c | 119 switch (ctx->codec_type) { in get_bit_rate() 285 if ((avctx->codec_type == AVMEDIA_TYPE_UNKNOWN || avctx->codec_type == codec->type) && in avcodec_open2() 287 avctx->codec_type = codec->type; in avcodec_open2() 290 if (avctx->codec_id != codec->id || (avctx->codec_type != codec->type in avcodec_open2() 291 && avctx->codec_type != AVMEDIA_TYPE_ATTACHMENT)) { in avcodec_open2() 315 if (avctx->codec_type == AVMEDIA_TYPE_AUDIO && in avcodec_open2() 389 if (avctx->codec_type != AVMEDIA_TYPE_SUBTITLE) { in avcodec_open2() 654 const char *codec_type; in avcodec_string() local 665 codec_type = av_get_media_type_string(enc->codec_type); in avcodec_string() 669 snprintf(buf, buf_size, "%s: %s", codec_type ? codec_type : "unknown", in avcodec_string() [all …]
|
D | imm5.c | 95 int codec_type = avpkt->data[1]; in imm5_decode_frame() local 100 if (codec_type == 0xA) { in imm5_decode_frame() 115 if (codec_type == 2) { in imm5_decode_frame() 125 if (codec_type == 2) { in imm5_decode_frame()
|
/third_party/ffmpeg/doc/examples/ |
D | transcoding.c | 98 if (codec_ctx->codec_type == AVMEDIA_TYPE_VIDEO in open_input_file() 99 || codec_ctx->codec_type == AVMEDIA_TYPE_AUDIO) { in open_input_file() 100 if (codec_ctx->codec_type == AVMEDIA_TYPE_VIDEO) in open_input_file() 147 if (dec_ctx->codec_type == AVMEDIA_TYPE_VIDEO in open_output_file() 148 || dec_ctx->codec_type == AVMEDIA_TYPE_AUDIO) { in open_output_file() 164 if (dec_ctx->codec_type == AVMEDIA_TYPE_VIDEO) { in open_output_file() 201 } else if (dec_ctx->codec_type == AVMEDIA_TYPE_UNKNOWN) { in open_output_file() 253 if (dec_ctx->codec_type == AVMEDIA_TYPE_VIDEO) { in init_filter() 290 } else if (dec_ctx->codec_type == AVMEDIA_TYPE_AUDIO) { in init_filter() 397 if (!(ifmt_ctx->streams[i]->codecpar->codec_type == AVMEDIA_TYPE_AUDIO in init_filters() [all …]
|
/third_party/ffmpeg/libavcodec/mips/ |
D | pixblockdsp_init_mips.c | 33 if (!high_bit_depth || avctx->codec_type != AVMEDIA_TYPE_VIDEO) { in ff_pixblockdsp_init_mips() 49 if (avctx->bits_per_raw_sample <= 8 || avctx->codec_type != in ff_pixblockdsp_init_mips()
|