HomeSort by relevance Sort by last modified time
    Searched refs:mime_type (Results 1 - 25 of 37) sorted by null

1 2

  /external/chromium-trace/trace-viewer/third_party/Paste/paste/util/
mimeparse.py 24 def parse_mime_type(mime_type):
33 type = mime_type.split(';')
72 def fitness_and_quality_parsed(mime_type, parsed_ranges):
81 target_type, target_subtype, target_params = parse_media_range(mime_type)
101 def quality_parsed(mime_type, parsed_ranges):
109 return fitness_and_quality_parsed(mime_type, parsed_ranges)[1]
111 def quality(mime_type, ranges):
120 return quality_parsed(mime_type, parsed_ranges)
137 (fitness_and_quality_parsed(mime_type, parsed_header), -n)
138 for n, mime_type in enumerate(supported)]
    [all...]
  /hardware/intel/common/libmix/mix_video/src/
mixvideoconfigparamsdec.c 40 self->mime_type = NULL;
95 /* free mime_type */
96 if (self->mime_type->str)
97 g_string_free(self->mime_type, TRUE);
99 g_string_free(self->mime_type, FALSE);
180 /* copy mime_type */
181 if (this_src->mime_type) {
184 this_src->mime_type->str);
288 /* compare mime_type */
290 if (this_first->mime_type && this_second->mime_type)
    [all...]
mixvideoconfigparamsenc.c 46 self->mime_type = NULL;
97 /* free mime_type */
98 if (self->mime_type->str)
99 g_string_free(self->mime_type, TRUE);
101 g_string_free(self->mime_type, FALSE);
185 /* copy mime_type */
187 if (this_src->mime_type) {
189 if (this_src->mime_type->str) {
191 LOG_I( "this_src->mime_type->str = %s %x\n",
192 this_src->mime_type->str, (unsigned int)this_src->mime_type->str);
    [all...]
mixvideoformat.c 54 self->mime_type = NULL;
99 if (mix->mime_type)
101 if (mix->mime_type->str)
102 g_string_free(mix->mime_type, TRUE);
104 g_string_free(mix->mime_type, FALSE);
219 if (mix->mime_type) //Clean up any previous mime_type
221 if (mix->mime_type->str)
222 g_string_free(mix->mime_type, TRUE);
224 g_string_free(mix->mime_type, FALSE)
    [all...]
mixvideoconfigparamsdec.h 75 GString * mime_type; member in struct:_MixVideoConfigParamsDec
152 const gchar * mime_type);
155 gchar ** mime_type);
mixvideoconfigparamsenc.h 88 GString * mime_type; member in struct:_MixVideoConfigParamsEnc
155 const gchar * mime_type);
158 gchar ** mime_type);
mixvideo.c 447 gchar *mime_type = NULL; local
494 ret = mix_videoconfigparamsdec_get_mime_type(priv_config_params_dec, &mime_type);
500 LOG_I( "mime : %s\n", mime_type);
503 if (g_strcmp0(mime_type, "video/x-wmv") == 0) {
551 if (g_strcmp0(mime_type, "video/x-wmv") == 0 || g_strcmp0(mime_type,
552 "video/mpeg") == 0 || g_strcmp0(mime_type, "video/x-divx") == 0) {
582 if (g_strcmp0(mime_type, "video/x-wmv") == 0
596 } else if (g_strcmp0(mime_type, "video/x-h264") == 0
610 } else if (g_strcmp0(mime_type, "video/mpeg") == 0 || g_strcmp0(mime_type
729 gchar *mime_type = NULL; local
    [all...]
mixvideoformatenc.c 55 self->mime_type = NULL;
127 if (mix->mime_type)
129 if (mix->mime_type->str)
130 g_string_free(mix->mime_type, TRUE);
132 g_string_free(mix->mime_type, FALSE);
mixvideoformat.h 75 GString *mime_type; member in struct:_MixVideoFormat
mixvideoformatenc.h 70 GString *mime_type; member in struct:_MixVideoFormatEnc
  /external/chromium-trace/trace-viewer/tracing/build/
trace2html.py 62 def __init__(self, trace_data_string, mime_type):
65 self._mime_type = mime_type
101 mime_type = 'application/json'
103 mime_type = 'text/plain'
104 scripts.append(ViewerDataScript(trace_data, mime_type))
  /external/owasp/sanitizer/tools/
cut_release.py 113 mime_type = mime_type_from_path(dest_path)
114 if mime_type is None or mime_type.startswith("text/"):
177 mime_type = mime_type_from_path(new_file_path)
178 if mime_type is not None:
179 print "svn propset svn:mime-type '%s' '%s'" % (mime_type, new_file_path)
update_tree_in_svn.py 83 mime_type = MIME_TYPES_BY_EXTENSION.get(dst[dot+1:])
84 if mime_type is not None:
85 key = ('svn:mime-type', mime_type)
  /development/ndk/platforms/android-21/include/media/
NdkMediaCodec.h 72 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type);
77 AMediaCodec* AMediaCodec_createEncoderByType(const char *mime_type);
  /frameworks/av/include/ndk/
NdkMediaCodec.h 72 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type);
77 AMediaCodec* AMediaCodec_createEncoderByType(const char *mime_type);
  /prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/media/
NdkMediaCodec.h 72 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type);
77 AMediaCodec* AMediaCodec_createEncoderByType(const char *mime_type);
  /prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/media/
NdkMediaCodec.h 72 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type);
77 AMediaCodec* AMediaCodec_createEncoderByType(const char *mime_type);
  /prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/media/
NdkMediaCodec.h 72 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type);
77 AMediaCodec* AMediaCodec_createEncoderByType(const char *mime_type);
  /prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/media/
NdkMediaCodec.h 72 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type);
77 AMediaCodec* AMediaCodec_createEncoderByType(const char *mime_type);
  /prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/media/
NdkMediaCodec.h 72 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type);
77 AMediaCodec* AMediaCodec_createEncoderByType(const char *mime_type);
  /prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/media/
NdkMediaCodec.h 72 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type);
77 AMediaCodec* AMediaCodec_createEncoderByType(const char *mime_type);
  /external/flac/libFLAC/
metadata_object.c 480 FLAC__STREAM_METADATA_PICTURE_MIME_TYPE_LENGTH_LEN + /* empty mime_type string */
490 object->data.picture.mime_type = 0;
500 /* now initialize mime_type and description with empty strings to make things easier on the client */
501 if(!copy_cstring_(&object->data.picture.mime_type, "")) {
506 if(object->data.picture.mime_type)
507 free(object->data.picture.mime_type);
601 if(!copy_cstring_(&to->data.picture.mime_type, object->data.picture.mime_type)) {
668 if(0 != object->data.picture.mime_type) {
669 free(object->data.picture.mime_type);
    [all...]
  /external/flac/include/FLAC/
metadata.h 213 * \param mime_type The desired MIME type, e.g. "image/jpeg". The
237 FLAC_API FLAC__bool FLAC__metadata_get_picture(const char *filename, FLAC__StreamMetadata **picture, FLAC__StreamMetadata_Picture_Type type, const char *mime_type, const FLAC__byte *description, unsigned max_width, unsigned max_height, unsigned max_depth, unsigned max_colors);
    [all...]
  /external/skia/tools/skpdiff/
skpdiff_server.py 428 mime_type = MIME_TYPE_MAP.get(extension, MIME_TYPE_MAP[''])
434 self.send_header('Content-type', mime_type)
  /frameworks/av/media/ndk/
NdkMediaCodec.cpp 176 AMediaCodec* AMediaCodec_createDecoderByType(const char *mime_type) {
177 return createAMediaCodec(mime_type, true, false);

Completed in 1863 milliseconds

1 2