Home
last modified time | relevance | path

Searched refs:media_type (Results 1 - 20 of 20) sorted by relevance

/third_party/ffmpeg/libavutil/
H A Dutils.c28 const char *av_get_media_type_string(enum AVMediaType media_type) in av_get_media_type_string() argument
30 switch (media_type) { in av_get_media_type_string()
H A Davutil.h211 * Return a string describing the media_type enum, NULL if media_type
214 const char *av_get_media_type_string(enum AVMediaType media_type);
/third_party/libcoap/examples/
H A Detsi_iot_01.c44 uint16_t media_type; /* media type for this object */ member
134 test_payload->media_type, -1, in hnd_get_resource()
200 /* set media_type if available */ in hnd_post_test()
203 test_payload->media_type = in hnd_post_test()
262 payload->media_type = in hnd_put_test()
266 payload->media_type = COAP_MEDIATYPE_TEXT_PLAIN; in hnd_put_test()
427 payload->media_type = 41; in make_large()
445 /* test_payload->media_type is 0 anyway */ in init_resources()
489 /* test_payload->media_type is 0 anyway */ in init_resources()
H A Dcoap-server.c1187 uint16_t media_type; member
1277 query, resource_entry->media_type, -1, 0, in hnd_get()
1339 dynamic_entry[i].media_type = in hnd_put_post()
1343 dynamic_entry[i].media_type = COAP_MEDIATYPE_TEXT_PLAIN; in hnd_put_post()
1348 snprintf((char *)buf, sizeof(buf), "%d", dynamic_entry[i].media_type); in hnd_put_post()
1496 query, resource_entry->media_type, -1, 0, in hnd_put_post()
1612 uint16_t media_type = COAP_MEDIATYPE_TEXT_PLAIN; in proxy_response_handler() local
1672 media_type = coap_decode_var_bytes(coap_opt_value(option), in proxy_response_handler()
1705 media_type, maxage, etag, size, data, in proxy_response_handler()
H A Dcoap-client.c637 const char *media_type; member
670 content_types[i].media_type && in cmdline_content_type()
671 strncmp(arg, content_types[i].media_type, strlen(arg)) != 0 ; in cmdline_content_type()
675 if (content_types[i].media_type) { in cmdline_content_type()
/third_party/libcoap/include/coap3/
H A Dcoap_block.h266 * @param media_type The format of the data.
275 uint16_t media_type,
378 * @param media_type The content format of the data.
396 uint16_t media_type,
/third_party/ffmpeg/libavformat/
H A Dgxfenc.c51 uint16_t media_type; member
252 avio_w8(pb, sc->media_type + 0x80); in gxf_write_track_description()
654 sc->media_type = vsc->sample_rate == 60 ? 7 : 8; in gxf_init_timecode_track()
706 sc->media_type = ff_codec_get_tag(gxf_media_types, st->codecpar->codec_id); in gxf_write_header()
746 sc->media_type++; in gxf_write_header()
785 sc->media_type += 2; in gxf_write_header()
894 avio_w8(pb, sc->media_type); in gxf_write_media_preamble()
H A Ddashenc.c91 enum AVMediaType media_type; member
803 as->id, as->media_type == AVMEDIA_TYPE_VIDEO ? "video" : "audio"); in write_adaptation_set()
804 if (as->media_type == AVMEDIA_TYPE_VIDEO && as->max_frame_rate.num && !as->ambiguous_frame_rate && av_cmp_q(as->min_frame_rate, as->max_frame_rate) < 0) in write_adaptation_set()
806 else if (as->media_type == AVMEDIA_TYPE_VIDEO && as->max_frame_rate.num && !as->ambiguous_frame_rate && !av_cmp_q(as->min_frame_rate, as->max_frame_rate)) in write_adaptation_set()
808 if (as->media_type == AVMEDIA_TYPE_VIDEO) { in write_adaptation_set()
842 if (as->media_type == AVMEDIA_TYPE_VIDEO) { in write_adaptation_set()
900 (*as)->media_type = type; in add_adaptation_set()
913 if (as->media_type != s->streams[i]->codecpar->codec_type) { in adaptation_set_add_stream()
1068 if (as->media_type == AVMEDIA_TYPE_UNKNOWN && (idx_str[0] == 'v' || idx_str[0] == 'a')) { in parse_adaptation_sets()
1076 as->media_type in parse_adaptation_sets()
[all...]
H A Dwtvenc.c261 const ff_asf_guid *g, *media_type, *format_type; in write_stream_codec_info() local
269 media_type = &ff_mediatype_video; in write_stream_codec_info()
274 media_type = &ff_mediatype_audio; in write_stream_codec_info()
282 ff_put_guid(pb, media_type); // mediatype in write_stream_codec_info()
/third_party/ffmpeg/libavfilter/
H A Dformats.c677 #define SET_COMMON_FORMATS(ctx, fmts, media_type, ref_fn, unref_fn) \
686 (media_type == AVMEDIA_TYPE_UNKNOWN || link->type == media_type)) { \
696 (media_type == AVMEDIA_TYPE_UNKNOWN || link->type == media_type)) { \
/third_party/cups-filters/utils/
H A Dcups-browsed.c359 char *media_source,*media_type; member
882 copy->media_type = NULL; in copy_media()
887 if (data->media_type != NULL) { in copy_media()
888 copy->media_type = (char *)malloc(sizeof(char)*32);; in copy_media()
889 strcpy(copy->media_type,data->media_type); in copy_media()
944 char *media_type) in create_media_col()
961 if (media_type != NULL) in create_media_col()
963 "media-type", NULL,media_type); in create_media_col()
1031 if (a->media_type in compare_media()
937 create_media_col(int width, int length, int left_margin, int right_margin, int top_margin, int bottom_margin, char *media_source, char *media_type) create_media_col() argument
1880 char media_source[32], media_type[32]; add_mediadatabase_attributes() local
2956 char media_source[32], media_type[32]; get_cluster_default_attributes() local
[all...]
/third_party/cups-filters/cupsfilters/
H A Draster.c88 *media_type; /* Media type */ in cupsRasterParseIPPOptions() local
146 media_type = NULL; in cupsRasterParseIPPOptions()
198 media_type = strdup(s); in cupsRasterParseIPPOptions()
221 (val = media_type) != NULL) in cupsRasterParseIPPOptions()
1203 if (media_type != NULL) in cupsRasterParseIPPOptions()
1204 free(media_type); in cupsRasterParseIPPOptions()
H A Dppdgenerator.c4357 const char *media_type, /* I - PWG media-type */ in _pwgMediaTypeForType()
4365 if (!media_type || !name || namesize < PPD_MAX_NAME) in _pwgMediaTypeForType()
4368 if (_cups_strcasecmp(media_type, "auto")) in _pwgMediaTypeForType()
4370 else if (_cups_strcasecmp(media_type, "cardstock")) in _pwgMediaTypeForType()
4372 else if (_cups_strcasecmp(media_type, "envelope")) in _pwgMediaTypeForType()
4374 else if (_cups_strcasecmp(media_type, "photographic-glossy")) in _pwgMediaTypeForType()
4376 else if (_cups_strcasecmp(media_type, "photographic-high-gloss")) in _pwgMediaTypeForType()
4378 else if (_cups_strcasecmp(media_type, "photographic-matte")) in _pwgMediaTypeForType()
4380 else if (_cups_strcasecmp(media_type, "stationery")) in _pwgMediaTypeForType()
4382 else if (_cups_strcasecmp(media_type, "stationer in _pwgMediaTypeForType()
4356 _pwgMediaTypeForType( const char *media_type, char *name, size_t namesize) _pwgMediaTypeForType() argument
[all...]
/third_party/ffmpeg/libavdevice/
H A Ddshow.c580 const char* media_type = av_get_media_type_string(media_types[0]); in dshow_cycle_devices() local
581 av_log(avctx, AV_LOG_INFO, " (%s", media_type ? media_type : "unknown"); in dshow_cycle_devices()
583 media_type = av_get_media_type_string(media_types[i]); in dshow_cycle_devices()
584 av_log(avctx, AV_LOG_INFO, ", %s", media_type ? media_type : "unknown"); in dshow_cycle_devices()
/third_party/cups-filters/filter/
H A Dimagetoraster.c160 *media_type; /* Media type */ in main() local
405 media_type = choice->choice; in main()
407 media_type = ""; in main()
562 resolution, media_type); in main()
567 profile->media_type); in main()
571 (strcmp(profile->media_type, media_type) == 0 || in main()
572 profile->media_type[0] == '-')) in main()
H A Drastertopdf.cpp1256 const char * getIPPColorProfileName(const char * media_type, cups_cspace_t cs, unsigned dpi) in getIPPColorProfileName() argument
1286 if (media_type != NULL) in getIPPColorProfileName()
1287 mediaType = media_type; in getIPPColorProfileName()
/third_party/ffmpeg/fftools/
H A Dopt_common.c1316 const char* media_type = av_get_media_type_string(device->media_types[j]); in print_device_list() local
1319 printf("%s", media_type ? media_type : "unknown"); in print_device_list()
/third_party/libcoap/src/
H A Dcoap_block.c275 uint16_t media_type, in coap_add_data_blocked_response()
311 media_type), in coap_add_data_blocked_response()
1021 uint16_t media_type, in coap_add_data_large_response()
1078 media_type), in coap_add_data_large_response()
273 coap_add_data_blocked_response(const coap_pdu_t *request, coap_pdu_t *response, uint16_t media_type, int maxage, size_t length, const uint8_t *data ) coap_add_data_blocked_response() argument
1016 coap_add_data_large_response(coap_resource_t *resource, coap_session_t *session, const coap_pdu_t *request, coap_pdu_t *response, const coap_string_t *query, uint16_t media_type, int maxage, uint64_t etag, size_t length, const uint8_t *data, coap_release_large_data_t release_func, void *app_ptr ) coap_add_data_large_response() argument
/third_party/ntfs-3g/include/ntfs-3g/
H A Dlayout.h56 u8 media_type; /* 0xf8 = hard disk */ member
/third_party/ntfs-3g/ntfsprogs/
H A Dmkntfs.c4652 bs->bpb.media_type = 0xf8; /* hard disk */ in mkntfs_create_root_structures()

Completed in 80 milliseconds