/external/webrtc/talk/media/webrtc/ |
fakewebrtcvoiceengine.h | 35 #include "talk/media/base/codec.h" 400 WEBRTC_STUB(GetCodec, (int index, webrtc::CodecInst& codec)); 401 WEBRTC_FUNC(SetSendCodec, (int channel, const webrtc::CodecInst& codec)) { 404 if (_stricmp(codec.plname, "telephone-event") == 0 || 405 _stricmp(codec.plname, "audio/telephone-event") == 0 || 406 _stricmp(codec.plname, "CN") == 0 || 407 _stricmp(codec.plname, "red") == 0 ) { 410 channels_[channel]->send_codec = codec; 414 WEBRTC_FUNC(GetSendCodec, (int channel, webrtc::CodecInst& codec)) { 416 codec = channels_[channel]->send_codec [all...] |
webrtcvideoengine2.h | 227 VideoCodec codec; member in struct:cricket::WebRtcVideoChannel2::VideoCodecSettings 252 void SetCodec(const VideoCodecSettings& codec); 312 // the first frame to know that you gave a bad codec parameter could make 327 const VideoCodec& codec, 332 const VideoCodec& codec, 337 void* ConfigureVideoEncoderSettings(const VideoCodec& codec, 342 AllocatedEncoder CreateVideoEncoder(const VideoCodec& codec) 346 void SetCodecAndOptions(const VideoCodecSettings& codec, 352 const VideoCodec& codec) const EXCLUSIVE_LOCKS_REQUIRED(lock_); 439 const VideoCodec& codec); [all...] |
/prebuilts/sdk/tools/ |
jack-coverage-plugin.jar | |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
acm_receiver.cc | 109 // Is the given codec a CNG codec? 189 // If this is a CNG while the audio codec is not mono, skip pushing in 267 // We might end up here ONLY if codec is changed. 313 RTC_DCHECK(cid) << "Invalid codec index: " << acm_codec_id; 316 RTC_DCHECK(ned) << "Invalid codec ID: " << static_cast<int>(*cid); 323 // If this codec has been registered before. 330 // Re-registering the same codec. Do nothing and return. 334 // Changing codec. First unregister the old codec, then register the ne [all...] |
/external/webrtc/webrtc/modules/video_coding/test/ |
rtp_player.cc | 237 VideoCodec codec; local 238 memset(&codec, 0, sizeof(codec)); 239 strncpy(codec.plName, it->name().c_str(), sizeof(codec.plName) - 1); 240 codec.plType = it->payload_type(); 241 codec.codecType = it->codec_type(); 243 codec.plName, codec.plType, 90000, 0, codec.maxBitrate) < 0) [all...] |
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
vp8_impl.cc | 62 std::vector<int> GetStreamBitratesKbps(const VideoCodec& codec, 64 if (codec.numberOfSimulcastStreams <= 1) { 68 std::vector<int> bitrates_kbps(codec.numberOfSimulcastStreams); 71 for (size_t i = 0; i < static_cast<size_t>(codec.numberOfSimulcastStreams) && 73 static_cast<int>(codec.simulcastStream[i].minBitrate); 77 std::min(static_cast<int>(codec.simulcastStream[i].targetBitrate), 88 static_cast<int>(codec.simulcastStream[last_active_stream].maxBitrate - 95 // controlled outside the codec implementation and is not overriden by this. 96 if (bitrates_kbps[0] < static_cast<int>(codec.simulcastStream[0].minBitrate)) 97 bitrates_kbps[0] = static_cast<int>(codec.simulcastStream[0].minBitrate) [all...] |
/external/skia/dm/ |
DMSrcSink.cpp | 354 return "Could not create image from codec image generator."; 373 SkAutoTDelete<SkCodec> codec(SkCodec::NewFromData(encoded)); 374 if (nullptr == codec.get()) { 375 return SkStringPrintf("Couldn't create codec for %s.", fPath.c_str()); 378 SkImageInfo decodeInfo = codec->getInfo().makeAlphaType(fDstAlphaType); 384 SkISize size = codec->getScaledDimensions(fScale); 424 switch (codec->getPixels(decodeInfo, bitmap.getPixels(), bitmap.rowBytes(), &options, 440 if (SkCodec::kSuccess != codec->startScanlineDecode(decodeInfo, NULL, colorPtr, 448 switch (codec->getScanlineOrder()) { 454 codec->getScanlines(dst, height, rowBytes) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
DecoderTest.java | 231 MediaUtils.skipTest("no codec found"); 373 "codec.dequeueInputBuffer() unrecognized return value: " + bufidx, 396 "codec.dequeueOutputBuffer() timeout after seeing input EOS", [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
session_info.cc | 63 if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp8) { 65 } else if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp9) { 75 if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp8) { 77 } else if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp9) { 87 if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp8) { 89 } else if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp9) { 100 if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp8) { 102 } else if (packets_.front().codecSpecificHeader.codec == kRtpVideoVp9) { 111 packets_.front().codecSpecificHeader.codec != kRtpVideoVp8) 118 packets_.front().codecSpecificHeader.codec != kRtpVideoVp9 | [all...] |
/cts/tests/tests/security/src/android/security/cts/ |
StagefrightTest.java | 375 // decode this track once with each matching codec 378 Log.i(TAG, "Decoding track " + t + " using codec " + codecName); 380 MediaCodec codec = MediaCodec.createByCodecName(codecName); local 385 codec.configure(format, surface, null, 0); 386 codec.start(); 392 int bufidx = codec.dequeueInputBuffer(5000); 394 int n = ex.readSampleData(codec.getInputBuffer(bufidx), 0); 400 codec.queueInputBuffer(bufidx, 0, n, time, flags); 403 int status = codec.dequeueOutputBuffer(info, 5000); 412 codec.releaseOutputBuffer(status, true) [all...] |
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 59 // References to the internal buffers managed by the codec. The codec 66 // consume these in the order they were dequeued from the codec. 70 // they were produced by the codec. 80 private MediaCodecWrapper(MediaCodec codec) { 81 mDecoder = codec; 82 codec.start(); 83 mInputBuffers = codec.getInputBuffers(); 84 mOutputBuffers = codec.getOutputBuffers(); 131 * Constructs the {@link MediaCodecWrapper} wrapper object around the video codec [all...] |
/developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 59 // References to the internal buffers managed by the codec. The codec 66 // consume these in the order they were dequeued from the codec. 70 // they were produced by the codec. 80 private MediaCodecWrapper(MediaCodec codec) { 81 mDecoder = codec; 82 codec.start(); 83 mInputBuffers = codec.getInputBuffers(); 84 mOutputBuffers = codec.getOutputBuffers(); 131 * Constructs the {@link MediaCodecWrapper} wrapper object around the video codec [all...] |
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 59 // References to the internal buffers managed by the codec. The codec 66 // consume these in the order they were dequeued from the codec. 70 // they were produced by the codec. 80 private MediaCodecWrapper(MediaCodec codec) { 81 mDecoder = codec; 82 codec.start(); 83 mInputBuffers = codec.getInputBuffers(); 84 mOutputBuffers = codec.getOutputBuffers(); 131 * Constructs the {@link MediaCodecWrapper} wrapper object around the video codec [all...] |
/developers/samples/android/common/src/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 59 // References to the internal buffers managed by the codec. The codec 66 // consume these in the order they were dequeued from the codec. 70 // they were produced by the codec. 80 private MediaCodecWrapper(MediaCodec codec) { 81 mDecoder = codec; 82 codec.start(); 83 mInputBuffers = codec.getInputBuffers(); 84 mOutputBuffers = codec.getOutputBuffers(); 131 * Constructs the {@link MediaCodecWrapper} wrapper object around the video codec [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 59 // References to the internal buffers managed by the codec. The codec 66 // consume these in the order they were dequeued from the codec. 70 // they were produced by the codec. 80 private MediaCodecWrapper(MediaCodec codec) { 81 mDecoder = codec; 82 codec.start(); 83 mInputBuffers = codec.getInputBuffers(); 84 mOutputBuffers = codec.getOutputBuffers(); 131 * Constructs the {@link MediaCodecWrapper} wrapper object around the video codec [all...] |
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 59 // References to the internal buffers managed by the codec. The codec 66 // consume these in the order they were dequeued from the codec. 70 // they were produced by the codec. 80 private MediaCodecWrapper(MediaCodec codec) { 81 mDecoder = codec; 82 codec.start(); 83 mInputBuffers = codec.getInputBuffers(); 84 mOutputBuffers = codec.getOutputBuffers(); 131 * Constructs the {@link MediaCodecWrapper} wrapper object around the video codec [all...] |
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 59 // References to the internal buffers managed by the codec. The codec 66 // consume these in the order they were dequeued from the codec. 70 // they were produced by the codec. 80 private MediaCodecWrapper(MediaCodec codec) { 81 mDecoder = codec; 82 codec.start(); 83 mInputBuffers = codec.getInputBuffers(); 84 mOutputBuffers = codec.getOutputBuffers(); 131 * Constructs the {@link MediaCodecWrapper} wrapper object around the video codec [all...] |
/external/apache-http/src/org/apache/commons/codec/binary/ |
Base64.java | 17 package org.apache.commons.codec.binary; 19 import org.apache.commons.codec.BinaryDecoder; 20 import org.apache.commons.codec.BinaryEncoder; 21 import org.apache.commons.codec.DecoderException; 22 import org.apache.commons.codec.EncoderException;
|
/external/skia/gm/ |
downsamplebitmap.cpp | 174 SkImageDecoder* codec = nullptr; variable 178 codec = SkImageDecoder::Factory(&stream); 180 if (codec) { 182 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 183 delete codec;
|
filterbitmap.cpp | 199 SkImageDecoder* codec = nullptr; variable 203 codec = SkImageDecoder::Factory(&stream); 205 if (codec) { 207 codec->decode(&stream, &fBM, kN32_SkColorType, SkImageDecoder::kDecodePixels_Mode); 208 delete codec;
|
/external/skia/src/codec/ |
SkIcoCodec.cpp | 108 // Now will construct a candidate codec for each of the embedded images 130 // Create a new stream for the embedded codec 140 // Check if the embedded codec is bmp or png and create the codec 141 SkCodec* codec = nullptr; local 143 codec = SkPngCodec::NewFromStream(embeddedStream.detach()); 145 codec = SkBmpCodec::NewFromIco(embeddedStream.detach()); 148 // Save a valid codec 149 if (nullptr != codec) { 150 codecs->push_back().reset(codec); [all...] |
/frameworks/av/cmds/stagefright/ |
recordvideo.cpp | 53 fprintf(stderr, " -v video codec: [0] AVC [1] M4V [2] H263 (default: 0)\n"); 54 fprintf(stderr, " -s(oftware) prefer software codec\n"); 176 int codec = 0; local 243 codec = atoi(optarg); 244 if (codec < 0 || codec > 2) { 276 switch (codec) {
|
/hardware/intel/common/libmix/mix_audio/src/ |
intel_sst_ioctl.h | 5 /* AUDIO/MUSIC CODEC Type Definitions */ 7 SST_CODEC_TYPE_PCM, /* Pass through Audio codec */ 21 /* VOICE CODEC Type Definitions */ 22 SST_CODEC_TYPE_VOICE_PCM = 0x21, /* Pass through voice codec */ 66 __u16 codec; /* codec type */ member in struct:snd_pcm_params 78 __u16 codec; member in struct:snd_mp3_params 94 __u16 codec; member in struct:snd_aac_params 123 __u16 codec; member in struct:snd_wma_params 180 /* Add the codec parameter structures for new codecs to be supported * 208 __u8 codec; member in struct:snd_sst_params [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/ |
tools_common.sh | 210 # 1 - codec name 222 codec="${1}" 249 "${encoder}" --codec=${codec} --width=${width} --height=${height} \ 254 | "${encoder}" --codec=${codec} --width=${width} --height=${height} \
|
/external/webrtc/webrtc/voice_engine/test/cmd_test/ |
voe_cmd_test.cc | 58 VoECodec* codec = NULL; variable 113 for (int i = 0; i < codec->NumOfCodecs(); ++i) { 114 int res = codec->GetCodec(i, codec_params); 131 codec = VoECodec::GetInterface(m_voe); 187 if (codec) 188 codec->Release(); 304 printf("Select send codec: "); 307 codec->GetCodec(codec_selection, cinst); 309 printf("Set primary codec\n"); 311 res = codec->SetSendCodec(chan, cinst) [all...] |