Searched refs:formats (Results 1 - 25 of 38) sorted by path

12

/haiku/docs/develop/kits/storage/resources/
H A DResourcesFormat.tex43 On the one hand there are formats of files that exclusively contain resources
44 (resource files), on the other hand these are file formats extended to
45 additionally contain resources -- namely the ELF and PEF object formats.
49 Section \ref{file-formats} explains how the resources format is embedded in
50 different file formats. Section \ref{resources-format} discusses the resources
59 \label{file-formats}
61 In all file formats described in this section the resources are being located
174 As there is in fact no good reason to have different resource file formats,
176 \ref{file-formats}), it may be decided to use the x86 resource file format
/haiku/headers/private/media/
H A DDecoderPlugin.h72 virtual status_t GetSupportedFormats(media_format** formats,
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DStream.cpp142 Stream::SetFormat(_multi_format& format, uint32 formats, uint32 rates) argument
147 if ((format.rate & rates) == 0 || (format.format & formats) == 0) {
H A DStream.h41 uint32 formats, uint32 rates);
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DDVBMediaAddon.cpp43 media_format formats[5]; member in struct:device_info
224 // setup supported formats (the lazy way)
225 memset(dev->formats, 0, sizeof(dev->formats));
226 dev->formats[0].type = B_MEDIA_RAW_VIDEO;
227 dev->formats[1].type = B_MEDIA_RAW_AUDIO;
228 dev->formats[2].type = B_MEDIA_ENCODED_VIDEO;
229 dev->formats[3].type = B_MEDIA_ENCODED_AUDIO;
230 dev->formats[4].type = B_MEDIA_MULTISTREAM;
244 dev->flavor.out_formats = dev->formats;
[all...]
H A DMediaFormat.cpp78 BMediaFormats formats; local
79 status = formats.InitCheck();
81 printf("formats.InitCheck failed, error %lu\n", status);
85 status = formats.GetFormatFor(desc, out_format);
87 printf("formats.GetFormatFor failed, error %lu\n", status);
134 BMediaFormats formats; local
135 status = formats.InitCheck();
137 printf("formats.InitCheck failed, error %lu\n", status);
141 status = formats.GetFormatFor(desc, out_format);
143 printf("formats
167 BMediaFormats formats; local
[all...]
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDevice.cpp275 BMediaFormats formats; local
276 if (formats.InitCheck() < B_OK)
277 return formats.InitCheck();
291 err = formats.MakeFormatFor(desc, count, &format);
301 BMediaFormats formats; local
302 if (formats.InitCheck() < B_OK)
303 return formats.InitCheck();
315 err = formats.GetFormatFor(desc, &format);
/haiku/src/add-ons/media/media-add-ons/reader/
H A DMediaReader.cpp736 media_format * formats = new media_format[outInfo->out_format_count]; local
737 GetFormat(&formats[0]);
738 outInfo->out_formats = formats;
/haiku/src/add-ons/media/media-add-ons/writer/
H A DMediaWriter.cpp508 media_format * formats = new media_format[outInfo->in_format_count]; local
509 GetFormat(&formats[0]);
510 outInfo->in_formats = formats;
/haiku/src/add-ons/media/plugins/raw_decoder/
H A DRawDecoderPlugin.h73 status_t GetSupportedFormats(media_format ** formats, size_t * count);
H A DRawDecoderPlugin.cpp535 RawDecoderPlugin::GetSupportedFormats(media_format ** formats, size_t * count) argument
564 *formats = raw_formats;
/haiku/src/add-ons/translators/jpeg/
H A DJPEGTranslator.h129 uint32 formatType, const translation_format* formats,
/haiku/src/add-ons/translators/jpeg2000/
H A DJPEG2000Translator.h157 uint32 formatType, const translation_format* formats,
/haiku/src/bin/
H A Dtranslate.cpp390 const translation_format *formats; local
394 if (fRoster->GetInputFormats(id, &formats, &formatCount) != B_OK)
399 if (formats[j].type == inFormat) {
408 // search output formats
410 if (fRoster->GetOutputFormats(id, &formats, &formatCount) != B_OK)
416 if (formats[j].group != group || typesSeen.FindType(formats[j].type))
419 double formatQuality = formats[j].quality * formats[j].capability;
421 if (formats[
[all...]
/haiku/src/kits/media/
H A DAddOnManager.h105 List<media_format> formats; member in struct:BPrivate::media::AddOnManager::decoder_info
H A DFileInterface.cpp106 media_file_format* formats; local
107 area_id area = clone_area("client formats area",
108 (void**)&formats, B_ANY_ADDRESS, B_WRITE_AREA,
118 while (GetNextFileFormat(&cookie, formats) == B_OK) {
121 formats += sizeof(media_format);
H A DMediaFormats.cpp120 // TODO: These formats are currently way too generic. For example,
284 // Some (meta) formats supply functions
359 * description. The formats lock has to be held when you call this function.
385 || reply.GetInfo("formats", &code, &count) < B_OK)
388 // overwrite already existing formats
396 if (reply.FindData("formats", MEDIA_META_FORMAT_TYPE, index,
401 // allocate additional formats
406 if (reply.FindData("formats", MEDIA_META_FORMAT_TYPE, index,
411 // remove no longer used formats
476 ERROR("BMediaFormats: updating formats fro
506 BMediaFormats formats; local
528 BMediaFormats formats; local
549 BMediaFormats formats; local
[all...]
/haiku/src/kits/translation/
H A DTranslationUtils.cpp902 const translation_format *formats = NULL; local
905 err = roster->GetInputFormats(ids[tix], &formats, &numFormats);
908 if (formats[iix].type == fromType) {
917 // Get supported output formats
918 err = roster->GetOutputFormats(ids[tix], &formats, &numFormats);
921 if (formats[oix].type != fromType) {
923 const_cast<translation_format*>(&formats[oix])));
H A DTranslatorRosterPrivate.h89 const translation_format* formats,
/haiku/src/tests/kits/media/mpeg2_decoder_test/
H A Dmpeg2_decoder_test.cpp178 BMediaFormats formats; local
179 status = formats.InitCheck();
181 printf("formats.InitCheck failed, error %lu\n", status);
188 status = formats.GetFormatFor(desc, mpeg2MediaFormat);
190 printf("formats.GetFormatFor failed, error %lu\n", status);
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Ddriver.h236 uint32 formats; member in struct:hda_widget::__anon65::__anon66
H A Dhda_codec.cpp280 TRACE("\tSupported formats: %s%s%s%s%s%s%s%s%s\n",
281 widget.d.io.formats & B_FMT_8BIT_S ? "8bits " : "",
282 widget.d.io.formats & B_FMT_16BIT ? "16bits " : "",
283 widget.d.io.formats & B_FMT_20BIT ? "20bits " : "",
284 widget.d.io.formats & B_FMT_24BIT ? "24bits " : "",
285 widget.d.io.formats & B_FMT_32BIT ? "32bits " : "",
286 widget.d.io.formats & B_FMT_FLOAT ? "float " : "",
287 widget.d.io.formats & B_FMT_DOUBLE ? "double " : "",
288 widget.d.io.formats & B_FMT_EXTENDED ? "extended " : "",
289 widget.d.io.formats
408 hda_get_stream_support(hda_codec* codec, uint32 nodeID, uint32* formats, uint32* rates) argument
[all...]
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DAudioStreamingInterface.cpp336 uint32 formats = 0; local
339 formats = B_FMT_8BIT_U;
342 formats = B_FMT_FLOAT;
346 case 8: formats = B_FMT_8BIT_S; break;
347 case 16: formats = B_FMT_16BIT; break;
348 case 18: formats = B_FMT_18BIT; break;
349 case 20: formats = B_FMT_20BIT; break;
350 case 24: formats = B_FMT_24BIT; break;
351 case 32: formats = B_FMT_32BIT; break;
366 return formats;
507 uint32 formats = fAlternates[fActiveAlternate]->GetFormatId(); local
[all...]
/haiku/src/add-ons/media/plugins/au_reader/
H A Dau_reader.cpp215 BMediaFormats formats; local
221 formats.GetFormatFor(description, &fFormat);
255 formats.GetFormatFor(description, &fFormat);
356 // XXX it might be much better to not return any start_time information for encoded formats here,
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DAVFormatReader.cpp1037 // We cannot describe all raw-audio formats, some are unsupported.
1081 BMediaFormats formats; local
1082 status_t status = formats.GetFormatFor(description, format);
1084 TRACE(" formats.GetFormatFor() error: %s\n", strerror(status));

Completed in 172 milliseconds

12