Home
last modified time | relevance | path

Searched refs:codec_tag (Results 1 - 25 of 180) sorted by relevance

12345678

/third_party/ffmpeg/libavcodec/
H A Drawdec.c78 if ( avctx->codec_tag == MKTAG('r','a','w',' ') in raw_init_decoder()
79 || avctx->codec_tag == MKTAG('N','O','1','6')) in raw_init_decoder()
82 else if (avctx->codec_tag == MKTAG('W', 'R', 'A', 'W')) in raw_init_decoder()
85 else if (avctx->codec_tag && (avctx->codec_tag & 0xFFFFFF) != MKTAG('B','I','T', 0)) in raw_init_decoder()
86 avctx->pix_fmt = avpriv_pix_fmt_find(PIX_FMT_LIST_RAW, avctx->codec_tag); in raw_init_decoder()
108 avctx->codec_tag == MKTAG('c','y','u','v') || in raw_init_decoder()
109 avctx->codec_tag == MKTAG(3, 0, 0, 0) || in raw_init_decoder()
110 avctx->codec_tag == MKTAG('W','R','A','W')) in raw_init_decoder()
119 if (avctx->codec_tag in raw_init_decoder()
[all...]
H A Drawenc.c42 if(!avctx->codec_tag) in raw_encode_init()
43 avctx->codec_tag = avcodec_pix_fmt_to_codec_tag(avctx->pix_fmt); in raw_encode_init()
66 if(avctx->codec_tag == AV_RL32("yuv2") && ret > 0 && in raw_encode()
71 } else if (avctx->codec_tag == AV_RL32("b64a") && ret > 0 && in raw_encode()
H A Dutvideoenc.c86 avctx->codec_tag = MKTAG('U', 'L', 'R', 'G'); in utvideo_encode_init()
91 avctx->codec_tag = MKTAG('U', 'L', 'R', 'A'); in utvideo_encode_init()
103 avctx->codec_tag = MKTAG('U', 'L', 'H', '0'); in utvideo_encode_init()
105 avctx->codec_tag = MKTAG('U', 'L', 'Y', '0'); in utvideo_encode_init()
116 avctx->codec_tag = MKTAG('U', 'L', 'H', '2'); in utvideo_encode_init()
118 avctx->codec_tag = MKTAG('U', 'L', 'Y', '2'); in utvideo_encode_init()
124 avctx->codec_tag = MKTAG('U', 'L', 'H', '4'); in utvideo_encode_init()
126 avctx->codec_tag = MKTAG('U', 'L', 'Y', '4'); in utvideo_encode_init()
H A 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()
360 switch (avctx->codec_tag) { in hap_init()
H A Diff.c219 if (avpkt && avctx->codec_tag == MKTAG('A', 'N', 'I', 'M')) { in extract_header()
337 if (avctx->codec_tag == MKTAG('P', 'B', 'M', ' ') && s->ham == 4) in extract_header()
414 if (avctx->codec_tag == MKTAG('R', 'G', 'B', '8')) { in decode_init()
416 } else if (avctx->codec_tag == MKTAG('R', 'G', 'B', 'N')) { in decode_init()
418 } else if (avctx->codec_tag != MKTAG('D', 'E', 'E', 'P')) { in decode_init()
441 if (avctx->codec_tag == MKTAG('A', 'N', 'I', 'M')) { in decode_init()
1563 if (s->compression <= 0xff && (avctx->codec_tag == MKTAG('A', 'N', 'I', 'M'))) { in decode_frame()
1570 if (avctx->codec_tag == MKTAG('A', 'C', 'B', 'M')) { in decode_frame()
1595 } else if (avctx->codec_tag == MKTAG('D', 'E', 'E', 'P')) { in decode_frame()
1607 } else if (avctx->codec_tag in decode_frame()
[all...]
H A Dmagicyuvenc.c157 avctx->codec_tag = MKTAG('M', '8', 'R', 'G'); in magy_encode_init()
162 avctx->codec_tag = MKTAG('M', '8', 'R', 'A'); in magy_encode_init()
167 avctx->codec_tag = MKTAG('M', '8', 'Y', '0'); in magy_encode_init()
175 avctx->codec_tag = MKTAG('M', '8', 'Y', '2'); in magy_encode_init()
181 avctx->codec_tag = MKTAG('M', '8', 'Y', '4'); in magy_encode_init()
185 avctx->codec_tag = MKTAG('M', '8', 'Y', 'A'); in magy_encode_init()
189 avctx->codec_tag = MKTAG('M', '8', 'G', '0'); in magy_encode_init()
/third_party/ffmpeg/libavformat/
H A 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()
75 avio_w8(pb, par->codec_tag); in voc_write_packet()
81 avio_w8(pb, par->codec_tag); in voc_write_packet()
110 .codec_tag = ff_voc_codec_tags_list,
H A Dbink.c105 vst->codecpar->codec_tag = avio_rl32(pb); in read_header()
106 if (vst->codecpar->codec_tag == AV_RL32("SMUS")) { in read_header()
110 vst->codecpar->codec_tag = avio_rl32(pb); in read_header()
111 } while (!avio_feof(pb) && (vst->codecpar->codec_tag & 0xFFFFFF) != AV_RL32("BIK")); in read_header()
151 if ((vst->codecpar->codec_tag & 0xFFFFFF) == MKTAG('K', 'B', '2', 0)) { in read_header()
168 signature = (vst->codecpar->codec_tag & 0xFFFFFF); in read_header()
169 revision = ((vst->codecpar->codec_tag >> 24) % 0xFF); in read_header()
183 ast->codecpar->codec_tag = 0; in read_header()
196 AV_WL32(ast->codecpar->extradata, vst->codecpar->codec_tag); in read_header()
H A Diff.c302 st->codecpar->codec_tag = tag = avio_rl32(pb); in parse_dsd_prop()
438 // codec_tag used by ByteRun1 decoder to distinguish progressive (PBM) and interlaced (ILBM) content in iff_read_header()
439 st->codecpar->codec_tag = avio_rl32(pb); in iff_read_header()
440 if (st->codecpar->codec_tag == ID_ANIM) { in iff_read_header()
721 if (st->codecpar->codec_tag == ID_ANIM) in iff_read_header()
730 if (st->codecpar->codec_tag == ID_16SV) in iff_read_header()
732 else if (st->codecpar->codec_tag == ID_MAUD) { in iff_read_header()
745 } else if (st->codecpar->codec_tag != ID_DSD && in iff_read_header()
746 st->codecpar->codec_tag != ID_DST) { in iff_read_header()
770 if ((st->codecpar->codec_tag in iff_read_header()
[all...]
H A 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},
H A 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()
208 .codec_tag = ff_ast_codec_tags_list,
H A 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 },
H A Domaenc.c59 switch (par->codec_tag) { in oma_write_header()
86 av_fourcc2str(par->codec_tag)); in oma_write_header()
102 .codec_tag = ff_oma_codec_tags_list,
H A 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 = ff_rso_codec_tags_list,
H A Daiffenc.c125 if (!par->codec_tag) in aiff_write_header()
127 if (par->codec_tag != MKTAG('N','O','N','E')) in aiff_write_header()
182 avio_wl32(pb, par->codec_tag); in aiff_write_header()
186 if ( (par->codec_tag == MKTAG('Q','D','M','2') in aiff_write_header()
187 || par->codec_tag == MKTAG('Q','c','l','p')) && par->extradata_size) { in aiff_write_header()
299 .codec_tag = ff_aiff_codec_tags_list,
H A Dau.c216 st->codecpar->codec_tag = id; in au_read_header()
239 .codec_tag = au_codec_tags,
292 par->codec_tag = ff_codec_get_tag(codec_au_tags, par->codec_id); in au_write_header()
293 if (!par->codec_tag) { in au_write_header()
307 avio_wb32(pb, par->codec_tag); /* codec ID */ in au_write_header()
345 .codec_tag = au_codec_tags,
H A 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()
H A Dmux_utils.c44 unsigned int codec_tag; in avformat_query_codec() local
47 else if (ofmt->codec_tag) in avformat_query_codec()
48 return !!av_codec_get_tag2(ofmt->codec_tag, codec_id, &codec_tag); in avformat_query_codec()
H A 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()
H A Drpl.c154 vst->codecpar->codec_tag = video_format; in rpl_read_header()
160 switch (vst->codecpar->codec_tag) { in rpl_read_header()
176 av_fourcc2str(vst->codecpar->codec_tag)); in rpl_read_header()
202 ast->codecpar->codec_tag = audio_format; in rpl_read_header()
265 if (vst && rpl->frames_per_chunk > 1 && vst->codecpar->codec_tag != 124) in rpl_read_header()
268 "Video stream will be broken!\n", av_fourcc2str(vst->codecpar->codec_tag)); in rpl_read_header()
342 stream->codecpar->codec_tag == 124) { in rpl_read_packet()
H A Driffenc.c66 if (!par->codec_tag || par->codec_tag > 0xffff) in ff_put_wav_header()
90 avio_wl16(pb, par->codec_tag); in ff_put_wav_header()
194 avio_wl32(pb, par->codec_tag); in ff_put_wav_header()
200 par->codec_tag != 0x0001 /* PCM */ || in ff_put_wav_header()
237 avio_wl32(pb, par->codec_tag || keep_height ? par->height : -par->height); in ff_put_bmp_header()
243 avio_wl32(pb, par->codec_tag); in ff_put_bmp_header()
H A Damr.c102 st->codecpar->codec_tag = MKTAG('s', 'a', 'm', 'r'); in amr_read_header()
108 st->codecpar->codec_tag = MKTAG('s', 'a', 'w', 'b'); in amr_read_header()
114 st->codecpar->codec_tag = MKTAG('s', 'a', 'm', 'r'); in amr_read_header()
120 st->codecpar->codec_tag = MKTAG('s', 'a', 'w', 'b'); in amr_read_header()
H A Drsodec.c63 st->codecpar->codec_tag = id; in rso_read_header()
81 .codec_tag = ff_rso_codec_tags_list,
H A Dhls_sample_encryption.c65 info->codec_tag = AV_RL32(buf); in ff_hls_senc_read_audio_setup_info()
67 if (info->codec_tag == MKTAG('z','a','a','c')) in ff_hls_senc_read_audio_setup_info()
69 else if (info->codec_tag == MKTAG('z','a','c','3')) in ff_hls_senc_read_audio_setup_info()
71 else if (info->codec_tag == MKTAG('z','e','c','3')) in ff_hls_senc_read_audio_setup_info()
95 st->codecpar->codec_tag = info->codec_tag; in ff_hls_senc_parse_audio_setup_info()
H A Dnuv.c102 vst->codecpar->codec_tag = avio_rl32(pb); in get_codec_data()
104 ff_codec_get_id(ff_codec_bmp_tags, vst->codecpar->codec_tag); in get_codec_data()
105 if (vst->codecpar->codec_tag == MKTAG('R', 'J', 'P', 'G')) in get_codec_data()
113 ast->codecpar->codec_tag = avio_rl32(pb); in get_codec_data()
128 id = ff_wav_codec_get_id(ast->codecpar->codec_tag, in get_codec_data()
131 id = ff_codec_get_id(nuv_audio_tags, ast->codecpar->codec_tag); in get_codec_data()

Completed in 17 milliseconds

12345678