/third_party/ffmpeg/libavdevice/ |
H A D | utils.c | 23 int ff_alloc_input_device_context(AVFormatContext **avctx, const AVInputFormat *iformat, const char *format) in ff_alloc_input_device_context() argument 29 if (!iformat && !format) in ff_alloc_input_device_context() 34 if (!iformat) in ff_alloc_input_device_context() 35 iformat = av_find_input_format(format); in ff_alloc_input_device_context() 36 if (!iformat || !iformat->priv_class || !AV_IS_INPUT_DEVICE(iformat->priv_class->category)) { in ff_alloc_input_device_context() 40 s->iformat = iformat; in ff_alloc_input_device_context() 41 if (s->iformat in ff_alloc_input_device_context() [all...] |
H A D | avdevice.c | 63 av_assert0(s->oformat || s->iformat); in avdevice_list_devices() 65 (s->iformat && !s->iformat->get_device_list)) { in avdevice_list_devices() 77 ret = s->iformat->get_device_list(s, *device_list); in avdevice_list_devices()
|
H A D | internal.h | 25 int ff_alloc_input_device_context(struct AVFormatContext **avctx, const AVInputFormat *iformat,
|
/third_party/ffmpeg/libavformat/ |
H A D | rawvideodec.c | 55 st->codecpar->codec_id = ctx->iformat->raw_codec_id; in rawvideo_read_header() 57 if ((ctx->iformat->raw_codec_id != AV_CODEC_ID_V210) && in rawvideo_read_header() 58 (ctx->iformat->raw_codec_id != AV_CODEC_ID_V210X)) { in rawvideo_read_header() 75 if (ctx->iformat->raw_codec_id == AV_CODEC_ID_BITPACKED) { in rawvideo_read_header() 99 } else if ((ctx->iformat->raw_codec_id == AV_CODEC_ID_V210) || in rawvideo_read_header() 100 (ctx->iformat->raw_codec_id == AV_CODEC_ID_V210X)) { in rawvideo_read_header() 101 pix_fmt = ctx->iformat->raw_codec_id == AV_CODEC_ID_V210 ? in rawvideo_read_header()
|
H A D | options.c | 45 if(fc->iformat) return fc->iformat->name; in format_to_name() 54 ((s->iformat && s->iformat->priv_class) || in format_child_next() 121 if(s->iformat) return AV_CLASS_CATEGORY_DEMUXER; in get_category() 142 s->iformat && !strcmp(s->iformat->name, "image2") || in io_open_default() 272 if (s->iformat) { in avformat_new_stream()
|
H A D | seek.c | 286 const AVInputFormat *const avif = s->iformat; in ff_seek_frame_binary() 578 if (s->iformat->read_seek) in seek_frame_generic() 579 if (s->iformat->read_seek(s, stream_index, timestamp, flags) >= 0) in seek_frame_generic() 597 if (s->iformat->flags & AVFMT_NO_BYTE_SEEK) in seek_frame_internal() 615 if (s->iformat->read_seek) { in seek_frame_internal() 617 ret = s->iformat->read_seek(s, stream_index, timestamp, flags); in seek_frame_internal() 623 if (s->iformat->read_timestamp && in seek_frame_internal() 624 !(s->iformat->flags & AVFMT_NOBINSEARCH)) { in seek_frame_internal() 627 } else if (!(s->iformat->flags & AVFMT_NOGENSEARCH)) { in seek_frame_internal() 639 if (s->iformat in av_seek_frame() [all...] |
H A D | demux.c | 163 if (!s->iformat) in init_input() 164 return av_probe_input_buffer2(s->pb, &s->iformat, filename, in init_input() 166 else if (s->iformat->flags & AVFMT_NOFILE) in init_input() 172 if ((s->iformat && s->iformat->flags & AVFMT_NOFILE) || in init_input() 173 (!s->iformat && (s->iformat = av_probe_input_format2(&pd, 0, &score)))) in init_input() 179 if (s->iformat) in init_input() 181 return av_probe_input_buffer2(s->pb, &s->iformat, filename, in init_input() 240 s->iformat in avformat_open_input() [all...] |
H A D | rawdec.c | 63 st->codecpar->codec_id = s->iformat->raw_codec_id; in ff_raw_audio_read_header() 88 st->codecpar->codec_id = s->iformat->raw_codec_id; in ff_raw_video_read_header() 104 st->codecpar->codec_id = s->iformat->raw_codec_id; in ff_raw_subtitle_read_header() 115 st->codecpar->codec_id = s->iformat->raw_codec_id; in raw_data_read_header()
|
H A D | pcmdec.c | 56 par->codec_id = s->iformat->raw_codec_id; in pcm_read_header() 70 if (mime_type && s->iformat->mime_type) { in pcm_read_header() 73 if (av_stristart(mime_type, s->iformat->mime_type, &options)) { /* audio/L16 */ in pcm_read_header()
|
H A D | v210.c | 50 st->codecpar->codec_id = ctx->iformat->raw_codec_id; in v210_read_header() 59 st->codecpar->format = ctx->iformat->raw_codec_id == AV_CODEC_ID_V210 ? in v210_read_header()
|
H A D | rtpdec_asf.c | 108 const AVInputFormat *iformat; in ff_wms_parse_sdp_a_line() local 122 if (!(iformat = av_find_input_format("asf"))) in ff_wms_parse_sdp_a_line() 138 ret = avformat_open_input(&rt->asf_ctx, "", iformat, &opts); in ff_wms_parse_sdp_a_line()
|
H A D | demux_utils.c | 204 if (s->iformat->read_play) in av_read_play() 205 return s->iformat->read_play(s); in av_read_play() 213 if (s->iformat->read_pause) in av_read_pause() 214 return s->iformat->read_pause(s); in av_read_pause()
|
H A D | loasdec.c | 77 st->codecpar->codec_id = s->iformat->raw_codec_id; in loas_read_header()
|
H A D | gsmdec.c | 81 st->codecpar->codec_id = s->iformat->raw_codec_id; in gsm_read_header()
|
H A D | g726.c | 42 st->codecpar->codec_id = s->iformat->raw_codec_id; in g726_read_header()
|
H A D | dfpwmdec.c | 53 par->codec_id = s->iformat->raw_codec_id; in dfpwm_read_header()
|
H A D | adxdec.c | 128 par->codec_id = s->iformat->raw_codec_id; in adx_read_header()
|
H A D | wsddec.c | 128 st->codecpar->codec_id = s->iformat->raw_codec_id; in wsd_read_header()
|
H A D | serdec.c | 83 st->codecpar->codec_id = s->iformat->raw_codec_id; in ser_read_header()
|
/third_party/ffmpeg/tools/ |
H A D | enum_options.c | 91 const AVInputFormat *iformat = NULL; in show_format_opts() local 100 while ((iformat = av_demuxer_iterate(&iformat_opaque))) { in show_format_opts() 101 if (!iformat->priv_class) in show_format_opts() 103 printf("@subsection %s AVOptions\n", iformat->priv_class->class_name); in show_format_opts() 104 show_opts(iformat->priv_class); in show_format_opts()
|
/third_party/ffmpeg/libavfilter/ |
H A D | lavfutils.c | 38 const AVInputFormat *iformat = NULL; in ff_load_image() local 48 iformat = av_find_input_format("image2pipe"); in ff_load_image() 49 if ((ret = avformat_open_input(&format_ctx, filename, iformat, NULL)) < 0) { in ff_load_image()
|
H A D | src_movie.c | 217 const AVInputFormat *iformat = NULL; in movie_common_init() local 248 iformat = movie->format_name ? av_find_input_format(movie->format_name) : NULL; in movie_common_init() 251 if ((ret = avformat_open_input(&movie->format_ctx, movie->file_name, iformat, &movie->format_opts)) < 0) { in movie_common_init()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | extFFmpegDemuxer.h | 181 LOG(INFO) << "Media format: " << fmtc->iformat->long_name << " (" << fmtc->iformat->name << ")"; in FFmpegDemuxer() 201 bMp4 = (!strcmp(fmtc->iformat->long_name, "QuickTime / MOV") || in FFmpegDemuxer() 202 !strcmp(fmtc->iformat->long_name, "FLV (Flash Video)") || in FFmpegDemuxer() 203 !strcmp(fmtc->iformat->long_name, "Matroska / WebM")); in FFmpegDemuxer()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | f_uvc.c | 1485 uint8_t iformat, iframe, nframes; in fuvc_streaming_set() local 1515 iformat = CLAMP((uint32_t)com.bFormatIndex, 1U, in fuvc_streaming_set() 1518 pformat = &g_fuvc_formats[iformat - 1]; in fuvc_streaming_set() 1536 target->bFormatIndex = iformat; in fuvc_streaming_set() 1772 int iframe, int iformat) in fuvc_fill_streaming_control() 1778 if (iformat < 0) in fuvc_fill_streaming_control() 1780 iformat = ARRAY_SIZE(g_fuvc_formats) + iformat; in fuvc_fill_streaming_control() 1783 if (iformat < 0 || iformat > in fuvc_fill_streaming_control() 1770 fuvc_fill_streaming_control(struct uvc_dev_s *fuvc, struct uvc_probe_commit_control1_1 *ctrl, int iframe, int iformat) fuvc_fill_streaming_control() argument [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_format.c | 1320 GLenum iformat = internalFormat; in st_ChooseTextureFormat() local 1323 if (iformat == GL_BGRA) in st_ChooseTextureFormat() 1324 iformat = GL_RGBA; in st_ChooseTextureFormat() 1329 if (iformat == baseFormat && iformat == basePackFormat) { in st_ChooseTextureFormat()
|