Home
last modified time | relevance | path

Searched refs:codec (Results 1 – 25 of 56) sorted by relevance

123

/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Dhda_codec.cpp364 hda_codec_get_quirks(hda_codec* codec) in hda_codec_get_quirks() argument
366 codec->quirks = 0; in hda_codec_get_quirks()
368 uint32 subSystemID = codec->subsystem_id & 0xffff; in hda_codec_get_quirks()
369 uint32 subSystemVendorID = codec->subsystem_id >> 16; in hda_codec_get_quirks()
380 && kCodecQuirks[i].codec_vendor_id != codec->vendor_id) in hda_codec_get_quirks()
383 && kCodecQuirks[i].codec_id != codec->product_id) in hda_codec_get_quirks()
386 codec->quirks |= kCodecQuirks[i].quirks; in hda_codec_get_quirks()
387 codec->quirks &= ~kCodecQuirks[i].nonquirks; in hda_codec_get_quirks()
393 hda_get_pm_support(hda_codec* codec, uint32 nodeID, uint32* pm) in hda_get_pm_support() argument
395 corb_t verb = MAKE_VERB(codec->addr, nodeID, VID_GET_PARAMETER, in hda_get_pm_support()
[all …]
H A Dhda_controller.cpp377 hda_codec* codec = controller->codecs[cad]; in hda_interrupt_handler() local
379 if (codec == NULL) { in hda_interrupt_handler()
389 codec->unsol_responses[codec->unsol_response_write++] = in hda_interrupt_handler()
391 codec->unsol_response_write %= MAX_CODEC_UNSOL_RESPONSES; in hda_interrupt_handler()
392 release_sem_etc(codec->unsol_response_sem, 1, in hda_interrupt_handler()
397 if (codec->response_count >= MAX_CODEC_RESPONSES) { in hda_interrupt_handler()
405 codec->responses[codec->response_count++] = response; in hda_interrupt_handler()
406 release_sem_etc(codec->response_sem, 1, B_DO_NOT_RESCHEDULE); in hda_interrupt_handler()
705 hda_controller* controller = audioGroup->codec->controller; in hda_stream_new()
994 hda_codec* codec = audioGroup->codec; in hda_stream_setup_buffers() local
[all …]
H A Dhda_multi_audio.cpp674 verb[0] = MAKE_VERB(audioGroup->codec->addr, in get_control_gain_mute()
679 verb[1] = MAKE_VERB(audioGroup->codec->addr, in get_control_gain_mute()
684 hda_send_verbs(audioGroup->codec, verb, resp, 2); in get_control_gain_mute()
727 uint32 verb = MAKE_VERB(audioGroup->codec->addr, in get_mix()
731 if (hda_send_verbs(audioGroup->codec, &verb, &resp, 1) == B_OK) { in get_mix()
746 uint32 verb = MAKE_VERB(audioGroup->codec->addr, control->nid, in get_mix()
749 if (hda_send_verbs(audioGroup->codec, &verb, &resp, 1) == B_OK) in get_mix()
781 verb[0] = MAKE_VERB(audioGroup->codec->addr, in set_mix()
797 verb[1] = MAKE_VERB(audioGroup->codec->addr, in set_mix()
808 hda_send_verbs(audioGroup->codec, verb, NULL, 2); in set_mix()
[all …]
H A Ddriver.h266 hda_codec* codec; member
365 void hda_codec_delete(hda_codec* codec);
375 status_t hda_send_verbs(hda_codec* codec, corb_t* verbs, uint32* responses,
377 status_t hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint16 payload);
378 status_t hda_verb_read(hda_codec* codec, uint32 nid, uint32 vid, uint32 *response);
/haiku/src/add-ons/kernel/drivers/audio/emuxki/
H A Dac97.c182 codec_table *codec; in find_codec_table() local
183 for (codec = codecs; codec->id; codec++) in find_codec_table()
184 if ((codec->id & codec->mask) == (codecid & codec->mask)) in find_codec_table()
186 return codec; in find_codec_table()
202 codec_table *codec = find_codec_table(id); in ac97_get_vendor_id_description() local
210 LOG(("info: %s\n",codec->info)); in ac97_get_vendor_id_description()
211 return codec->info; in ac97_get_vendor_id_description()
227 codec_table *codec; in ac97_amp_enable() local
229 codec = find_codec_table(ac97_get_vendor_id(config)); in ac97_amp_enable()
230 codec->ops->amp_enable(config, yesno); in ac97_amp_enable()
[all …]
/haiku/src/tests/kits/media/
H A DFormatDescriptions.cpp30 a.u.avi.codec = 'DIVX'; in TestCompare()
40 a.u.quicktime.codec = 5; in TestCompare()
44 b.u.quicktime.codec = 5; in TestCompare()
51 b.u.quicktime.codec = 6; in TestCompare()
54 b.u.quicktime.codec = 4; in TestCompare()
59 a.u.misc.codec = 5; in TestCompare()
63 b.u.misc.codec = 5; in TestCompare()
71 b.u.misc.codec = 6; in TestCompare()
74 b.u.misc.codec = 4; in TestCompare()
H A DmediaFormats.cpp114 print_fourcc(description.u.avi.codec); in dump_media_format_description()
122 print_fourcc(description.u.quicktime.codec); in dump_media_format_description()
130 print_fourcc(description.u.misc.codec); in dump_media_format_description()
/haiku/src/kits/media/
H A DMediaFormats.cpp208 return a.u.quicktime.codec == b.u.quicktime.codec in operator ==()
211 return a.u.avi.codec == b.u.avi.codec; in operator ==()
217 return a.u.wav.codec == b.u.wav.codec; in operator ==()
219 return a.u.aiff.codec == b.u.aiff.codec; in operator ==()
224 && a.u.misc.codec == b.u.misc.codec; in operator ==()
243 return a.u.quicktime.codec < b.u.quicktime.codec; in operator <()
246 return a.u.avi.codec < b.u.avi.codec; in operator <()
252 return a.u.wav.codec < b.u.wav.codec; in operator <()
254 return a.u.aiff.codec < b.u.aiff.codec; in operator <()
259 return a.u.misc.codec < b.u.misc.codec; in operator <()
[all …]
H A DFormatManager.cpp75 desc.u.quicktime.codec);
79 desc.u.avi.codec);
98 desc.u.wav.codec);
102 desc.u.aiff.codec);
109 "codec id 0x%lx", desc.u.misc.file_format, desc.u.misc.codec);
195 int codec = fNextCodecID; in MakeFormatFor() local
245 descriptions[i], format, codec); in MakeFormatFor()
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DCodecTable.cpp36 const AVCodec* codec = NULL; in build_decoder_formats() local
37 while ((codec = av_codec_iterate(&cookie)) != NULL) { in build_decoder_formats()
46 switch (codec->type) { in build_decoder_formats()
66 description.u.misc.codec = codec->id; in build_decoder_formats()
H A DAVFormatWriter.cpp204 const AVCodec* codec = avcodec_find_encoder(fStream->codecpar->codec_id); in Init() local
206 if (codec == NULL) in Init()
209 const enum AVSampleFormat *p = codec->sample_fmts; in Init()
216 fStream->codecpar->format = codec->sample_fmts[0]; in Init()
311 *(AVCodecContext**)userData = fStream->codec; in Init()
/haiku/src/apps/cortex/InfoView/
H A DFileNodeInfoView.cpp126 media_codec_info codec; in FileNodeInfoView() local
127 if (track->GetCodecInfo(&codec) == B_OK) in FileNodeInfoView()
130 << codec.pretty_name; in FileNodeInfoView()
131 if (codec.id > 0) in FileNodeInfoView()
134 << codec.id << ")"; in FileNodeInfoView()
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDevice.cpp204 desc[0].u.misc.codec = 'ulaw'; in get_media_format_description_for()
208 desc[1].u.wav.codec = 0x07; in get_media_format_description_for()
213 desc[1].u.quicktime.codec = 'ulaw'; in get_media_format_description_for()
219 desc[0].u.misc.codec = 'alaw'; in get_media_format_description_for()
232 desc[1].u.wav.codec = 0x50; in get_media_format_description_for()
236 desc[1].u.avi.codec = 0x65610050; in get_media_format_description_for()
240 desc[0].u.wav.codec = 0x2000; in get_media_format_description_for()
244 desc[1].u.avi.codec = 0x65612000; in get_media_format_description_for()
250 desc[0].u.misc.codec = 'VORB'; in get_media_format_description_for()
256 desc[0].u.misc.codec = 'PDIF'; in get_media_format_description_for()
[all …]
/haiku/headers/os/media/
H A DMediaFormats.h121 uint32 codec; member
127 uint32 codec; member
163 uint32 codec; member
168 uint32 codec; member
174 uint32 codec; member
/haiku/src/add-ons/kernel/drivers/audio/ac97/
H A Dac97.c231 codec_table *codec; in find_codec_table() local
232 for (codec = codecs; codec->id; codec++) in find_codec_table()
233 if ((codec->id & codec->mask) == (codecid & codec->mask)) in find_codec_table()
235 return codec; in find_codec_table()
244 codec_table *codec; in ac97_attach() local
287 codec = find_codec_table(dev->codec_id); in ac97_attach()
288 dev->codec_info = codec->info; in ac97_attach()
289 dev->init = codec->init; in ac97_attach()
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DMediaFormat.cpp76 desc.u.misc.codec = AV_CODEC_ID_AC3; in GetHeaderFormatAc3Audio()
131 desc.u.misc.codec = AV_CODEC_ID_MP3; in GetHeaderFormatMpegAudio()
165 desc.u.misc.codec = AV_CODEC_ID_MPEG2VIDEO; in GetHeaderFormatMpegVideo()
/haiku/data/catalogs/add-ons/translators/jpeg2000/
H A Dja.catkeys11codec was used as \"tutorial\".\n\thttp://www.imagemagick.org/\n JPEG2000Translator ©2002-2003, S…
H A Dnl.catkeys11codec was used as \"tutorial\".\n\thttp://www.imagemagick.org/\n JPEG2000Translator ©2002-2003, S…
H A Did.catkeys11codec was used as \"tutorial\".\n\thttp://www.imagemagick.org/\n JPEG2000Translator ©2002-2003, S…
H A Dsv.catkeys11codec was used as \"tutorial\".\n\thttp://www.imagemagick.org/\n JPEG2000Translator ©2002-2003, S…
H A Dpt.catkeys11codec was used as \"tutorial\".\n\thttp://www.imagemagick.org/\n JPEG2000Translator ©2002-2003, S…
H A Dit.catkeys11codec was used as \"tutorial\".\n\thttp://www.imagemagick.org/\n JPEG2000Translator ©2002-2003, S…
H A Dfr.catkeys11codec was used as \"tutorial\".\n\thttp://www.imagemagick.org/\n JPEG2000Translator ©2002-2003, S…
H A Dfur.catkeys11codec was used as \"tutorial\".\n\thttp://www.imagemagick.org/\n JPEG2000Translator ©2002-2003, S…
H A Dbe.catkeys10 …id Adams.\n\thttp://www.ece.uvic.ca/~mdadams/jasper/\n\nImageMagick's jp2 codec was used as \"tuto…

123