Searched refs:codec (Results 1 - 22 of 22) sorted by relevance

/haiku/src/tests/kits/media/
H A DFormatDescriptions.cpp30 a.u.avi.codec = 'DIVX';
40 a.u.quicktime.codec = 5;
44 b.u.quicktime.codec = 5;
51 b.u.quicktime.codec = 6;
54 b.u.quicktime.codec = 4;
59 a.u.misc.codec = 5;
63 b.u.misc.codec = 5;
71 b.u.misc.codec = 6;
74 b.u.misc.codec = 4;
H A DmediaFormats.cpp114 print_fourcc(description.u.avi.codec);
122 print_fourcc(description.u.quicktime.codec);
130 print_fourcc(description.u.misc.codec);
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DCodecTable.cpp36 const AVCodec* codec = NULL; local
37 while ((codec = av_codec_iterate(&cookie)) != NULL) {
46 switch (codec->type) {
66 description.u.misc.codec = codec->id;
H A DAVFormatWriter.cpp96 // fStream is freed automatically when the codec context is closed
163 // AVCodec* codec = fStream->codecpar->codec;
164 // for (int i = 0; codec->pix_fmts[i] != PIX_FMT_NONE; i++)
165 // fStream->codecpar->pix_fmt = codec->pix_fmts[i];
204 const AVCodec* codec = avcodec_find_encoder(fStream->codecpar->codec_id); local
206 if (codec == NULL)
209 const enum AVSampleFormat *p = codec->sample_fmts;
216 fStream->codecpar->format = codec->sample_fmts[0];
311 *(AVCodecContext**)userData = fStream->codec;
[all...]
H A DAVCodecDecoder.cpp211 description.u.misc.codec));
214 description.u.misc.codec);
269 // Reset the FFmpeg codec to flush buffers, so we keep the sync
382 TRACE("avcodec_open() failed to init codec!\n");
482 TRACE("avcodec_open() failed to init codec!\n");
547 // be some internal value of the codec, for example mpeg4 uses a framerate of 90000 and then
566 // See if the codec knows better (adapted from av_guess_frame_rate in ffmpeg)
H A DAVFormatReader.cpp1079 description.u.misc.codec = codecParams->codec_id;
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Dhda_codec.cpp364 hda_codec_get_quirks(hda_codec* codec) argument
366 codec->quirks = 0;
368 uint32 subSystemID = codec->subsystem_id & 0xffff;
369 uint32 subSystemVendorID = codec->subsystem_id >> 16;
380 && kCodecQuirks[i].codec_vendor_id != codec->vendor_id)
383 && kCodecQuirks[i].codec_id != codec->product_id)
386 codec->quirks |= kCodecQuirks[i].quirks;
387 codec->quirks &= ~kCodecQuirks[i].nonquirks;
393 hda_get_pm_support(hda_codec* codec, uint32 nodeID, uint32* pm) argument
395 corb_t verb = MAKE_VERB(codec
408 hda_get_stream_support(hda_codec* codec, uint32 nodeID, uint32* formats, uint32* rates) argument
721 hda_codec* codec = audioGroup->codec; local
1259 hda_codec_switch_handler(hda_codec* codec) argument
1291 hda_codec_new_audio_group(hda_codec* codec, uint32 audioGroupNodeID) argument
1452 hda_codec_delete(hda_codec* codec) argument
[all...]
H A Dhda_controller.cpp377 hda_codec* codec = controller->codecs[cad]; local
379 if (codec == NULL) {
380 dprintf("hda: Response for unknown codec %" B_PRIu32
389 codec->unsol_responses[codec->unsol_response_write++] =
391 codec->unsol_response_write %= MAX_CODEC_UNSOL_RESPONSES;
392 release_sem_etc(codec->unsol_response_sem, 1,
397 if (codec->response_count >= MAX_CODEC_RESPONSES) {
398 dprintf("hda: too many responses received for codec %"
404 // Store response in codec
994 hda_codec* codec = audioGroup->codec; local
1032 hda_send_verbs(hda_codec* codec, corb_t* verbs, uint32* responses, uint32 count) argument
1080 hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint16 payload) argument
1088 hda_verb_read(hda_codec* codec, uint32 nid, uint32 vid, uint32* response) argument
[all...]
H A Dhda_multi_audio.cpp678 verb[0] = MAKE_VERB(audioGroup->codec->addr,
683 verb[1] = MAKE_VERB(audioGroup->codec->addr,
688 hda_send_verbs(audioGroup->codec, verb, resp, 2);
731 uint32 verb = MAKE_VERB(audioGroup->codec->addr,
735 if (hda_send_verbs(audioGroup->codec, &verb, &resp, 1) == B_OK) {
750 uint32 verb = MAKE_VERB(audioGroup->codec->addr, control->nid,
753 if (hda_send_verbs(audioGroup->codec, &verb, &resp, 1) == B_OK)
785 verb[0] = MAKE_VERB(audioGroup->codec->addr,
801 verb[1] = MAKE_VERB(audioGroup->codec->addr,
812 hda_send_verbs(audioGroup->codec, ver
1190 hda_codec* codec = (hda_codec*)cookie; local
[all...]
H A Ddriver.h265 hda_codec* codec; member in struct:hda_audio_group
284 /*! This structure describes a single codec module in the
364 void hda_codec_delete(hda_codec* codec);
374 status_t hda_send_verbs(hda_codec* codec, corb_t* verbs, uint32* responses,
376 status_t hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint16 payload);
377 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.c176 { 0x00000000, 0x00000000, &default_ops, "Unknown" } /* must be last one, matches every codec */
182 codec_table *codec; local
183 for (codec = codecs; codec->id; codec++)
184 if ((codec->id & codec->mask) == (codecid & codec->mask))
186 return codec;
202 codec_table *codec local
227 codec_table *codec; local
236 codec_table *codec; local
[all...]
/haiku/src/apps/cortex/InfoView/
H A DFileNodeInfoView.cpp125 // add codec
126 media_codec_info codec; local
127 if (track->GetCodecInfo(&codec) == B_OK)
130 << codec.pretty_name;
131 if (codec.id > 0)
134 << codec.id << ")";
/haiku/src/kits/media/
H A DMediaFormats.cpp208 return a.u.quicktime.codec == b.u.quicktime.codec
211 return a.u.avi.codec == b.u.avi.codec;
217 return a.u.wav.codec == b.u.wav.codec;
219 return a.u.aiff.codec == b.u.aiff.codec;
224 && a.u.misc.codec == b.u.misc.codec;
524 GetAVIFormatFor(uint32 codec, media_format* _format, media_type type) argument
546 GetQuicktimeFormatFor(uint32 vendor, uint32 codec, media_format* _format, media_type type) argument
[all...]
H A DFormatManager.cpp74 "codec id 0x%lx", desc.u.quicktime.vendor,
75 desc.u.quicktime.codec);
78 snprintf(string, length, "AVI format, codec id 0x%lx",
79 desc.u.avi.codec);
97 snprintf(string, length, "WAV format, codec id 0x%lx",
98 desc.u.wav.codec);
101 snprintf(string, length, "AIFF format, codec id 0x%lx",
102 desc.u.aiff.codec);
109 "codec id 0x%lx", desc.u.misc.file_format, desc.u.misc.codec);
195 int codec = fNextCodecID; local
[all...]
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundDevice.cpp204 desc[0].u.misc.codec = 'ulaw';
208 desc[1].u.wav.codec = 0x07;
213 desc[1].u.quicktime.codec = 'ulaw';
219 desc[0].u.misc.codec = 'alaw';
232 desc[1].u.wav.codec = 0x50;
236 desc[1].u.avi.codec = 0x65610050;
240 desc[0].u.wav.codec = 0x2000;
244 desc[1].u.avi.codec = 0x65612000;
250 desc[0].u.misc.codec = 'VORB';
256 desc[0].u.misc.codec
[all...]
/haiku/headers/os/media/
H A DMediaFormats.h121 uint32 codec; member in struct:__anon472
127 uint32 codec; member in struct:__anon473
163 uint32 codec; member in struct:__anon477
168 uint32 codec; member in struct:__anon478
174 uint32 codec; member in struct:__anon479
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DMediaFormat.cpp73 // desc.u.wav.codec = 0x2000;
76 desc.u.misc.codec = AV_CODEC_ID_AC3;
131 desc.u.misc.codec = AV_CODEC_ID_MP3;
165 desc.u.misc.codec = AV_CODEC_ID_MPEG2VIDEO;
/haiku/src/add-ons/kernel/drivers/audio/ac97/
H A Dac97.c224 { 0x00000000, 0x00000000, default_init, "Unknown" } /* must be last one, matches every codec */
231 codec_table *codec; local
232 for (codec = codecs; codec->id; codec++)
233 if ((codec->id & codec->mask) == (codecid & codec->mask))
235 return codec;
244 codec_table *codec; local
[all...]
/haiku/src/tests/kits/media/mpeg2_decoder_test/
H A Dmpeg2_decoder_test.cpp175 desc.u.misc.codec = CODEC_ID_MPEG2VIDEO;
/haiku/src/tests/kits/media/mp3_decoder_test/
H A Dmp3_decoder_test.cpp212 desc.u.misc.codec = CODEC_ID_MP3;
/haiku/src/add-ons/translators/stxt/
H A DSTXTTranslator.cpp569 BPrivate::BTextEncoding codec(encoding.String());
601 status = codec.Decode(pos, bytes,
/haiku/src/add-ons/media/plugins/au_reader/
H A Dau_reader.cpp254 description.u.misc.codec = fFormatCode;

Completed in 331 milliseconds