Home
last modified time | relevance | path

Searched refs:codec_tag (Results 1 – 25 of 185) sorted by relevance

12345678

/third_party/ffmpeg/libavcodec/
Drawdec.c76 if ( avctx->codec_tag == MKTAG('r','a','w',' ') in raw_init_decoder()
77 || avctx->codec_tag == MKTAG('N','O','1','6')) in raw_init_decoder()
80 else if (avctx->codec_tag == MKTAG('W', 'R', 'A', 'W')) in raw_init_decoder()
83 else if (avctx->codec_tag && (avctx->codec_tag & 0xFFFFFF) != MKTAG('B','I','T', 0)) in raw_init_decoder()
84 avctx->pix_fmt = avpriv_find_pix_fmt(ff_raw_pix_fmt_tags, avctx->codec_tag); in raw_init_decoder()
112 avctx->codec_tag == MKTAG('c','y','u','v') || in raw_init_decoder()
113 avctx->codec_tag == MKTAG(3, 0, 0, 0) || in raw_init_decoder()
114 avctx->codec_tag == MKTAG('W','R','A','W')) in raw_init_decoder()
123 if (avctx->codec_tag == MKTAG('B','1','W','0') || in raw_init_decoder()
124 avctx->codec_tag == MKTAG('B','0','W','1')) in raw_init_decoder()
[all …]
Drawenc.c45 if(!avctx->codec_tag) in raw_encode_init()
46 avctx->codec_tag = avcodec_pix_fmt_to_codec_tag(avctx->pix_fmt); in raw_encode_init()
69 if(avctx->codec_tag == AV_RL32("yuv2") && ret > 0 && in raw_encode()
74 } else if (avctx->codec_tag == AV_RL32("b64a") && ret > 0 && in raw_encode()
Dutvideoenc.c72 avctx->codec_tag = MKTAG('U', 'L', 'R', 'G'); in utvideo_encode_init()
77 avctx->codec_tag = MKTAG('U', 'L', 'R', 'A'); in utvideo_encode_init()
89 avctx->codec_tag = MKTAG('U', 'L', 'H', '0'); in utvideo_encode_init()
91 avctx->codec_tag = MKTAG('U', 'L', 'Y', '0'); in utvideo_encode_init()
102 avctx->codec_tag = MKTAG('U', 'L', 'H', '2'); in utvideo_encode_init()
104 avctx->codec_tag = MKTAG('U', 'L', 'Y', '2'); in utvideo_encode_init()
110 avctx->codec_tag = MKTAG('U', 'L', 'H', '4'); in utvideo_encode_init()
112 avctx->codec_tag = MKTAG('U', 'L', 'Y', '4'); in utvideo_encode_init()
Dhapdec.c143 if ((avctx->codec_tag == MKTAG('H','a','p','1') && (section_type & 0x0F) != HAP_FMT_RGBDXT1) || in hap_parse_frame_header()
144 (avctx->codec_tag == MKTAG('H','a','p','5') && (section_type & 0x0F) != HAP_FMT_RGBADXT5) || in hap_parse_frame_header()
145 … (avctx->codec_tag == MKTAG('H','a','p','Y') && (section_type & 0x0F) != HAP_FMT_YCOCGDXT5) || in hap_parse_frame_header()
146 (avctx->codec_tag == MKTAG('H','a','p','A') && (section_type & 0x0F) != HAP_FMT_RGTC1) || in hap_parse_frame_header()
147 ((avctx->codec_tag == MKTAG('H','a','p','M') && (section_type & 0x0F) != HAP_FMT_RGTC1) && in hap_parse_frame_header()
425 switch (avctx->codec_tag) { in hap_init()
/third_party/ffmpeg/libavformat/
Dvocenc.c41 if (!par->codec_tag && par->codec_id != AV_CODEC_ID_PCM_U8) { in voc_write_header()
61 if (par->codec_tag > 3) { in voc_write_packet()
67 avio_wl16(pb, par->codec_tag); in voc_write_packet()
74 avio_w8(pb, par->codec_tag); in voc_write_packet()
80 avio_w8(pb, par->codec_tag); in voc_write_packet()
109 .codec_tag = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 },
Dbink.c104 vst->codecpar->codec_tag = avio_rl32(pb); in read_header()
105 if (vst->codecpar->codec_tag == AV_RL32("SMUS")) { in read_header()
109 vst->codecpar->codec_tag = avio_rl32(pb); in read_header()
110 } while (!avio_feof(pb) && (vst->codecpar->codec_tag & 0xFFFFFF) != AV_RL32("BIK")); in read_header()
150 if ((vst->codecpar->codec_tag & 0xFFFFFF) == MKTAG('K', 'B', '2', 0)) { in read_header()
167 signature = (vst->codecpar->codec_tag & 0xFFFFFF); in read_header()
168 revision = ((vst->codecpar->codec_tag >> 24) % 0xFF); in read_header()
182 ast->codecpar->codec_tag = 0; in read_header()
197 AV_WL32(ast->codecpar->extradata, vst->codecpar->codec_tag); in read_header()
Drsd.c70 par->codec_tag = avio_rl32(pb); in rsd_read_header()
71 par->codec_id = ff_codec_get_id(rsd_tags, par->codec_tag); in rsd_read_header()
73 const char *tag_buf = av_fourcc2str(par->codec_tag); in rsd_read_header()
75 if (par->codec_tag == rsd_unsupported_tags[i]) { in rsd_read_header()
196 } else if (par->codec_tag == MKTAG('W','A','D','P') && in rsd_read_packet()
230 .codec_tag = (const AVCodecTag* const []){rsd_tags, 0},
Drsoenc.c34 if (!par->codec_tag) in rso_write_header()
59 avio_wb16(pb, par->codec_tag); /* codec ID */ in rso_write_header()
103 .codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0},
Domaenc.c61 switch (par->codec_tag) { in oma_write_header()
88 av_fourcc2str(par->codec_tag)); in oma_write_header()
105 .codec_tag = (const AVCodecTag* const []){ff_oma_codec_tags, 0},
Dastenc.c52 unsigned int codec_tag; in ast_write_header() local
66 codec_tag = ff_codec_get_tag(ff_codec_ast_tags, par->codec_id); in ast_write_header()
67 if (!codec_tag) { in ast_write_header()
85 avio_wb16(pb, codec_tag); in ast_write_header()
210 .codec_tag = (const AVCodecTag* const []){ff_codec_ast_tags, 0},
Diff.c302 st->codecpar->codec_tag = tag = avio_rl32(pb); in parse_dsd_prop()
440 st->codecpar->codec_tag = avio_rl32(pb); in iff_read_header()
441 if (st->codecpar->codec_tag == ID_ANIM) { in iff_read_header()
720 if (st->codecpar->codec_tag == ID_ANIM) in iff_read_header()
729 if (st->codecpar->codec_tag == ID_16SV) in iff_read_header()
731 else if (st->codecpar->codec_tag == ID_MAUD) { in iff_read_header()
744 } else if (st->codecpar->codec_tag != ID_DSD && in iff_read_header()
745 st->codecpar->codec_tag != ID_DST) { in iff_read_header()
766 …if ((st->codecpar->codec_tag == ID_DSD || st->codecpar->codec_tag == ID_MAUD) && st->codecpar->blo… in iff_read_header()
772 if (st->codecpar->codec_tag == ID_ANIM) in iff_read_header()
[all …]
Dlvfdec.c70 st->codecpar->codec_tag = avio_rl32(s->pb); in lvf_read_header()
72 st->codecpar->codec_tag); in lvf_read_header()
81 st->codecpar->codec_tag = avio_rl16(s->pb); in lvf_read_header()
87 st->codecpar->codec_tag); in lvf_read_header()
Divfdec.c50 st->codecpar->codec_tag = avio_rl32(s->pb); in read_header()
51 st->codecpar->codec_id = ff_codec_get_id(ff_codec_bmp_tags, st->codecpar->codec_tag); in read_header()
91 .codec_tag = (const AVCodecTag* const []){ ff_codec_bmp_tags, 0 },
Dau.c208 st->codecpar->codec_tag = id; in au_read_header()
231 .codec_tag = (const AVCodecTag* const []) { codec_au_tags, 0 },
291 par->codec_tag = ff_codec_get_tag(codec_au_tags, par->codec_id); in au_write_header()
292 if (!par->codec_tag) { in au_write_header()
310 avio_wb32(pb, par->codec_tag); /* codec ID */ in au_write_header()
350 .codec_tag = (const AVCodecTag* const []) { codec_au_tags, 0 },
Daiffenc.c124 if (!par->codec_tag) in aiff_write_header()
126 if (par->codec_tag != MKTAG('N','O','N','E')) in aiff_write_header()
181 avio_wl32(pb, par->codec_tag); in aiff_write_header()
185 if ( (par->codec_tag == MKTAG('Q','D','M','2') in aiff_write_header()
186 || par->codec_tag == MKTAG('Q','c','l','p')) && par->extradata_size) { in aiff_write_header()
307 .codec_tag = (const AVCodecTag* const []){ ff_codec_aiff_tags, 0 },
Driffenc.c65 if (!par->codec_tag || par->codec_tag > 0xffff) in ff_put_wav_header()
83 avio_wl16(pb, par->codec_tag); in ff_put_wav_header()
187 avio_wl32(pb, par->codec_tag); in ff_put_wav_header()
193 par->codec_tag != 0x0001 /* PCM */ || in ff_put_wav_header()
229 avio_wl32(pb, par->codec_tag || keep_height ? par->height : -par->height); in ff_put_bmp_header()
235 avio_wl32(pb, par->codec_tag); in ff_put_bmp_header()
Drpl.c153 vst->codecpar->codec_tag = video_format; in rpl_read_header()
159 switch (vst->codecpar->codec_tag) { in rpl_read_header()
175 av_fourcc2str(vst->codecpar->codec_tag)); in rpl_read_header()
198 ast->codecpar->codec_tag = audio_format; in rpl_read_header()
260 if (vst && rpl->frames_per_chunk > 1 && vst->codecpar->codec_tag != 124) in rpl_read_header()
263 "Video stream will be broken!\n", av_fourcc2str(vst->codecpar->codec_tag)); in rpl_read_header()
330 stream->codecpar->codec_tag == 124) { in rpl_read_packet()
Dsmjpegdec.c98 ast->codecpar->codec_tag = avio_rl32(pb); in smjpeg_read_header()
100 ast->codecpar->codec_tag); in smjpeg_read_header()
121 vst->codecpar->codec_tag = avio_rl32(pb); in smjpeg_read_header()
123 vst->codecpar->codec_tag); in smjpeg_read_header()
Dnuv.c100 vst->codecpar->codec_tag = avio_rl32(pb); in get_codec_data()
102 ff_codec_get_id(ff_codec_bmp_tags, vst->codecpar->codec_tag); in get_codec_data()
103 if (vst->codecpar->codec_tag == MKTAG('R', 'J', 'P', 'G')) in get_codec_data()
111 ast->codecpar->codec_tag = avio_rl32(pb); in get_codec_data()
125 id = ff_wav_codec_get_id(ast->codecpar->codec_tag, in get_codec_data()
128 id = ff_codec_get_id(nuv_audio_tags, ast->codecpar->codec_tag); in get_codec_data()
Drsodec.c63 st->codecpar->codec_tag = id; in rso_read_header()
82 .codec_tag = (const AVCodecTag* const []){ff_codec_rso_tags, 0},
Dcafenc.c111 unsigned int codec_tag = ff_codec_get_tag(ff_codec_caf_tags, par->codec_id); in caf_write_header() local
131 if (!codec_tag) { in caf_write_header()
151 avio_wl32(pb, codec_tag); //< mFormatID in caf_write_header()
277 .codec_tag = (const AVCodecTag* const []){ff_codec_caf_tags, 0},
/third_party/ffmpeg/tests/ref/fate/
Dmxf-probe-dnxhd7 codec_tag=0x0000
43 codec_tag=0x0000
79 codec_tag=0x0000
116 codec_tag=0x0000
Dmxf-probe-dv258 codec_tag=0x0000
62 codec_tag=0x0000
103 codec_tag=0x0000
/third_party/gstreamer/gstplugins_good/gst/flv/
Dgstflvdemux.c721 gst_flv_demux_audio_negotiate (GstFlvDemux * demux, guint32 codec_tag, in gst_flv_demux_audio_negotiate() argument
731 switch (codec_tag) { in gst_flv_demux_audio_negotiate()
871 GST_WARNING_OBJECT (demux, "unsupported audio codec tag %u", codec_tag); in gst_flv_demux_audio_negotiate()
911 demux->audio_codec_tag = codec_tag; in gst_flv_demux_audio_negotiate()
1025 guint32 pts = 0, codec_tag = 0, rate = 5512, width = 8, channels = 1; in gst_flv_demux_parse_tag_audio() local
1092 codec_tag = flags >> 4; in gst_flv_demux_parse_tag_audio()
1093 if (codec_tag == 10) { /* AAC has an extra byte for packet type */ in gst_flv_demux_parse_tag_audio()
1100 if (codec_tag == 5 || codec_tag == 14 || codec_tag == 7 || codec_tag == 8) in gst_flv_demux_parse_tag_audio()
1102 else if ((codec_tag == 4) || (codec_tag == 11)) in gst_flv_demux_parse_tag_audio()
1107 codec_tag, flags); in gst_flv_demux_parse_tag_audio()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Ddescriptions.c1155 const gchar * codec_tag, const GstCaps * caps) in gst_pb_utils_add_codec_description_to_tag_list() argument
1162 g_return_val_if_fail (codec_tag == NULL || (gst_tag_exists (codec_tag) in gst_pb_utils_add_codec_description_to_tag_list()
1163 && gst_tag_get_type (codec_tag) == G_TYPE_STRING), FALSE); in gst_pb_utils_add_codec_description_to_tag_list()
1172 if (codec_tag == NULL) { in gst_pb_utils_add_codec_description_to_tag_list()
1174 codec_tag = GST_TAG_CONTAINER_FORMAT; in gst_pb_utils_add_codec_description_to_tag_list()
1176 codec_tag = GST_TAG_AUDIO_CODEC; in gst_pb_utils_add_codec_description_to_tag_list()
1178 codec_tag = GST_TAG_VIDEO_CODEC; in gst_pb_utils_add_codec_description_to_tag_list()
1180 codec_tag = GST_TAG_SUBTITLE_CODEC; in gst_pb_utils_add_codec_description_to_tag_list()
1182 codec_tag = GST_TAG_CODEC; in gst_pb_utils_add_codec_description_to_tag_list()
1186 gst_tag_list_add (taglist, GST_TAG_MERGE_REPLACE, codec_tag, desc, NULL); in gst_pb_utils_add_codec_description_to_tag_list()

12345678