Searched refs:codec_id (Results 1 - 25 of 80) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Dacm_codec_database.cc389 int ACMCodecDB::Codec(int codec_id, CodecInst* codec_inst) { argument
390 // Error check to see that codec_id is not out of bounds.
391 if ((codec_id < 0) || (codec_id >= kNumCodecs)) {
396 memcpy(codec_inst, &database_[codec_id], sizeof(CodecInst));
414 int codec_id = CodecId(codec_inst); local
417 if (codec_id == -1) {
427 if (STR_CASE_CMP(database_[codec_id].plname, "CN") == 0) {
428 *mirror_id = codec_id;
429 return codec_id;
542 int codec_id = CodecId(codec_inst); local
558 CodecFreq(int codec_id) argument
568 BasicCodingBlock(int codec_id) argument
584 MirrorID(int codec_id) argument
643 int codec_id; local
666 int codec_id; local
690 int codec_id; local
729 int codec_id; local
747 int codec_id; local
775 int codec_id; local
828 IsRateValid(int codec_id, int rate) argument
954 OwnsDecoder(int codec_id) argument
[all...]
H A Dacm_red.cc20 ACMRED::ACMRED(int16_t codec_id) { codec_id_ = codec_id; } argument
H A Dacm_cng.cc22 ACMCNG::ACMCNG(int16_t codec_id) { argument
24 codec_id_ = codec_id;
H A Dacm_dtmf_playout.cc25 ACMDTMFPlayout::ACMDTMFPlayout(int16_t /* codec_id */) { return; }
49 ACMDTMFPlayout::ACMDTMFPlayout(int16_t codec_id) { codec_id_ = codec_id; }
H A Dacm_pcma.cc23 ACMPCMA::ACMPCMA(int16_t codec_id) { codec_id_ = codec_id; } argument
H A Dacm_pcmu.cc23 ACMPCMU::ACMPCMU(int16_t codec_id) { codec_id_ = codec_id; } argument
H A Dacm_dtmf_playout.h22 explicit ACMDTMFPlayout(int16_t codec_id);
H A Dacm_red.h22 explicit ACMRED(int16_t codec_id);
H A Daudio_coding_module.cc49 int codec_id; local
52 codec_id = acm2::ACMCodecDB::CodecId(
54 if (codec_id < 0) {
66 acm2::ACMCodecDB::Codec(codec_id, codec);
H A Dacm_codec_database.h229 // [codec_id].
231 // [codec_id] - number that specifies at what position in the database to
237 static int Codec(int codec_id, CodecInst* codec_inst);
270 // Returns the codec sampling frequency for codec with id = "codec_id" in
275 // [codec_id] - number that specifies at what position in the database to
279 static int CodecFreq(int codec_id);
285 // [codec_id] - number that specifies at what position in the database to
289 static int BasicCodingBlock(int codec_id);
302 // [codec_id] - number that specifies codec's position in the database.
305 static int MirrorID(int codec_id);
[all...]
H A Dacm_pcm16b.cc26 ACMPCM16B::ACMPCM16B(int16_t /* codec_id */) { return; }
47 ACMPCM16B::ACMPCM16B(int16_t codec_id) {
48 codec_id_ = codec_id;
H A Dacm_gsmfr.h26 explicit ACMGSMFR(int16_t codec_id);
H A Dacm_pcm16b.h22 explicit ACMPCM16B(int16_t codec_id);
H A Dacm_pcma.h22 explicit ACMPCMA(int16_t codec_id);
H A Dacm_pcmu.h22 explicit ACMPCMU(int16_t codec_id);
H A Dacm_celt.h26 explicit ACMCELT(int16_t codec_id);
H A Dacm_cng.h26 explicit ACMCNG(int16_t codec_id);
H A Dacm_g729.h26 explicit ACMG729(int16_t codec_id);
H A Dacm_g7291.h26 explicit ACMG729_1(int16_t codec_id);
H A Dacm_ilbc.h26 explicit ACMILBC(int16_t codec_id);
/external/chromium_org/media/formats/webm/
H A Dtracks_builder.h19 // basically checked and will assert if out of valid range. |codec_id|,
32 const std::string& codec_id,
40 const std::string& codec_id,
48 const std::string& codec_id,
58 const std::string& codec_id,
75 const std::string& codec_id,
H A Dwebm_audio_client.cc28 const std::string& codec_id, const std::vector<uint8>& codec_private,
35 if (codec_id == "A_VORBIS") {
37 } else if (codec_id == "A_OPUS") {
40 MEDIA_LOG(log_cb_) << "Unsupported audio codec_id " << codec_id;
27 InitializeConfig( const std::string& codec_id, const std::vector<uint8>& codec_private, int64 seek_preroll, int64 codec_delay, bool is_encrypted, AudioDecoderConfig* config) argument
H A Dwebm_audio_client.h26 // Initialize |config| with the data in |codec_id|, |codec_private|,
32 bool InitializeConfig(const std::string& codec_id,
H A Dwebm_video_client.cc34 const std::string& codec_id, const std::vector<uint8>& codec_private,
40 if (codec_id == "V_VP8") {
43 } else if (codec_id == "V_VP9") {
47 MEDIA_LOG(log_cb_) << "Unsupported video codec_id " << codec_id;
33 InitializeConfig( const std::string& codec_id, const std::vector<uint8>& codec_private, bool is_encrypted, VideoDecoderConfig* config) argument
/external/chromium_org/media/filters/
H A Dstream_parser_factory.cc106 static int GetMP4AudioObjectType(const std::string& codec_id, argument
109 if (Tokenize(codec_id, ".", &tokens) == 3 &&
116 MEDIA_LOG(log_cb) << "Malformed mimetype codec '" << codec_id << "'";
120 bool ValidateMP4ACodecID(const std::string& codec_id, const LogCB& log_cb) { argument
121 int audio_object_type = GetMP4AudioObjectType(codec_id, log_cb);
129 << " in codec '" << codec_id << "'"; local
164 std::string codec_id = codecs[i]; local
165 if (MatchPattern(codec_id, kMPEG2AACLCCodecInfo.pattern)) {
167 } else if (MatchPattern(codec_id, kMPEG4AACCodecInfo.pattern)) {
168 int audio_object_type = GetMP4AudioObjectType(codec_id, log_c
221 std::string codec_id = codecs[i]; local
338 std::string codec_id = codecs[j]; local
[all...]

Completed in 157 milliseconds

1234