HomeSort by relevance Sort by last modified time
    Searched refs:Codec (Results 1 - 25 of 97) sorted by null

1 2 3 4

  /external/chromium_org/third_party/libjingle/source/talk/media/base/
codec.h 80 struct Codec {
88 // Creates a codec with the given parameters.
89 Codec(int id, const std::string& name, int clockrate, int preference)
96 // Creates an empty codec.
97 Codec() : id(0), clockrate(0), preference(0) {}
99 // Indicates if this codec is compatible with the specified codec.
100 bool Matches(const Codec& codec) const;
116 static bool Preferable(const Codec& first, const Codec& other)
    [all...]
codec.cc 28 #include "talk/media/base/codec.h"
92 bool Codec::Matches(const Codec& codec) const {
93 // Match the codec id/name based on the typical static/dynamic name rules.
95 return (codec.id <= kMaxStaticPayloadId) ?
96 (id == codec.id) : (_stricmp(name.c_str(), codec.name.c_str()) == 0);
99 bool Codec::GetParam(const std::string& name, std::string* out) const {
107 bool Codec::GetParam(const std::string& name, int* out) const
    [all...]
codec_unittest.cc 28 #include "talk/media/base/codec.h"
32 using cricket::Codec;
47 Codec c0(96, "D", 1000, 0);
50 Codec c1 = c0;
78 Codec c5;
79 Codec c6(0, "", 0, 0);
123 // Test a codec with a static payload type.
135 // Test a codec with a dynamic payload type.
145 // Test a codec with a dynamic payload type, and auto bitrate.
202 // Test a codec with a static payload type
282 AudioCodec codec; local
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
audio_coding_module.cc 38 // Get supported codec parameters with id
39 int AudioCodingModule::Codec(int list_id, CodecInst* codec) {
40 // Get the codec settings for the codec with the given list ID
41 return acm2::ACMCodecDB::Codec(list_id, codec);
44 // Get supported codec parameters with name, frequency and number of channels.
45 int AudioCodingModule::Codec(const char* payload_name,
46 CodecInst* codec,
    [all...]
acm_receive_test_oldapi.cc 26 // Returns true if the codec should be registered, otherwise false. Changes
27 // the number of channels for the Opus codec to always be 1.
40 // neteq_universal_new.rtp. Returns true if the codec should be registered,
119 ASSERT_EQ(0, acm_->Codec(n, &my_codec_param)) << "Failed to get codec.";
122 << "Couldn't register receive codec.\n";
130 ASSERT_EQ(0, acm_->Codec(n, &my_codec_param)) << "Failed to get codec.";
132 // Skip this codec.
141 << "Couldn't register receive codec.\n"
    [all...]
  /external/chromium_org/content/browser/speech/
audio_encoder.h 22 enum Codec {
27 static AudioEncoder* Create(Codec codec,
  /external/chromium_org/media/cast/receiver/
audio_decoder.h 32 Codec codec);
video_decoder.h 31 Codec codec);
cast_receiver_impl.h 105 const Codec audio_codec_;
106 const Codec video_codec_;
  /external/chromium_org/media/cast/
cast_config.h 56 Codec codec; member in struct:media::cast::AudioSenderConfig
100 int max_number_of_video_buffers_used; // Max value depend on codec.
101 Codec codec; member in struct:media::cast::VideoSenderConfig
150 // Codec used for the compression of signal data.
153 Codec codec; member in struct:media::cast::FrameReceiverConfig
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
HuffmanTest.java 46 assertRoundTrip(Huffman.Codec.REQUEST, buf);
47 assertRoundTrip(Huffman.Codec.RESPONSE, buf);
50 private static void assertRoundTrip(Huffman.Codec codec, byte[] buf) throws IOException {
54 codec.encode(buf, dos);
55 assertEquals(baos.size(), codec.encodedLength(buf));
57 byte[] decodedBytes = codec.decode(baos.toByteArray());
  /external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
initial_delay_unittest.cc 68 CodecInst codec; local
73 AudioCodingModule::Codec("L16", &codec, kFsHz[n], kChannels[k]);
74 acm_b_->RegisterReceiveCodec(codec);
85 CodecInst codec; local
86 AudioCodingModule::Codec("L16", &codec, 8000, 1);
87 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets.
88 Run(codec, 1000)
92 CodecInst codec; local
99 CodecInst codec; local
106 CodecInst codec; local
113 CodecInst codec; local
120 CodecInst codec; local
    [all...]
SpatialAudio.cc 73 status = _acmReceiver->Codec(n, &codecInst);
75 printf("Error in Codec(), no matching codec found");
97 _acmLeft->Codec((uint8_t) 1, &codecInst);
109 _acmLeft->Codec((uint8_t) 0, &codecInst);
117 // Change codec
118 _acmLeft->Codec((uint8_t) 3, &codecInst);
130 _acmLeft->Codec((uint8_t) 4, &codecInst);
134 _acmLeft->Codec((uint8_t) 0, &codecInst);
TwoWayCommunication.cc 69 EXPECT_EQ(tmpACM->Codec(codecCntr, &codecInst), 0);
72 printf("\nChoose a send codec for side A [0]: ");
77 printf("\nChoose a send codec for side B [0]: ");
92 EXPECT_EQ(0, _acmA->Codec(codecID_A, &codecInst_A));
93 EXPECT_EQ(0, _acmB->Codec(codecID_B, &codecInst_B));
94 EXPECT_EQ(0, _acmA->Codec(6, &dummyCodec));
184 EXPECT_EQ(0, _acmA->Codec("ISAC", &codecInst_A, 16000, 1));
185 EXPECT_EQ(0, _acmB->Codec("L16", &codecInst_B, 8000, 1));
186 EXPECT_EQ(0, _acmA->Codec(6, &dummyCodec));
294 // Expect call to pass except for the time when no send codec is registered
    [all...]
EncodeDecodeTest.cc 68 // Set the codec for the current test.
70 // Set the codec id.
73 // Choose codec on command line.
74 printf("List of supported codec.\n");
76 EXPECT_EQ(0, acm->Codec(n, &sendCodec));
79 printf("Choose your codec:");
83 EXPECT_EQ(0, acm->Codec(codecNo, &sendCodec));
134 EXPECT_EQ(0, acm->Codec(i, &recvCodec));
272 int numPars[52]; // Number of codec parameters sets (freq, pacsize, rate)
273 // to test, for a given codec
    [all...]
  /external/chromium_org/media/cast/sender/
audio_encoder.h 32 Codec codec,
audio_encoder_unittest.cc 30 explicit TestEncodedAudioFrameReceiver(Codec codec)
31 : codec_(codec), frames_received_(0), rtp_lower_bound_(0) {}
65 const Codec codec_;
113 void RunTestForCodec(Codec codec) {
117 CreateObjectsForCodec(codec);
146 void CreateObjectsForCodec(Codec codec) {
153 receiver_.reset(new TestEncodedAudioFrameReceiver(codec));
    [all...]
  /external/chromium_org/remoting/protocol/
session_config.h 30 enum Codec {
48 ChannelConfig(TransportType transport, int version, Codec codec);
56 Codec codec; member in struct:remoting::protocol::ChannelConfig
160 void EnableVideoCodec(ChannelConfig::Codec codec);
  /cts/tests/tests/media/src/android/media/cts/
AdaptivePlaybackTest.java 50 public Iterable<Codec> H264(CodecFactory factory) {
59 public Iterable<Codec> HEVC(CodecFactory factory) {
68 public Iterable<Codec> H263(CodecFactory factory) {
77 public Iterable<Codec> Mpeg4(CodecFactory factory) {
87 public Iterable<Codec> VP8(CodecFactory factory) {
96 public Iterable<Codec> VP9(CodecFactory factory) {
109 public Iterable<Codec> H264() { return H264(ALL); }
110 public Iterable<Codec> HEVC() { return HEVC(ALL); }
111 public Iterable<Codec> VP8() { return VP8(ALL); }
112 public Iterable<Codec> VP9() { return VP9(ALL);
    [all...]
  /external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
codec_database_test.cc 11 // Implementation of codec data base test
132 TEST(VideoCodingModule::Codec(VideoCodingModule::NumberOfCodecs() + 1u,
134 VideoCodingModule::Codec(1, &sendCodec);
142 printf("Registered codec names: ");
145 VideoCodingModule::Codec(i, &sendCodec);
151 VideoCodingModule::Codec(kVideoCodecVP8, &sendCodec);
160 VideoCodingModule::Codec(0, &sendCodec);
190 VideoCodingModule::Codec(kVideoCodecVP8, &vp8DecSettings);
195 VideoCodingModule::Codec(kVideoCodecVP8, &vp8EncSettings);
214 TEST(_vcm->AddVideoFrame(sourceFrame) < 0); // No send codec registere
    [all...]
generic_codec_test.cc 117 TEST(_vcm->Codec(0, &sendCodec) == VCM_OK);
121 // registration of first codec in the list
123 _vcm->Codec(0, &_sendCodec);
128 TEST(_vcm->Codec(kVideoCodecVP8, &sendCodec) == 0);
132 _vcm->Codec(kVideoCodecVP8, &sendCodec);
135 _vcm->Codec(kVideoCodecVP8, &sendCodec);
136 _vcm->Codec(kVideoCodecVP8, &sendCodec);
143 _vcm->Codec(i, &receiveCodec);
172 _vcm->Codec(kVideoCodecVP8, &_sendCodec);
213 TEST(_vcm->RegisterReceiveCodec(&sendCodec, 1) == VCM_OK); // same codec for encode and decod
    [all...]
  /external/chromium_org/net/base/
mime_util.cc 54 enum Codec {
120 CodecEntry() : codec(INVALID_CODEC), is_ambiguous(true) {}
121 CodecEntry(Codec c, bool ambiguous) : codec(c), is_ambiguous(ambiguous) {}
122 Codec codec; member in struct:net::MimeUtil::CodecEntry
129 // Returns IsSupported if all codec IDs in |codecs| are unambiguous
131 // at least one codec ID in |codecs| is ambiguous but all the codecs
133 // least one codec ID is not supported by the platform.
145 // Converts a codec ID into an Codec enum value and indicate
563 MimeUtil::Codec codec; member in struct:net::CodecIDMappings
612 Codec codec = INVALID_CODEC; local
690 Codec codec = INVALID_CODEC; local
856 Codec codec = INVALID_CODEC; local
    [all...]
  /external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
codec_database.h 60 // Returns the default settings for the codec with id |list_id|.
61 static bool Codec(int list_id, VideoCodec* settings);
63 // Returns the default settings for the codec with type |codec_type|.
64 static bool Codec(VideoCodecType codec_type, VideoCodec* settings);
68 // Sets the sender side codec and initiates the desired codec given the
70 // Returns true if the codec was successfully registered, false otherwise.
76 // Gets the current send codec. Relevant for internal codecs only.
77 // Returns true if there is a send codec, false otherwise.
80 // Gets current send side codec type. Relevant for internal codecs only
    [all...]
  /external/chromium_org/third_party/webrtc/modules/video_coding/main/interface/
video_coding.h 86 // Get supported codec settings with using id
89 // - listId : Id or index of the codec to look up
90 // - codec : Memory where the codec settings will be stored
93 // VCM_PARAMETER_ERROR if codec not supported or id too high
94 static int32_t Codec(const uint8_t listId, VideoCodec* codec);
96 // Get supported codec settings using codec type
99 // - codecType : The codec type to get settings fo
    [all...]
  /external/chromium_org/media/cast/net/
cast_transport_config.h 21 enum Codec {

Completed in 1650 milliseconds

1 2 3 4