/external/libvpx/libvpx/examples/ |
vp8_multi_resolution_encoder.c | 176 vpx_codec_ctx_t codec[NUM_ENCODERS]; local 328 if(vpx_codec_enc_init_multi(&codec[0], interface, &cfg[0], NUM_ENCODERS, 330 die_codec(&codec[0], "Failed to initialize encoder"); 337 if(vpx_codec_control(&codec[i], VP8E_SET_CPUUSED, speed)) 338 die_codec(&codec[i], "Failed to set cpu_used"); 345 if(vpx_codec_control(&codec[i], VP8E_SET_STATIC_THRESHOLD, static_thresh)) 346 die_codec(&codec[i], "Failed to set static threshold"); 351 if(vpx_codec_control(&codec[0], VP8E_SET_NOISE_SENSITIVITY, 1)) 352 die_codec(&codec[0], "Failed to set noise_sensitivity"); 355 if(vpx_codec_control(&codec[i], VP8E_SET_NOISE_SENSITIVITY, 0) [all...] |
vpx_temporal_scalable_patterns.c | 433 vpx_codec_ctx_t codec; local 467 die("Unsupported codec."); 568 // Initialize codec. 569 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 570 die_codec(&codec, "Failed to initialize encoder"); 573 vpx_codec_control(&codec, VP8E_SET_CPUUSED, -speed); 574 vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, 1); 576 vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed); 577 vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3); 578 vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOST, 0) [all...] |
/external/stlport/test/unit/ |
codecvt_test.cpp | 309 eater_codecvt codec(1); 310 locale loc(locale::classic(), &codec); local 343 generator_codecvt codec(1); 344 locale loc(locale::classic(), &codec);
|
/frameworks/av/cmds/stagefright/ |
codec.cpp | 18 #define LOG_TAG "codec" 143 sp<MediaCodec> codec = state->mCodec; local 145 CHECK_EQ((status_t)OK, codec->start()); 147 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); 148 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers));
|
recordvideo.cpp | 46 fprintf(stderr, " -v video codec: [0] AVC [1] M4V [2] H263 (default: 0)\n"); 47 fprintf(stderr, " -s(oftware) prefer software codec\n"); 169 int codec = 0; local 236 codec = atoi(optarg); 237 if (codec < 0 || codec > 2) { 272 switch (codec) {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
CpuVideoTrackDecoder.java | 67 // Find a codec for our video that can output to one of our supported color-spaces 81 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { 87 mColorFormat = codec.getOutputFormat().getInteger(MediaFormat.KEY_COLOR_FORMAT); 96 codec.releaseOutputBuffer(bufferIndex, false); 169 * Looks for a codec with the specified requirements. 173 * <li>The codec is a decoder.</li> 174 * <li>The codec can decode a video of the specified format.</li> 175 * <li>The codec can decode to one of the specified color formats.</li> 180 * @param format The format the codec must decode. 182 * @return A codec that meets the requirements, or null if no such codec was found [all...] |
GpuVideoTrackDecoder.java | 107 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) { 113 codec.releaseOutputBuffer(bufferIndex, textureAvailable);
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/ |
decode_with_partial_drops.c | 16 // error recovery features of the codec. 197 vpx_codec_ctx_t codec; local 243 /* Initialize codec */ 245 res = vpx_codec_dec_init(&codec, interface, &dec_cfg, flags); 247 die_codec(&codec, "Failed to initialize decoder"); 303 if(vpx_codec_decode(&codec, frame, frame_sz, NULL, 0)) 304 die_codec(&codec, "Failed to decode frame"); 307 while((img = vpx_codec_get_frame(&codec, &iter))) { 322 if(vpx_codec_destroy(&codec)) 323 die_codec(&codec, "Failed to destroy codec") [all...] |
vp8_multi_resolution_encoder.c | 176 vpx_codec_ctx_t codec[NUM_ENCODERS]; local 328 if(vpx_codec_enc_init_multi(&codec[0], interface, &cfg[0], NUM_ENCODERS, 330 die_codec(&codec[0], "Failed to initialize encoder"); 337 if(vpx_codec_control(&codec[i], VP8E_SET_CPUUSED, speed)) 338 die_codec(&codec[i], "Failed to set cpu_used"); 345 if(vpx_codec_control(&codec[i], VP8E_SET_STATIC_THRESHOLD, static_thresh)) 346 die_codec(&codec[i], "Failed to set static threshold"); 351 if(vpx_codec_control(&codec[0], VP8E_SET_NOISE_SENSITIVITY, 1)) 352 die_codec(&codec[0], "Failed to set noise_sensitivity"); 355 if(vpx_codec_control(&codec[i], VP8E_SET_NOISE_SENSITIVITY, 0) [all...] |
vpx_temporal_scalable_patterns.c | 433 vpx_codec_ctx_t codec; local 467 die("Unsupported codec."); 568 // Initialize codec. 569 if (vpx_codec_enc_init(&codec, encoder->interface(), &cfg, 0)) 570 die_codec(&codec, "Failed to initialize encoder"); 573 vpx_codec_control(&codec, VP8E_SET_CPUUSED, -speed); 574 vpx_codec_control(&codec, VP8E_SET_NOISE_SENSITIVITY, 1); 576 vpx_codec_control(&codec, VP8E_SET_CPUUSED, speed); 577 vpx_codec_control(&codec, VP9E_SET_AQ_MODE, 3); 578 vpx_codec_control(&codec, VP9E_SET_FRAME_PERIODIC_BOOST, 0) [all...] |
/hardware/intel/img/psb_video/fw/topazsc/ |
topazsc_bin.c | 61 #define FW_MASTER_INFO(codec,prefix) \ 62 { FW_MASTER_##codec,\ 64 FW_MASTER_##codec,\ 72 #define FW_SLAVE_INFO(codec,prefix) \ 73 { FW_SLAVE_##codec,\ 75 FW_SLAVE_##codec,\ 87 unsigned short codec; member in struct:topaz_fw_info_item_s 139 * { ver, codec, text_size, data_size, date_location }
|
/hardware/qcom/msm8x84/kernel-headers/sound/ |
compress_offload.h | 34 struct snd_codec codec; member in struct:snd_compr_params 71 __u32 codec; member in struct:snd_compr_codec_caps
|
/hardware/qcom/msm8x84/original-kernel-headers/sound/ |
compress_offload.h | 47 * @codec: codec parameters 52 struct snd_codec codec; member in struct:snd_compr_params 114 * struct snd_compr_codec_caps: query capability of codec 115 * @codec: codec for which capability is queried 116 * @num_descriptors: number of codec descriptors 117 * @descriptor: array of codec capability descriptor 120 __u32 codec; member in struct:snd_compr_codec_caps 159 * SNDRV_COMPRESS_GET_CODEC_CAPS: Query capability of a codec [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/lcml/src/ |
LCML_DspCodec.c | 1575 LCML_DSP_INTERFACE *codec; local 1633 LCML_DSP_INTERFACE *codec; local [all...] |
/ndk/tests/device/test-gnustl-full/unit/ |
codecvt_test.cpp | 310 eater_codecvt codec(1); 311 locale loc(locale::classic(), &codec); local 345 generator_codecvt codec(1); 346 locale loc(locale::classic(), &codec);
|
/ndk/tests/device/test-stlport/unit/ |
codecvt_test.cpp | 310 eater_codecvt codec(1); 311 locale loc(locale::classic(), &codec); local 345 generator_codecvt codec(1); 346 locale loc(locale::classic(), &codec);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec_support.py | 17 encoding = '' # codec name 18 codec = None # codec tuple (with 4 elements) variable in class:TestBase 21 codectests = None # must set. codec test tuple 28 if self.codec is None: 29 self.codec = codecs.lookup(self.encoding) 30 self.encode = self.codec.encode 31 self.decode = self.codec.decode 32 self.reader = self.codec.streamreader 33 self.writer = self.codec.streamwrite [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_multibytecodec_support.py | 17 encoding = '' # codec name 18 codec = None # codec tuple (with 4 elements) variable in class:TestBase 21 codectests = None # must set. codec test tuple 28 if self.codec is None: 29 self.codec = codecs.lookup(self.encoding) 30 self.encode = self.codec.encode 31 self.decode = self.codec.decode 32 self.reader = self.codec.streamreader 33 self.writer = self.codec.streamwrite [all...] |
/cts/tests/tests/media/libmediandkjni/ |
native-media-jni.cpp | 233 AMediaCodec **codec = new AMediaCodec*[numtracks]; local 249 codec[i] = AMediaCodec_createDecoderByType(mime); 250 AMediaCodec_configure(codec[i], format, NULL /* surface */, NULL /* crypto */, 0); 251 AMediaCodec_start(codec[i]); 265 ssize_t bufidx = AMediaCodec_dequeueInputBuffer(codec[t], 5000); 269 uint8_t *buf = AMediaCodec_getInputBuffer(codec[t], bufidx, &bufsize); 280 AMediaCodec_queueInputBuffer(codec[t], bufidx, 0, sampleSize, presentationTimeUs, 288 // we ran out of samples without ever signaling EOS to the codec, 290 int bufidx = AMediaCodec_dequeueInputBuffer(codec[tt], 5000); 292 AMediaCodec_queueInputBuffer(codec[tt], bufidx, 0, 0, 0 384 AMediaCodec *codec = NULL; local [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
Vp8CodecTestBase.java | 71 // NV12 color format supported by QCOM codec, but not declared in MediaCodec - 74 // Allowable color formats supported by codec - in order of preference. 94 * VP8 codec properties generated by getVp8CodecProperties() function. 105 public final String codecName; // OpenMax component name for VP8 codec. 106 public final int colorFormat; // Color format supported by codec. 110 * Function to find VP8 codec. 113 * VPX codec, which can support either YUV420 planar or NV12 color formats. 115 * Google VPX codec. 117 * specific VPX codec first. If no platform specific codec exist, falls back t 1308 MediaEncoderAsync codec = new MediaEncoderAsync(); local 1482 MediaEncoderAsync codec = new MediaEncoderAsync(); local 1529 MediaEncoderAsync[] codec = new MediaEncoderAsync[numEncoders]; local [all...] |
/external/chromium_org/chrome/browser/bookmarks/ |
bookmark_html_writer.cc | 235 // Converts a time string written to the JSON codec into a time_t string 438 BookmarkCodec codec; local 442 new Writer(codec.Encode(BookmarkModelFactory::GetForProfile(
|
/external/chromium_org/media/filters/ |
audio_decoder_unittest.cc | 34 // The next two bytes represent the codec delay. 50 const AudioCodec codec; member in struct:media::DecoderTestData 156 EXPECT_EQ(GetParam().codec, config.codec()); 191 // based on the codec delay in the AudioDecoderConfig. 402 // Use a different codec delay than in the extradata.
|
/external/chromium_org/third_party/libvpx/source/libvpx/examples/ |
vp9_spatial_svc_encoder.c | 259 "Codec %s\nframes: %d, skip: %d\n" 275 vpx_codec_ctx_t codec; local 300 // Initialize codec 301 if (vpx_svc_init(&svc_ctx, &codec, vpx_codec_vp9_cx(), &enc_cfg) != 331 res = vpx_svc_encode(&svc_ctx, &codec, (end_of_stream ? NULL : &raw), 335 die_codec(&codec, "Failed to encode frame"); 338 while ((cx_pkt = vpx_codec_get_cx_data(&codec, &iter)) != NULL) { 374 if (vpx_codec_destroy(&codec)) die_codec(&codec, "Failed to destroy codec"); [all...] |
/external/chromium_org/third_party/skia/src/ports/ |
SkImageDecoder_WIC.cpp | 457 SkImageDecoder_WIC codec; local 458 if (!codec.decodeStream(stream, NULL, SkImageDecoder_WIC::kDecodeFormat_WICMode, &format)) {
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/ |
framedrop_primitives.cc | 169 webrtc::ViECodec *codec_interface = interfaces.codec; 178 // Set up all receive codecs. This basically setup the codec interface 201 // Setup only the VP8 codec, which is what we'll use. 202 webrtc::VideoCodec codec; local 204 &codec)); 205 codec.startBitrate = bit_rate_kbps; 206 codec.maxBitrate = bit_rate_kbps; 207 codec.width = width; 208 codec.height = height; 209 EXPECT_EQ(0, codec_interface->SetSendCodec(video_channel, codec)); [all...] |