/haiku-fatelf/src/tests/kits/media/ |
H A D | mediaDescriptions.cpp | 16 a.u.avi.codec = 'DIVX'; 22 printf("avi/divx == same family, no codec? %s\n", a == b ? "yes" : "no"); 26 a.u.quicktime.codec = 5; 30 b.u.quicktime.codec = 5; 37 b.u.quicktime.codec = 6; 40 b.u.quicktime.codec = 4; 45 a.u.misc.codec = 5; 49 b.u.misc.codec = 5; 56 b.u.misc.codec = 6; 59 b.u.misc.codec [all...] |
H A D | mediaFormats.cpp | 114 print_fourcc(description.u.avi.codec); 122 print_fourcc(description.u.quicktime.codec); 130 print_fourcc(description.u.misc.codec);
|
/haiku-fatelf/src/add-ons/media/plugins/matroska/ |
H A D | matroska_codecs.h | 30 status_t GetAudioFormat(media_format *format, const char *codec, void *private_data, int private_size); 31 status_t GetVideoFormat(media_format *format, const char *codec, void *private_data, int private_size);
|
H A D | matroska_codecs.cpp | 60 GetAudioFormat(media_format *format, const char *codec, void *private_data, int private_size) argument 62 TRACE("private_data: codec '%s', private data size %d\n", codec, private_size); 67 if (IS_CODEC(codec, "A_VORBIS")) { 70 description.u.misc.codec = 'vorb'; 119 if (IS_CODEC(codec, "A_MPEG/L3")) { 128 if (IS_CODEC(codec, "A_AC3")) { 130 description.u.wav.codec = 0x2000; 147 // The codec name only has to start with A_AAC to be AAC 148 // The rest is some sort of hint for creating the codec specifi 175 GetVideoFormat(media_format *format, const char *codec, void *private_data, int private_size) argument [all...] |
/haiku-fatelf/src/add-ons/media/plugins/ffmpeg/ |
H A D | AVFormatWriter.cpp | 119 // TRACE(" fStream->codec: %p\n", fStream->codec); 122 fStream->codec->codec_id = (CodecID)codecInfo->sub_id; 123 if (fStream->codec->codec_id == CODEC_ID_NONE) 124 fStream->codec->codec_id = raw_audio_codec_id_for(*format); 128 fStream->codec->codec_type = AVMEDIA_TYPE_VIDEO; 131 avcodec_get_context_defaults(fStream->codec); 134 fStream->codec->time_base.den = (int)format->u.raw_video.field_rate; 135 fStream->codec->time_base.num = 1; 137 fStream->codec 427 AVCodec* codec = avcodec_find_encoder(codecContext->codec_id); local [all...] |
H A D | CodecTable.cpp | 51 // skip unwanted codec tags 80 description.u.aiff.codec = tags->tag; 83 description.u.avi.codec = tags->tag; 89 description.u.quicktime.codec = tags->tag; 92 description.u.wav.codec = tags->tag; 121 AVCodec* codec = NULL; local 122 while ((codec = av_codec_next(codec)) != NULL) { 131 switch (codec->type) { 150 description.u.misc.codec [all...] |
H A D | AVFormatReader.cpp | 397 switch (fStream->codec->codec_type) { 399 frameRate = (double)fStream->codec->sample_rate; 408 else if (fStream->codec->time_base.den 409 && fStream->codec->time_base.num) { 410 frameRate = 1 / av_q2d(fStream->codec->time_base); 954 AVCodecContext* codecContext = fStream->codec; 964 AVCodec* codec = avcodec_find_decoder(context->codec_id); 965 fCodecOpen = avcodec_open(context, codec) >= 0; 967 TRACE(" failed to open the codec!\n"); 1059 description.u.misc.codec [all...] |
/haiku-fatelf/src/libs/tiff/ |
H A D | tif_jbig.c | 222 JBIGState* codec = GetJBIGState(tif); local 229 (unsigned long)codec->recvparams); 236 codec->subaddress); 243 (unsigned long)codec->recvtime); 250 codec->faxdcs); 256 JBIGState* codec = GetJBIGState(tif); local 261 *va_arg(ap, uint32*) = codec->recvparams; 265 *va_arg(ap, char**) = codec->subaddress; 269 *va_arg(ap, uint32*) = codec->recvtime; 273 *va_arg(ap, char**) = codec 285 JBIGState* codec = GetJBIGState(tif); local 316 JBIGState* codec = NULL; local [all...] |
H A D | tif_codec.c | 131 * Check whether we have working codec for the specific coding scheme. 133 * @return returns 1 if the codec is configured and working. Otherwise 140 const TIFFCodec* codec = TIFFFindCODEC(scheme); local 142 if(codec == NULL) { 145 if(codec->init == NULL) { 148 if(codec->init != NotConfigured){
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/hda/ |
H A D | hda_codec.cpp | 355 hda_codec_get_quirks(hda_codec* codec) argument 357 codec->quirks = 0; 359 uint32 subSystemID = codec->controller->pci_info.u.h0.subsystem_id; 361 = codec->controller->pci_info.u.h0.subsystem_vendor_id; 372 && kCodecQuirks[i].codec_vendor_id != codec->vendor_id) 375 && kCodecQuirks[i].codec_id != codec->product_id) 378 codec->quirks |= kCodecQuirks[i].quirks; 379 codec->quirks &= ~kCodecQuirks[i].nonquirks; 385 hda_get_pm_support(hda_codec* codec, uint32 nodeID, uint32* pm) argument 387 corb_t verb = MAKE_VERB(codec 400 hda_get_stream_support(hda_codec* codec, uint32 nodeID, uint32* formats, uint32* rates) argument 709 hda_codec* codec = audioGroup->codec; local 1178 hda_codec_switch_handler(hda_codec* codec) argument 1254 hda_codec_new_audio_group(hda_codec* codec, uint32 audioGroupNodeID) argument 1411 hda_codec_delete(hda_codec* codec) argument [all...] |
H A D | hda_controller.cpp | 251 hda_codec* codec = controller->codecs[cad]; local 253 if (codec == NULL) { 254 dprintf("hda: Response for unknown codec %ld: " 262 codec->unsol_responses[codec->unsol_response_write++] = 264 codec->unsol_response_write %= MAX_CODEC_UNSOL_RESPONSES; 265 release_sem_etc(codec->unsol_response_sem, 1, 270 if (codec->response_count >= MAX_CODEC_RESPONSES) { 271 dprintf("hda: too many responses received for codec %ld" 276 // Store response in codec 755 hda_codec* codec = audioGroup->codec; local 793 hda_send_verbs(hda_codec* codec, corb_t* verbs, uint32* responses, uint32 count) argument 833 hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint16 payload) argument 841 hda_verb_read(hda_codec* codec, uint32 nid, uint32 vid, uint32* response) argument [all...] |
H A D | hda_multi_audio.cpp | 604 verb[0] = MAKE_VERB(audioGroup->codec->addr, 609 verb[1] = MAKE_VERB(audioGroup->codec->addr, 614 hda_send_verbs(audioGroup->codec, verb, resp, 2); 655 uint32 verb = MAKE_VERB(audioGroup->codec->addr, 659 if (hda_send_verbs(audioGroup->codec, &verb, &resp, 1) == B_OK) { 673 uint32 verb = MAKE_VERB(audioGroup->codec->addr, control->nid, 676 if (hda_send_verbs(audioGroup->codec, &verb, &resp, 1) == B_OK) 706 verb[0] = MAKE_VERB(audioGroup->codec->addr, 721 verb[1] = MAKE_VERB(audioGroup->codec->addr, 731 hda_send_verbs(audioGroup->codec, ver 1077 hda_codec* codec = (hda_codec*)cookie; local [all...] |
H A D | driver.h | 249 hda_codec* codec; member in struct:hda_audio_group 268 /*! This structure describes a single codec module in the 347 void hda_codec_delete(hda_codec* codec); 356 status_t hda_send_verbs(hda_codec* codec, corb_t* verbs, uint32* responses, 358 status_t hda_verb_write(hda_codec* codec, uint32 nid, uint32 vid, uint16 payload); 359 status_t hda_verb_read(hda_codec* codec, uint32 nid, uint32 vid, uint32 *response);
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/emuxki/ |
H A D | ac97.c | 176 { 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-fatelf/src/apps/cortex/InfoView/ |
H A D | FileNodeInfoView.cpp | 116 // add codec 117 media_codec_info codec; local 118 if (track->GetCodecInfo(&codec) == B_OK) 120 s << "\n- Codec: " << codec.pretty_name; 121 if (codec.id > 0) 123 s << " (ID: " << codec.id << ")";
|
/haiku-fatelf/src/kits/media/ |
H A D | MediaFormats.cpp | 198 return a.u.quicktime.codec == b.u.quicktime.codec 201 return a.u.avi.codec == b.u.avi.codec; 207 return a.u.wav.codec == b.u.wav.codec; 209 return a.u.aiff.codec == b.u.aiff.codec; 214 && a.u.misc.codec == b.u.misc.codec; 519 GetAVIFormatFor(uint32 codec, media_format* _format, media_type type) argument 541 GetQuicktimeFormatFor(uint32 vendor, uint32 codec, media_format* _format, media_type type) argument [all...] |
/haiku-fatelf/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundDevice.cpp | 204 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-fatelf/headers/os/media/ |
H A D | MediaFormats.h | 121 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-fatelf/src/servers/media/ |
H A D | FormatManager.cpp | 74 "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); 207 int codec = fNextCodecID; local [all...] |
/haiku-fatelf/src/add-ons/media/plugins/musepack/ |
H A D | MusePack.cpp | 32 description.u.misc.codec = 'MPC7';
|
H A D | MusePackReader.cpp | 87 description.u.misc.codec = 'MPC7';
|
/haiku-fatelf/src/add-ons/media/media-add-ons/dvb/ |
H A D | MediaFormat.cpp | 59 // desc.u.wav.codec = 0x2000; 62 desc.u.misc.codec = CODEC_ID_AC3; 117 desc.u.misc.codec = CODEC_ID_MP3; 151 desc.u.misc.codec = CODEC_ID_MPEG2VIDEO;
|
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/ |
H A D | ac97.c | 198 { 0x00000000, 0x00000000, default_init, "Unknown" } /* must be last one, matches every codec */ 206 codec_table *codec; local 207 for (codec = codecs; codec->id; codec++) 208 if ((codec->id & codec->mask) == (codecid & codec->mask)) 210 return codec; 218 codec_table *codec; local [all...] |
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/ich/ |
H A D | ac97.c | 177 { 0x00000000, 0x00000000, default_init, "Unknown" } /* must be last one, matches every codec */ 185 codec_table *codec; local 186 for (codec = codecs; codec->id; codec++) 187 if ((codec->id & codec->mask) == (codecid & codec->mask)) 189 return codec; 196 codec_table *codec; local [all...] |
/haiku-fatelf/src/add-ons/media/plugins/avi_reader/ |
H A D | avi_reader.cpp | 225 description.u.wav.codec = audio_format->format_tag; 286 description.u.avi.codec = video_format->compression; 288 description.u.avi.codec = stream_header->fourcc_handler; 290 TRACE("codec '%.4s' (fourcc: '%.4s', compression: '%.4s')\n", 291 (char*)&description.u.avi.codec, 299 *(uint32 *)format->user_data = description.u.avi.codec;
|