Home
last modified time | relevance | path

Searched refs:mimetype (Results 1 – 25 of 69) sorted by relevance

123

/third_party/gstreamer/gst_libav/ext/libav/
Dgstavcodecmap.c248 enum AVCodecID codec_id, gboolean encode, const char *mimetype, in gst_ff_vid_caps_new() argument
255 GST_LOG ("context:%p, codec_id:%d, mimetype:%s", context, codec_id, mimetype); in gst_ff_vid_caps_new()
261 caps = gst_caps_new_simple (mimetype, in gst_ff_vid_caps_new()
285 caps = gst_caps_new_simple (mimetype, in gst_ff_vid_caps_new()
289 gst_caps_append (caps, gst_caps_new_simple (mimetype, in gst_ff_vid_caps_new()
307 temp = gst_caps_new_simple (mimetype, in gst_ff_vid_caps_new()
347 if (strcmp (mimetype, "video/x-raw") == 0) { in gst_ff_vid_caps_new()
350 temp = gst_caps_new_simple (mimetype, in gst_ff_vid_caps_new()
363 temp = gst_caps_new_simple (mimetype, in gst_ff_vid_caps_new()
377 caps = gst_caps_new_simple (mimetype, in gst_ff_vid_caps_new()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/test/nacl/
Dcommon.js34 var mimetype = 'application/x-nacl';
39 mimetype = 'application/x-ppapi-release';
41 mimetype = 'application/x-ppapi-debug';
43 mimetype = 'application/x-pnacl';
45 return mimetype;
62 var mimetype = mimeTypeForTool(tool);
63 return navigator.mimeTypes[mimetype] !== undefined;
139 var mimetype = mimeTypeForTool(tool);
140 moduleEl.setAttribute('type', mimetype);
/third_party/ffmpeg/libavformat/
Dflac_picture.c37 uint8_t mimetype[64], *desc = NULL; in ff_flac_parse_picture() local
65 if (len <= 0 || len >= sizeof(mimetype)) { in ff_flac_parse_picture()
78 bytestream2_get_bufferu(&g, mimetype, len); in ff_flac_parse_picture()
79 mimetype[len] = 0; in ff_flac_parse_picture()
82 if (!strncmp(mime->str, mimetype, sizeof(mimetype))) { in ff_flac_parse_picture()
90 mimetype); in ff_flac_parse_picture()
Dflacenc.c86 const char *mimetype = NULL, *desc = ""; in flac_write_picture() local
95 mimetype = mime->str; in flac_write_picture()
100 if (!mimetype) { in flac_write_picture()
105 mimelen = strlen(mimetype); in flac_write_picture()
147 avio_write(pb, mimetype, mimelen); in flac_write_picture()
Drmenc.c75 const char *desc, *mimetype; in rv10_write_header() local
150 mimetype = "audio/x-pn-realaudio"; in rv10_write_header()
154 mimetype = "video/x-pn-realvideo"; in rv10_write_header()
159 size = 10 + 9 * 4 + strlen(desc) + strlen(mimetype) + codec_data_size; in rv10_write_header()
181 put_str8(s, mimetype); in rv10_write_header()
Did3v2.c587 char mimetype[64] = {0}; in read_apic() local
608 int ret = avio_get_str(pb, taglen, mimetype, sizeof(mimetype)); in read_apic()
613 if (avio_read(pb, mimetype, 3) < 0) in read_apic()
616 mimetype[3] = 0; in read_apic()
621 if (!av_strncasecmp(mime->str, mimetype, sizeof(mimetype))) { in read_apic()
629 "Unknown attached picture mimetype: %s, skipping.\n", mimetype); in read_apic()
Did3v2enc.c359 const char *mimetype = NULL, *desc = ""; in ff_id3v2_write_apic() local
367 mimetype = mime->str; in ff_id3v2_write_apic()
372 if (!mimetype) { in ff_id3v2_write_apic()
400 avio_put_str(dyn_buf, mimetype); in ff_id3v2_write_apic()
/third_party/python/Doc/library/
Demail.mime.rst43 *_maintype* is the :mailheader:`Content-Type` major type (e.g. :mimetype:`text`
44 or :mimetype:`image`), and *_subtype* is the :mailheader:`Content-Type` minor
45 type (e.g. :mimetype:`plain` or :mimetype:`gif`). *_params* is a parameter
68 class for MIME messages that are not :mimetype:`multipart`. The primary
71 :mimetype:`multipart` messages. If :meth:`~email.message.Message.attach`
83 class for MIME messages that are :mimetype:`multipart`. Optional *_subtype*
84 defaults to :mimetype:`mixed`, but can be used to specify the subtype of the
85 message. A :mailheader:`Content-Type` header of :mimetype:`multipart/_subtype`
117 major type :mimetype:`application`. *_data* is a string containing the raw
119 :mimetype:`octet-stream`.
[all …]
Demail.errors.rst51 :mimetype:`multipart` or missing. :exc:`MultipartConversionError` multiply
65 :mimetype:`multipart/alternative` had a malformed header, that nested message
71 but had no :mimetype:`boundary` parameter.
100 :mimetype:`multipart`, but no subparts were found. Note that when a message
102 return ``False`` even though its content type claims to be :mimetype:`multipart`.
Demail.compat32-message.rst31 having a MIME type such as :mimetype:`multipart/\*` or
32 :mimetype:`message/rfc822`.
50 :mimetype:`multipart/\*` and :mimetype:`message/rfc822`).
254 will be added with a value of :mimetype:`text/plain`. Whether the
432 lower case of the form :mimetype:`maintype/subtype`. If there was no
438 :rfc:`2045` defines a message's default type to be :mimetype:`text/plain`
439 unless it appears inside a :mimetype:`multipart/digest` container, in
440 which case it would be :mimetype:`message/rfc822`. If the
442 :rfc:`2045` mandates that the default type be :mimetype:`text/plain`.
447 Return the message's main content type. This is the :mimetype:`maintype`
[all …]
Demail.message.rst29 :mimetype:`multipart/\*` or :mimetype:`message/rfc822`.
49 documents such as :mimetype:`multipart/\*` and :mimetype:`message/rfc822`
312 :mimetype:`maintype/subtype`. If there is no :mailheader:`Content-Type`
319 a message's default type to be :mimetype:`text/plain` unless it appears
320 inside a :mimetype:`multipart/digest` container, in which case it would
321 be :mimetype:`message/rfc822`. If the :mailheader:`Content-Type` header
323 type be :mimetype:`text/plain`.)
328 Return the message's main content type. This is the :mimetype:`maintype`
334 Return the message's sub-content type. This is the :mimetype:`subtype`
341 type of :mimetype:`text/plain`, except for messages that are subparts of
[all …]
Demail.generator.rst237 except that non-\ :mimetype:`text` parts are not serialized, but are instead
246 :mimetype:`text`, print the decoded payload of the subpart, and if the main
247 type is not :mimetype:`text`, instead of printing it fill in the string
254 * ``type`` -- Full MIME type of the non-\ :mimetype:`text` part
256 * ``maintype`` -- Main MIME type of the non-\ :mimetype:`text` part
258 * ``subtype`` -- Sub-MIME type of the non-\ :mimetype:`text` part
260 * ``filename`` -- Filename of the non-\ :mimetype:`text` part
262 * ``description`` -- Description associated with the non-\ :mimetype:`text` part
264 * ``encoding`` -- Content transfer encoding of the non-\ :mimetype:`text` part
Demail.parser.rst295 * Most non-\ :mimetype:`multipart` type messages are parsed as a single message
300 * All :mimetype:`multipart` type messages will be parsed as a container message
306 * Most messages with a content type of :mimetype:`message/\*` (such as
307 :mimetype:`message/delivery-status` and :mimetype:`message/rfc822`) will also
314 their :mimetype:`multipart`\ -edness. Such messages may have a
315 :mailheader:`Content-Type` header of type :mimetype:`multipart`, but their
Demail.iterators.rst37 :mimetype:`text`.
40 MIME type of :mimetype:`text/\*`.
Demail.encoders.rst24 is especially true for :mimetype:`image/\*` and :mimetype:`text/\*` type messages
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-mux.c1089 const gchar *mimetype; in gst_matroska_mux_video_pad_setcaps() local
1128 mimetype = gst_structure_get_name (structure); in gst_matroska_mux_video_pad_setcaps()
1140 if (!strcmp (mimetype, "video/x-theora")) { in gst_matroska_mux_video_pad_setcaps()
1228 if (!strcmp (mimetype, "video/x-raw")) { in gst_matroska_mux_video_pad_setcaps()
1243 } else if (!strcmp (mimetype, "video/x-huffyuv") /* MS/VfW compatibility cases */ in gst_matroska_mux_video_pad_setcaps()
1244 ||!strcmp (mimetype, "video/x-divx") in gst_matroska_mux_video_pad_setcaps()
1245 || !strcmp (mimetype, "video/x-dv") in gst_matroska_mux_video_pad_setcaps()
1246 || !strcmp (mimetype, "video/x-h263") in gst_matroska_mux_video_pad_setcaps()
1247 || !strcmp (mimetype, "video/x-msmpeg") in gst_matroska_mux_video_pad_setcaps()
1248 || !strcmp (mimetype, "video/x-wmv") in gst_matroska_mux_video_pad_setcaps()
[all …]
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstdataurisrc.c321 gchar *mimetype = NULL; in gst_data_uri_src_set_uri() local
354 mimetype = in gst_data_uri_src_set_uri()
358 mimetype = g_strdup ("text/plain"); in gst_data_uri_src_set_uri()
360 GST_DEBUG_OBJECT (src, "Mimetype: %s", mimetype); in gst_data_uri_src_set_uri()
397 if (strcmp ("text/plain", mimetype) == 0 && in gst_data_uri_src_set_uri()
416 caps = gst_caps_new_empty_simple (mimetype); in gst_data_uri_src_set_uri()
431 g_free (mimetype); in gst_data_uri_src_set_uri()
/third_party/python/Lib/test/test_email/
Dtest_contentmanager.py801 def content_object_as_header_receiver(self, obj, mimetype): argument
803 m.set_content(obj, *mimetype, headers=(
809 def content_object_as_disposition_inline_receiver(self, obj, mimetype): argument
811 m.set_content(obj, *mimetype, disposition='inline')
814 def content_object_as_non_ascii_filename_receiver(self, obj, mimetype): argument
816 m.set_content(obj, *mimetype, disposition='inline', filename='bár.txt')
821 def content_object_as_cid_receiver(self, obj, mimetype): argument
823 m.set_content(obj, *mimetype, cid='some_random_stuff')
826 def content_object_as_params_receiver(self, obj, mimetype): argument
829 m.set_content(obj, *mimetype, params=params)
/third_party/gstreamer/gstplugins_good/gst/avi/
Dgstavimux.c401 const gchar *mimetype; in gst_avi_mux_vidsink_set_caps() local
423 mimetype = gst_structure_get_name (structure); in gst_avi_mux_vidsink_set_caps()
475 if (!strcmp (mimetype, "video/x-raw")) { in gst_avi_mux_vidsink_set_caps()
521 if (!strcmp (mimetype, "video/x-huffyuv")) { in gst_avi_mux_vidsink_set_caps()
523 } else if (!strcmp (mimetype, "image/jpeg")) { in gst_avi_mux_vidsink_set_caps()
525 } else if (!strcmp (mimetype, "video/x-divx")) { in gst_avi_mux_vidsink_set_caps()
562 } else if (!strcmp (mimetype, "video/x-dv")) { in gst_avi_mux_vidsink_set_caps()
564 } else if (!strcmp (mimetype, "video/x-h263")) { in gst_avi_mux_vidsink_set_caps()
566 } else if (!strcmp (mimetype, "video/x-h264")) { in gst_avi_mux_vidsink_set_caps()
568 } else if (!strcmp (mimetype, "video/mpeg")) { in gst_avi_mux_vidsink_set_caps()
[all …]
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/
Dgstgdkpixbufdec.c119 char **mimetype; in gst_gdk_pixbuf_dec_get_capslist() local
124 for (mimetype = mimetypes; *mimetype; mimetype++) { in gst_gdk_pixbuf_dec_get_capslist()
125 gst_caps_append_structure (capslist, gst_structure_new_empty (*mimetype)); in gst_gdk_pixbuf_dec_get_capslist()
/third_party/googletest/googletest/scripts/
Dupload.py730 mimetype = mimetypes.guess_type(filename)[0]
731 if not mimetype:
733 return mimetype.startswith("image/")
925 mimetype = RunShell(["svn", "propget", "svn:mime-type", filename],
928 is_binary = mimetype and not mimetype.startswith("text/")
942 mimetype, returncode = RunShellWithReturnCode(cmd)
946 mimetype = ""
948 is_binary = mimetype and not mimetype.startswith("text/")
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudioringbuffer.c205 const gchar *mimetype; in gst_audio_ring_buffer_parse_caps() local
214 mimetype = gst_structure_get_name (structure); in gst_audio_ring_buffer_parse_caps()
216 if (g_str_equal (mimetype, "audio/x-raw")) { in gst_audio_ring_buffer_parse_caps()
221 } else if (g_str_equal (mimetype, "audio/x-alaw")) { in gst_audio_ring_buffer_parse_caps()
233 } else if (g_str_equal (mimetype, "audio/x-mulaw")) { in gst_audio_ring_buffer_parse_caps()
245 } else if (g_str_equal (mimetype, "audio/x-iec958")) { in gst_audio_ring_buffer_parse_caps()
252 } else if (g_str_equal (mimetype, "audio/x-ac3")) { in gst_audio_ring_buffer_parse_caps()
260 } else if (g_str_equal (mimetype, "audio/x-eac3")) { in gst_audio_ring_buffer_parse_caps()
268 } else if (g_str_equal (mimetype, "audio/x-dts")) { in gst_audio_ring_buffer_parse_caps()
276 } else if (g_str_equal (mimetype, "audio/mpeg") && in gst_audio_ring_buffer_parse_caps()
[all …]
/third_party/gstreamer/gstplugins_good/ext/shout2/
Dgstshout2.c939 const gchar *mimetype; local
945 mimetype = gst_structure_get_name (gst_caps_get_structure (caps, 0));
947 GST_DEBUG_OBJECT (shout2send, "mimetype of caps given is: %s", mimetype);
949 if (!strcmp (mimetype, "audio/mpeg")) {
951 } else if (g_str_has_suffix (mimetype, "/ogg")) {
954 } else if (g_str_has_suffix (mimetype, "/webm")) {
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dgstqtmux.c5960 const gchar *mimetype; in gst_qt_mux_audio_sink_set_caps() local
5978 mimetype = gst_structure_get_name (structure); in gst_qt_mux_audio_sink_set_caps()
6005 if (strcmp (mimetype, "audio/mpeg") == 0) { in gst_qt_mux_audio_sink_set_caps()
6085 } else if (strcmp (mimetype, "audio/AMR") == 0) { in gst_qt_mux_audio_sink_set_caps()
6091 } else if (strcmp (mimetype, "audio/AMR-WB") == 0) { in gst_qt_mux_audio_sink_set_caps()
6097 } else if (strcmp (mimetype, "audio/x-raw") == 0) { in gst_qt_mux_audio_sink_set_caps()
6142 } else if (strcmp (mimetype, "audio/x-alaw") == 0) { in gst_qt_mux_audio_sink_set_caps()
6146 } else if (strcmp (mimetype, "audio/x-mulaw") == 0) { in gst_qt_mux_audio_sink_set_caps()
6150 } else if (strcmp (mimetype, "audio/x-adpcm") == 0) { in gst_qt_mux_audio_sink_set_caps()
6175 } else if (strcmp (mimetype, "audio/x-alac") == 0) { in gst_qt_mux_audio_sink_set_caps()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/dash/
Dgstdashsink.c116 const gchar *mimetype; member
267 gchar *mimetype; member
376 g_free (stream->mimetype); in gst_dash_sink_stream_free()
779 stream->mimetype, "codecs", stream->codec, NULL); in gst_dash_sink_generate_mpd_content()
980 stream->mimetype = g_strdup (dash_muxer_list[sink->muxer].mimetype); in gst_dash_sink_request_new_pad()

123