/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
acm_receiver_unittest_oldapi.cc | 61 ASSERT_EQ(0, ACMCodecDB::Codec(n, &codecs_[n])); 82 CodecInst codec; local 83 ACMCodecDB::Codec(codec_id, &codec); 85 ASSERT_EQ(0, acm_->RegisterSendCodec(codec)); 89 if (!CodecsEqual(codec, current_codec)) 90 ASSERT_EQ(0, acm_->RegisterSendCodec(codec)); 93 // Frame setup according to the codec. 94 frame.sample_rate_hz_ = codec.plfreq; 95 frame.samples_per_channel_ = codec.plfreq / 100; // 10 ms 210 CodecInst codec; local 314 CodecInst codec; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
target_delay_unittest.cc | 33 CodecInst codec; local 34 ASSERT_EQ(0, AudioCodingModule::Codec("L16", &codec, kSampleRateHz, 1)); 36 ASSERT_EQ(0, acm_->RegisterReceiveCodec(codec)); 38 rtp_info_.header.payloadType = codec.pltype;
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/ |
test_api_video.cc | 157 VideoCodec codec; local 158 codec.codecType = kVideoCodecVP8; 159 codec.plType = kPayloadType; 160 strncpy(codec.plName, "VP8", 4); 161 EXPECT_EQ(0, rtp_receiver_->RegisterReceivePayload(codec.plName, 162 codec.plType, 165 codec.maxBitrate));
|
/external/chromium_org/third_party/webrtc/video/ |
loopback.cc | 52 DEFINE_string(codec, "VP8", "Video codec to use."); 53 std::string Codec() { return static_cast<std::string>(FLAGS_codec); } 122 if (flags::Codec() == "VP8") { 125 // Codec not supported. 126 assert(false && "Codec not supported!"); 130 send_config.encoder_settings.payload_name = flags::Codec(); 162 VideoCodec codec = local 164 receive_config.codecs.push_back(codec);
|
/external/libvpx/libvpx/examples/ |
twopass_encoder.c | 64 fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n", 125 vpx_codec_ctx_t codec; local 147 die("Unsupported codec."); 175 die_codec(&codec, "Failed to get default codec config."); 196 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 197 die_codec(&codec, "Failed to initialize encoder"); 203 get_frame_stats(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, 206 encode_frame(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, 212 get_frame_stats(&codec, NULL, frame_count, 1, 0, VPX_DL_BEST_QUALITY [all...] |
/external/skia/src/images/ |
SkImageDecoder.cpp | 297 SkImageDecoder* codec = SkImageDecoder::Factory(stream); local 299 if (NULL != codec) { 300 success = codec->decode(stream, bm, pref, mode); 302 *format = codec->getFormat(); 309 delete codec;
|
/external/tinycompress/ |
cplay.c | 129 int check_codec_format_supported(unsigned int card, unsigned int device, struct snd_codec *codec) 131 if (is_codec_supported(card, device, COMPRESS_IN, codec) == false) { 132 fprintf(stderr, "Error: This codec or format is not supported by DSP\n"); 203 struct snd_codec codec; local 226 codec.id = SND_AUDIOCODEC_MP3; 227 codec.ch_in = channels; 228 codec.ch_out = channels; 229 codec.sample_rate = rate; 230 if (!codec.sample_rate) { 235 codec.bit_rate = bits [all...] |
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/test/ |
Isac_test.cc | 66 WebRtc_Word8 codec[10]; local 87 strcpy(codec,argv[5]); 90 if (!_stricmp("isac",codec)){ 98 printf("Error: Codec not recognized. Check spelling!\n"); 103 printf("Error: Codec not recognized. Check spelling!\n"); 124 strcat(outFile, codec); 144 if (!_stricmp("isac", codec)){ /* ISAC */ 254 if (!_stricmp("isac", codec)){
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
AudioTrackDecoder.java | 77 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { 96 codec.releaseOutputBuffer(bufferIndex, false);
|
/frameworks/opt/net/voip/src/java/android/net/rtp/ |
AudioGroup.java | 149 AudioCodec codec = stream.getCodec(); local 150 String codecSpec = String.format(Locale.US, "%d %s %s", codec.type, 151 codec.rtpmap, codec.fmtp);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
twopass_encoder.c | 64 fprintf(stderr, "Usage: %s <codec> <width> <height> <infile> <outfile>\n", 125 vpx_codec_ctx_t codec; local 147 die("Unsupported codec."); 175 die_codec(&codec, "Failed to get default codec config."); 196 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 197 die_codec(&codec, "Failed to initialize encoder"); 203 get_frame_stats(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, 206 encode_frame(&codec, &raw, frame_count, 1, 0, VPX_DL_BEST_QUALITY, 212 get_frame_stats(&codec, NULL, frame_count, 1, 0, VPX_DL_BEST_QUALITY [all...] |
/hardware/intel/img/psb_video/fw/topazhp/ |
fwinfo.c | 45 unsigned short codec; member in struct:topaz_fw_info_item_s 86 static char *codec_to_string(int codec) 88 switch (codec) { 110 return "Undefined codec"; 157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); 159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec));
|
/hardware/intel/img/psb_video/fw/topazsc/ |
fwinfo.c | 45 unsigned short codec; member in struct:topaz_fw_info_item_s 86 static char *codec_to_string(int codec) 88 switch (codec) { 110 return "Undefined codec"; 157 printf("topaz: index : %s\n", codec_to_string(topaz_fw_table[iter].header.codec)); 159 printf("topaz: Codec : %s\n", codec_to_string(topaz_fw_table[iter].header.codec));
|
topaz_bin.c | 48 unsigned short codec; member in struct:topaz_fw_info_item_s 89 * { ver, codec, text_size, data_size, date_location }
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaCodecTest.java | 136 // create codec (enter Initialized State) 137 MediaCodec codec; local 142 codec = createCodecByType(null, isEncoder); 147 codec = createCodecByType("foobarplan9", isEncoder); // invalid type 152 codec = MediaCodec.createByCodecName("foobarplan9"); // invalid name 157 codec = createCodecByType(format.getString(MediaFormat.KEY_MIME), isEncoder); 161 codec.start(); 169 codec.flush(); 176 MediaCodecInfo codecInfo = codec.getCodecInfo(); // obtaining the codec info now is fine [all...] |
DecoderTest.java | 198 MediaUtils.skipTest("no codec found"); 600 MediaCodec codec; local 615 codec = MediaCodec.createDecoderByType(mime); 631 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */); 633 codec.start(); 634 codecInputBuffers = codec.getInputBuffers(); 635 codecOutputBuffers = codec.getOutputBuffers(); 638 codec.stop(); 639 codec.configure(configFormat, null /* surface */, null /* crypto */, 0 /* flags */); 640 codec.start() 1399 MediaCodec codec = createDecoder(mime); local 1823 MediaCodec codec; local [all...] |
MediaCodecCencPlayer.java | 287 MediaCodec codec; local 290 codec = MediaCodec.createByCodecName( 293 codec = MediaCodec.createDecoderByType(mime); 296 codec.configure( 305 trackIndex, format, codec, true, false, 310 trackIndex, format, codec, true, false,
|
MediaCodecTunneledPlayer.java | 36 * Codec component. 239 MediaCodec codec; local 241 // setup tunneled video codec if needed 248 Log.e(TAG,"addTrack - Could not find Tunneled playback codec for "+mime+ 253 codec = MediaCodec.createByCodecName(codecName); 254 if (codec == null) { 255 Log.e(TAG, "addTrack - Could not create Tunneled playback codec "+ 265 codec = MediaCodec.createDecoderByType(mime); 266 if (codec == null) { 267 Log.e(TAG, "addTrack - Could not create regular playback codec for mime " [all...] |
/bionic/libc/kernel/uapi/sound/ |
compress_offload.h | 34 struct snd_codec codec; member in struct:snd_compr_params 70 __u32 codec; member in struct:snd_compr_codec_caps
|
/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...] |