/packages/apps/TV/src/com/android/tv/data/ |
Channel.java | 78 TvContract.Channels._ID, 79 TvContract.Channels.COLUMN_PACKAGE_NAME, 80 TvContract.Channels.COLUMN_INPUT_ID, 81 TvContract.Channels.COLUMN_TYPE, 82 TvContract.Channels.COLUMN_DISPLAY_NUMBER, 83 TvContract.Channels.COLUMN_DISPLAY_NAME, 84 TvContract.Channels.COLUMN_DESCRIPTION, 85 TvContract.Channels.COLUMN_VIDEO_FORMAT, 86 TvContract.Channels.COLUMN_BROWSABLE, 87 TvContract.Channels.COLUMN_LOCKED [all...] |
ChannelDataManager.java | 26 import android.media.tv.TvContract.Channels; 57 * the values of {@link Channels#COLUMN_BROWSABLE}, {@link Channels#COLUMN_LOCKED}. 145 // Detect duplicate channels while sorting. 177 mContentResolver.registerContentObserver(TvContract.Channels.CONTENT_URI, true, 262 * Returns the number of channels. 269 * Returns a list of channels. 276 * Returns a list of browsable channels. 279 List<Channel> channels = new ArrayList<>(); local 282 channels.add(channel) [all...] |
/external/webrtc/webrtc/modules/media_file/ |
media_file_utility.cc | 256 size_t channels, 262 codec_info_.channels = channels; 420 const size_t bytesRequested = (codec_info_.channels == 2) ? 444 (codec_info_.channels == 2) ? _tempData : (uint8_t*)outData, 457 if(codec_info_.channels == 2) 504 if(codec_info_.channels != 2) 666 size_t channels = (codecInst.channels == 0) ? 1 : codecInst.channels; local 760 size_t channels = (codec_info_.channels == 0) ? 1 : codec_info_.channels; local [all...] |
/device/google/dragon/audio/hal/dsp/ |
.dsp_util.c.swp | 95 ? ? ? ? ? ? ? ? ? ? ? ? ? ? } #endif #warning "Don}}}} #endif #warning "Don't know how to disable denorms. Performace may suffer." #else __asm__ __volatile__ ("mcr p10, 7, %0, cr1, cr0, 0" : : "r" (cw | (1 << 24))); __asm__ __volatile__ ("mrc p10, 7, %0, cr1, cr0, 0" : "=r" (cw)); int cw; #elif defined(__arm__) __builtin_ia32_ldmxcsr(mxcsr | 0x8040); mxcsr = __builtin_ia32_stmxcsr(); unsigned int mxcsr; #if defined(__i386__) || defined(__x86_64__) { void dsp_enable_flush_denormal_to_zero() } } *output++ = i16; i16 = (int16_t) (f > 0 ? f + 0.5f : f - 0.5f); else i16 = -32768; else if (f < -32768) i16 = 32767; if (f > 32767) float f = *(input_ptr[j]++) * 32768.0f; int16_t i16; for (j = 0; j < channels; j++) { for (i = 0; i < frames; i++) input_ptr[i] = input[i]; for (i = 0; i < channels; i++) #endif } return; interleave_stereo(input[0], input[1], output, frames); if (channels == 2) { #ifdef interleave_stereo int i, j; float *input_ptr[channels]; { int frames) void dsp_util_interleave(float *const *input, int16_t *output, int channels, } *(output_ptr[j]++) = *input++ / 32768.0f; for (j = 0; j < channels; j++) for (i = 0; i < frames; i++) output_ptr[i] = output[i]; for (i = 0; i < channels; i++) #endif } return; deinterleave_stereo(input, output[0], output[1], frames); if (channels == 2) { #ifdef deinterleave_stereo int i, j; float *output_ptr[channels]; { int frames) void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, #endif #define interleave_stereo interleave_stereo } } *output++ = max(-32768, min(32767, (i (…) [all...] |
dsp_util.c | 250 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, 253 float *output_ptr[channels]; 257 if (channels == 2) { 263 for (i = 0; i < channels; i++) 267 for (j = 0; j < channels; j++) 271 void dsp_util_interleave(float *const *input, int16_t *output, int channels, 274 float *input_ptr[channels]; 278 if (channels == 2) { 284 for (i = 0; i < channels; i++) 288 for (j = 0; j < channels; j++) [all...] |
/external/aac/libMpegTPDec/src/ |
tpdec_asc.cpp | 284 * 2 - different channel configuration but same number of channels 301 /* Front channels */ 315 result = 2; /* different number of front channels */ 318 /* Side channels */ 332 result = 2; /* different number of side channels */ 335 /* Back channels */ 349 result = 2; /* different number of back channels */ 352 /* LFE channels */ 354 result = 2; /* different number of lfe channels */ 356 /* LFEs are always SCEs so we don't need to count the channels. * [all...] |
/external/autotest/client/cros/audio/ |
alsa_utils.py | 20 def _get_format_args(channels, bits, rate): 21 args = ['-c', str(channels)] 205 input, duration=None, channels=2, bits=16, rate=48000, device=None): 210 @param channels: The number of channels of the input audio. 219 args += _get_format_args(channels, bits, rate) 238 output, duration=None, channels=1, bits=16, rate=48000, device=None): 243 @param channels: The number of channels of the recorded audio. 252 args += _get_format_args(channels, bits, rate [all...] |
/external/webrtc/webrtc/modules/audio_coding/test/ |
EncodeDecodeTest.cc | 55 std::string in_file_name, int sample_rate, size_t channels) { 63 if (channels == 2) { 88 sendCodec.channels = channels; 126 std::string out_file_name, size_t channels) { 134 if (recvCodec.channels == channels) 138 recvCodec.channels = channels; 291 } else if (sendCodecTmp.channels == 2) [all...] |
/external/webrtc/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/ |
WebRtcAudioManager.java | 28 // fundamental audio parameters like native sample rate and number of channels. 62 private static final int CHANNELS = 1; 85 private int channels; field in class:WebRtcAudioManager 100 sampleRate, channels, hardwareAEC, hardwareAGC, hardwareNS, 139 channels = CHANNELS; 147 getMinOutputFrameSize(sampleRate, channels); 149 inputBufferSize = getMinInputFrameSize(sampleRate, channels); 269 assertTrue(numChannels == CHANNELS); 289 int sampleRate, int channels, boolean hardwareAEC, boolean hardwareAGC [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
test_api_audio.cc | 67 const size_t channels, 190 voice_codec.channels, 198 voice_codec.channels, 223 voice_codec.channels, 231 voice_codec.channels, 250 voice_codec.channels, 256 voice_codec.channels, 296 voice_codec.channels, 304 voice_codec.channels, 321 voice_codec.channels, [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerFirProcessNeon.h | 73 template <int CHANNELS, int STRIDE, bool FIXED> 86 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(CHANNELS == 1 || CHANNELS == 2); 88 sP -= CHANNELS*((STRIDE>>1)-1); 103 if (CHANNELS == 2) { 127 switch (CHANNELS) { 168 if (CHANNELS == 1) { 171 } else if (CHANNELS == 2) { 181 template <int CHANNELS, int STRIDE, bool FIXED> 194 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(CHANNELS == 1 || CHANNELS == 2) [all...] |
/packages/apps/TV/src/com/android/tv/recommendation/ |
Recommender.java | 111 * Return the channel list of recommendation up to {@code n} or the number of channels. 112 * During the evaluation, this method updates the channel sort key of recommended channels. 114 * @param size The number of channels that might be recommended. 115 * @return Top {@code size} channels recommended sorted by score in descending order. If 116 * {@code size} is bigger than the number of channels, the number of results could 178 * If getChannelSortKey was called before evaluating the channels or trying to get sort key 190 List<ChannelRecord> channels = new ArrayList<>(mDataManager.getChannelRecords()); local 192 evaluator.onChannelListChanged(Collections.unmodifiableList(channels)); 207 List<ChannelRecord> channels = new ArrayList<>(mDataManager.getChannelRecords()); local 209 evaluator.onChannelListChanged(Collections.unmodifiableList(channels)); [all...] |
/prebuilts/go/darwin-x86/doc/codewalk/ |
sharemem.xml | 9 Channels allow you to pass references to data structures between goroutines. 31 each other on channels. 68 <step title="Creating channels" src="doc/codewalk/urlpoll.go:/Create our/,/complete/"> 69 First, main makes two channels of *Resource, pending and complete. 74 The pending and complete channels are passed to each of the Poller 87 Now that it has the necessary channels, main launches a number of 88 Poller goroutines, passing the channels as arguments. 89 The channels provide the means of communication between the main, Poller, and 158 StateMonitor will loop forever, selecting on two channels: 177 goroutines and channels can be used to write expressive and concise concurren [all...] |
/prebuilts/go/linux-x86/doc/codewalk/ |
sharemem.xml | 9 Channels allow you to pass references to data structures between goroutines. 31 each other on channels. 68 <step title="Creating channels" src="doc/codewalk/urlpoll.go:/Create our/,/complete/"> 69 First, main makes two channels of *Resource, pending and complete. 74 The pending and complete channels are passed to each of the Poller 87 Now that it has the necessary channels, main launches a number of 88 Poller goroutines, passing the channels as arguments. 89 The channels provide the means of communication between the main, Poller, and 158 StateMonitor will loop forever, selecting on two channels: 177 goroutines and channels can be used to write expressive and concise concurren [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_exr.cpp | 142 const ChannelList &channels = m_file->header().channels(); local 143 m_red = channels.findChannel( "R" ); 144 m_green = channels.findChannel( "G" ); 145 m_blue = channels.findChannel( "B" ); 154 m_green = channels.findChannel( "Y" ); 158 m_red = channels.findChannel( "RY" ); 159 m_blue = channels.findChannel( "BY" ); 590 int width, int height, int depth, int channels ) 608 if( channels == 3 [all...] |
/external/opencv3/modules/imgcodecs/src/ |
grfmt_tiff.cpp | 108 int TiffDecoder::normalizeChannelsNumber(int channels) const 110 return channels > 4 ? 4 : channels; 204 bool color = img.channels() > 1; 223 int wanted_channels = normalizeChannelsNumber(img.channels()); 519 int channels = img.channels(); local 543 size_t fileStep = (width * channels * bitsPerChannel) / bitsPerByte; 570 int colorspace = channels > 1 ? PHOTOMETRIC_RGB : PHOTOMETRIC_MINISBLACK; 577 || !TIFFSetField(pTiffHandle, TIFFTAG_SAMPLESPERPIXEL, channels) 684 int channels = img.channels(); local [all...] |
grfmt_pxm.cpp | 191 int color = img.channels() > 1; 375 int _channels = img.channels(), depth = (int)img.elemSize1()*8; 376 int channels = _channels > 1 ? 3 : 1; local 390 int t = CV_MAKETYPE(img.depth(), channels); 404 lineLength = (6 * channels + (channels > 1 ? 2 : 0)) * width + 32; 414 '2' + (channels > 1 ? 1 : 0) + (isBinary ? 3 : 0), 439 for( x = 0; x < width*channels*2; x += 2 ) 446 strm.putBytes( (channels > 1 || depth > 8) ? buffer : (const char*)data, fileStep ); 452 if( channels > 1 [all...] |
/external/opencv3/modules/imgproc/test/ |
test_cvtyuv.cpp | 24 virtual int channels() = 0; 38 virtual int channels() = 0; 49 virtual int channels() = 0; 64 virtual int channels() { return 1; } function in class:GRAYwriter 75 virtual int channels() = 0; 91 int channels() { return 3; } function in class:RGB888Writer 102 int channels() { return 3; } function in class:BGR888Writer 113 int channels() { return 4; } function in class:RGBA8888Writer 124 int channels() { return 4; } function in class:BGRA8888Writer 129 int channels() { return 1; function in class:YUV420pWriter 165 int channels() { return 1; } function in class:YUV420Reader 171 int channels() { return 2; } function in class:YUV422Reader 270 int channels() { return 3; } function in class:YUV888Reader 283 int channels() { return 3; } function in class:RGB888Reader 294 int channels() { return 3; } function in class:BGR888Reader 305 int channels() { return 4; } function in class:RGBA8888Reader 316 int channels() { return 4; } function in class:BGRA8888Reader [all...] |
/hardware/qcom/audio/msm8909/hal/audio_extn/ |
usb.c | 84 .channels = 2, 153 static int usb_get_capability(char *type, int32_t *channels, 212 channel_start = strstr(str_start, "Channels:"); 214 ALOGE("%s: error could not find Channels information", __func__); 229 *channels = 1; 231 *channels = 2; 234 ALOGD("%s: channels supported by device: %d", __func__, *channels); 356 1 pcm frame(sample)= 4 bytes since two channels*/ 358 pcm_config_usbmod.channels = usbmod->channels_playback [all...] |
/external/opencv3/modules/core/src/cuda/ |
gpu_mat.cu | 270 CV_DbgAssert( depth() <= CV_64F && channels() <= 4 ); 273 CV_DbgAssert( size() == mask.size() && mask.depth() == CV_8U && (mask.channels() == 1 || mask.channels() == channels()) ); 298 if (mask.channels() == channels()) 306 const func_t func = funcs[elemSize1()][channels() - 1]; 335 CV_DbgAssert( depth() <= CV_64F && channels() <= 4 ); 351 const int cn = channels(); 381 funcs[depth()][channels() - 1](*this, value, stream) [all...] |
/external/opencv3/modules/photo/src/ |
seamless_cloning_impl.cpp | 54 if(img.channels() == 3) 58 else if (img.channels() == 1) 75 if(img.channels() == 3) 79 else if (img.channels() == 1) 282 vector <Mat> channels; local 283 split(mat,channels); 284 multiply(channels[2],r,channels[2]); 285 multiply(channels[1],g,channels[1]) [all...] |
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
acm_receiver.cc | 192 last_audio_decoder_->channels > 1) 304 size_t channels, 308 const auto neteq_decoder = [acm_codec_id, channels]() -> NetEqDecoder { 315 RentACodec::NetEqDecoderFromCodecId(*cid, channels); 328 decoder.channels == channels && 354 << " channels: " << channels; 361 decoder.channels = channels; [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SelectorTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 23 import java.nio.channels.ClosedChannelException; 24 import java.nio.channels.ClosedSelectorException; 25 import java.nio.channels.Pipe; 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.Selector; 28 import java.nio.channels.ServerSocketChannel; 29 import java.nio.channels.SocketChannel; 30 import java.nio.channels.spi.SelectorProvider; 77 * @tests java.nio.channels.Selector#open( [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/ |
Selector.java | 26 package java.nio.channels; 30 import java.nio.channels.spi.SelectorProvider; 39 * java.nio.channels.spi.SelectorProvider </code>selector provider<code>} to 41 * {@link java.nio.channels.spi.SelectorProvider#openSelector openSelector} 64 * cancelled but whose channels have not yet been deregistered. This set is 141 * channels to become ready, and if so for how long, is the only essential 158 * <p> Keys may be cancelled and channels may be closed at any time. Hence the 217 * java.nio.channels.spi.SelectorProvider#openSelector openSelector} method 219 * java.nio.channels.spi.SelectorProvider} object. </p> 278 * Selects a set of keys whose corresponding channels are ready for I/ [all...] |
/external/autotest/server/cros/ap_configurators/ |
ap_configurator_factory_unittest.py | 37 [{'band': self.ap_config.BAND_2GHZ, 'channels': [5]}, 38 {'band': self.ap_config.BAND_5GHZ, 'channels': [48]}] 57 """@returns supported bands and channels.""" 116 'channels': ap_spec.VALID_2GHZ_CHANNELS}], 126 'channels': ap_spec.VALID_2GHZ_CHANNELS}, 128 'channels': ap_spec.VALID_5GHZ_CHANNELS}], 142 'channels': ap_spec.VALID_2GHZ_CHANNELS}],
|