/frameworks/base/docs/html/training/tv/tif/ |
channel.jd | 14 <li><a href="#register">Register Channels in the Database</a></li> 29 that handles it. Additionally, you can provide app links for channels 46 <h2 id="register">Register Channels in the Database</h2> 49 activity, for each of your channels, you must map your channel data to the following fields of the 50 {@link android.media.tv.TvContract.Channels} class:</p> 53 <li>{@link android.media.tv.TvContract.Channels#COLUMN_DISPLAY_NAME} - the displayed name of the 55 <li>{@link android.media.tv.TvContract.Channels#COLUMN_DISPLAY_NUMBER} - the displayed channel 57 <li>{@link android.media.tv.TvContract.Channels#COLUMN_INPUT_ID} - the ID of the TV input service</li> 58 <li>{@link android.media.tv.TvContract.Channels#COLUMN_SERVICE_TYPE} - the channel's service type</li> 59 <li>{@link android.media.tv.TvContract.Channels#COLUMN_TYPE} - the channel's broadcast standar [all...] |
/external/opencv3/modules/cudaimgproc/src/ |
color.cpp | 92 CV_Assert( src.channels() == 3 ); 108 CV_Assert( src.channels() == 3 ); 124 CV_Assert( src.channels() == 3 ); 140 CV_Assert( src.channels() == 4 ); 156 CV_Assert( src.channels() == 4 ); 172 CV_Assert( src.channels() == 4 ); 185 CV_Assert( src.channels() == 3 ); 198 CV_Assert( src.channels() == 3 ); 211 CV_Assert( src.channels() == 3 ); 224 CV_Assert( src.channels() == 3 ) [all...] |
/device/htc/flounder/ |
media_profiles.xml | 38 <!ATTLIST Audio channels (1|2) #REQUIRED> 93 channels="1" /> 106 channels="2" /> 119 channels="1" /> 132 channels="1" /> 145 channels="2" /> 158 channels="2" /> 171 channels="2" /> 188 channels="1" /> 205 channels="2" / [all...] |
/external/libpng/ |
pngwtran.c | 21 * row_info bit depth should be 8 (one pixel per byte). The channels 30 row_info->channels == 1) 156 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 180 int channels = 0; local 184 shift_start[channels] = row_info->bit_depth - bit_depth->red; 185 shift_dec[channels] = bit_depth->red; 186 channels++; 188 shift_start[channels] = row_info->bit_depth - bit_depth->green; 189 shift_dec[channels] = bit_depth->green; 190 channels++ [all...] |
/external/opencv3/3rdparty/libpng/ |
pngwtran.c | 41 /* png_byte channels; number of channels (1-4) */ 42 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 97 * row_info bit depth should be 8 (one pixel per byte). The channels 106 row_info->channels == 1) 230 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 254 int channels = 0; local 258 shift_start[channels] = row_info->bit_depth - bit_depth->red; 259 shift_dec[channels] = bit_depth->red; 260 channels++ [all...] |
/external/pdfium/third_party/lpng_v163/ |
pngwtran.c | 40 /* png_byte channels; number of channels (1-4) */
41 /* png_byte pixel_depth; bits per pixel (depth*channels) */
96 * row_info bit depth should be 8 (one pixel per byte). The channels
105 row_info->channels == 1)
229 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels);
253 int channels = 0;
local 257 shift_start[channels] = row_info->bit_depth - bit_depth->red;
258 shift_dec[channels] = bit_depth->red;
259 channels++; [all...] |
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
ChannelDataManager.java | 69 TvContract.Channels._ID, 70 TvContract.Channels.COLUMN_INTERNAL_PROVIDER_DATA }; 123 * Invoked when the database schema has been changed and the old-format channels have been 124 * deleted. A receiver should notify to a user that re-scanning channels is necessary. 216 * Invoked when starting a scanning mode. This method gets the previous channels to detect the 217 * obsolete channels after scanning and initializes the variables used for scanning. 242 * obsolete channels, which are previous scanned but are in the scanned result. 264 Log.e(TAG, "Error deleting obsolete channels", e); 269 * Returns the number of scanned channels in the scanning mode. 419 values.put(TvContract.Channels.COLUMN_NETWORK_AFFILIATION, channel.getShortName()) 519 ArrayList<TunerChannel> channels = new ArrayList<>(); local [all...] |
/external/webrtc/talk/media/base/ |
codec.cc | 170 size_t channels, 174 channels(channels) { 177 AudioCodec::AudioCodec() : Codec(), bitrate(0), channels(0) { 185 channels = c.channels; 190 return bitrate == c.bitrate && channels == c.channels && Codec::operator==(c); 197 // The number of channels must match exactly, with the exception 198 // that channels=0 is treated synonymously as channels=1, per RF [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MockTvInputSetupActivity.java | 68 final String[] projection = { TvContract.Channels._ID }; 70 // If we already have channels, just finish without doing anything. 78 values.put(TvContract.Channels.COLUMN_INPUT_ID, inputId); 79 values.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, CHANNEL_NUMBER); 80 values.put(TvContract.Channels.COLUMN_DISPLAY_NAME, CHANNEL_NAME); 81 values.put(TvContract.Channels.COLUMN_APP_LINK_TEXT, APP_LINK_TEXT); 82 values.put(TvContract.Channels.COLUMN_APP_LINK_COLOR, Color.RED); 83 values.put(TvContract.Channels.COLUMN_APP_LINK_ICON_URI, 85 values.put(TvContract.Channels.COLUMN_APP_LINK_POSTER_ART_URI, 90 values.put(TvContract.Channels.COLUMN_APP_LINK_INTENT_URI [all...] |
/external/libopus/doc/ |
trivial_example.c | 41 #define CHANNELS 2 54 opus_int16 in[FRAME_SIZE*CHANNELS]; 55 opus_int16 out[MAX_FRAME_SIZE*CHANNELS]; 71 encoder = opus_encoder_create(SAMPLE_RATE, CHANNELS, APPLICATION, &err); 97 decoder = opus_decoder_create(SAMPLE_RATE, CHANNELS, &err); 114 unsigned char pcm_bytes[MAX_FRAME_SIZE*CHANNELS*2]; 118 fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin); 122 for (i=0;i<CHANNELS*FRAME_SIZE;i++) 146 for(i=0;i<CHANNELS*frame_size;i++) 152 fwrite(pcm_bytes, sizeof(short), frame_size*CHANNELS, fout) [all...] |
/external/webrtc/webrtc/modules/audio_processing/test/ |
audio_file_processor.cc | 62 ap_->ProcessStream(in_buf_.channels(), input_config_, 63 output_config_, out_buf_.channels())); 139 RTC_CHECK_EQ(in_buf_->num_frames() * sizeof(*in_buf_->channels()[i]), 141 std::memcpy(in_buf_->channels()[i], msg.input_channel(i).data(), 152 ap_->ProcessStream(in_buf_->channels(), input_config_, 153 output_config_, out_buf_.channels())); 165 RTC_CHECK_EQ(reverse_buf_->num_frames() * sizeof(*in_buf_->channels()[i]), 167 std::memcpy(reverse_buf_->channels()[i], msg.channel(i).data(), 175 reverse_buf_->channels(), reverse_config_, 176 reverse_config_, reverse_buf_->channels())); [all...] |
/external/opencv3/modules/cudaarithm/src/cuda/ |
bitwise_mat.cu | 110 GlobPtrSz<uint> vsrc = globPtr((uint*) src.data, src.step, src.rows, src.cols * src.channels()); 111 GlobPtrSz<uint> vdst = globPtr((uint*) dst.data, dst.step, src.rows, src.cols * src.channels()); 113 gridTransformUnary(vsrc, vdst, bit_not<uint>(), singleMaskChannels(globPtr<uchar>(mask), src.channels()), stream); 117 GlobPtrSz<ushort> vsrc = globPtr((ushort*) src.data, src.step, src.rows, src.cols * src.channels()); 118 GlobPtrSz<ushort> vdst = globPtr((ushort*) dst.data, dst.step, src.rows, src.cols * src.channels()); 120 gridTransformUnary(vsrc, vdst, bit_not<ushort>(), singleMaskChannels(globPtr<uchar>(mask), src.channels()), stream); 124 GlobPtrSz<uchar> vsrc = globPtr((uchar*) src.data, src.step, src.rows, src.cols * src.channels()); 125 GlobPtrSz<uchar> vdst = globPtr((uchar*) dst.data, dst.step, src.rows, src.cols * src.channels()); 127 gridTransformUnary(vsrc, vdst, bit_not<uchar>(), singleMaskChannels(globPtr<uchar>(mask), src.channels()), stream); 142 GlobPtrSz<T> vsrc1 = globPtr((T*) src1.data, src1.step, src1.rows, src1.cols * src1.channels()); [all...] |
split_merge.cu | 108 CV_Assert( src[i].channels() == 1 ); 125 const int channels = static_cast<int>(n); 127 GpuMat dst = getOutputMat(_dst, size, CV_MAKE_TYPE(depth, channels), stream); 129 const func_t func = funcs[channels - 2][CV_ELEM_SIZE(depth) / 2]; 211 const int channels = src.channels(); 213 CV_Assert( channels <= 4 ); 215 if (channels == 0) 218 if (channels == 1) 224 for (int i = 0; i < channels; ++i [all...] |
/packages/apps/TV/src/com/android/tv/search/ |
TvProviderSearch.java | 25 import android.media.tv.TvContract.Channels; 74 * Search channels, inputs, or programs from TvProvider. 94 // Search channels first. 161 private List<SearchResult> searchChannels(String query, Set<Long> channels, int limit) { 164 results.addAll(searchChannels(query, new String[] { Channels.COLUMN_DISPLAY_NUMBER }, 165 null, channels, NO_LIMIT)); 172 new String[] { Channels.COLUMN_DISPLAY_NAME, Channels.COLUMN_DESCRIPTION }, 173 channels, limit - results.size())); 192 Channels._ID [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/util/ |
vec_traits.hpp | 200 channels = 1, enumerator in enum:cv::DataType::__anon21002 202 type = CV_MAKE_TYPE(depth, channels) 216 channels = _channel_num, \ 217 fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), \ 218 type = CV_MAKE_TYPE(depth, channels) \ 269 channels = 1, enumerator in enum:cv::DataType::__anon21003 270 fmt = DataType<channel_type>::fmt + ((channels - 1) << 8), 271 type = CV_MAKE_TYPE(depth, channels) 285 channels = 2, enumerator in enum:cv::DataType::__anon21004 286 fmt = DataType<channel_type>::fmt + ((channels - 1) << 8) 301 channels = 3, enumerator in enum:cv::DataType::__anon21005 317 channels = 4, enumerator in enum:cv::DataType::__anon21006 [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/ |
KnownBandsChannelHelperTest.java | 75 * check a settings object with a few channels 120 WifiScanner.ChannelSpec[] channels = local 122 assertEquals("nun channels", expectedChannels.length, channels.length); 123 for (int i = 0; i < channels.length; ++i) { 124 assertEquals("channels[" + i + "].frequency", 125 expectedChannels[i], channels[i].frequency); 203 * check a settings object with no channels 216 * check a settings object with some channels 358 * Add a multiple channels to the collectio [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
SelectorProvider.java | 26 package java.nio.channels.spi; 30 import java.nio.channels.*; 40 * Service-provider class for selectors and selectable channels. 50 * methods of the {@link java.nio.channels.DatagramChannel#open 51 * DatagramChannel}, {@link java.nio.channels.Pipe#open Pipe}, {@link 52 * java.nio.channels.Selector#open Selector}, {@link 53 * java.nio.channels.ServerSocketChannel#open ServerSocketChannel}, and {@link 54 * java.nio.channels.SocketChannel#open SocketChannel} classes. It is also 88 String cn = System.getProperty("java.nio.channels.spi.SelectorProvider"); 139 * <tt>java.nio.channels.spi.SelectorProvider</tt> is defined then it i [all...] |
/bootable/recovery/minui/ |
resources.cpp | 48 png_uint_32* width, png_uint_32* height, png_byte* channels) { 98 *channels = png_get_channels(*png_ptr, *info_ptr); 100 if (bit_depth == 8 && *channels == 3 && color_type == PNG_COLOR_TYPE_RGB) { 102 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_GRAY) { 105 } else if (bit_depth <= 8 && *channels == 1 && color_type == PNG_COLOR_TYPE_PALETTE) { 108 // channel, because minui doesn't support alpha channels in 111 *channels = 3; 113 fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", 114 bit_depth, *channels, color_type); 155 // 'channels' 204 png_byte channels; local 245 png_byte channels; local 332 png_byte channels; local 393 png_byte channels; local [all...] |
/external/opencv3/modules/cudev/include/opencv2/cudev/ptr2d/ |
mask.hpp | 74 int channels; member in struct:cv::cudev::SingleMaskChannels 78 return mask(y, x / channels); 90 singleMaskChannels(const MaskPtr& mask, int channels) 94 ptr.channels = channels; 96 ptr.cols = getCols(mask) * channels;
|
/external/opencv3/modules/imgcodecs/src/ |
grfmt_gdal.cpp | 101 int gdal2opencv( const GDALDataType& gdalType, const int& channels ){ 107 if( channels == 1 ){ return CV_8UC1; } 108 if( channels == 3 ){ return CV_8UC3; } 109 if( channels == 4 ){ return CV_8UC4; } 114 if( channels == 1 ){ return CV_16UC1; } 115 if( channels == 3 ){ return CV_16UC3; } 116 if( channels == 4 ){ return CV_16UC4; } 121 if( channels == 1 ){ return CV_16SC1; } 122 if( channels == 3 ){ return CV_16SC3; } 123 if( channels == 4 ){ return CV_16SC4; [all...] |
/external/opencv3/modules/imgproc/perf/ |
perf_histogram.cpp | 26 int channels [] = {0}; local 40 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); 55 int channels [] = {0, 1}; local 68 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges); 82 int channels [] = {0, 1, 2}; local 96 calcHist(&source, numberOfImages, channels, Mat(), hist, dims, histSize, ranges);
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
PacketLossTest.cc | 30 int channels, 38 Receiver::Setup(acm, rtpStream, ss.str(), channels); 91 int channels, int expected_loss_rate) { 92 Sender::Setup(acm, rtpStream, in_file_name, sample_rate, channels); 112 PacketLossTest::PacketLossTest(int channels, int expected_loss_rate, 114 : channels_(channels),
|
/external/webrtc/webrtc/p2p/base/ |
transportchannelimpl.h | 42 // For ICE channels. 50 // transport channels. Non-ICE transport channels can just ignore. 55 // transport channels. Non-ICE transport channels can just ignore. 59 // SetRemoteIceMode must be implemented only by the ICE transport channels.
|
/hardware/libhardware_legacy/audio/ |
AudioDumpInterface.cpp | 60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) 68 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status); 71 lChannels = outFinal->channels(); 81 if (channels != 0) { 82 if (*channels != 0) { 83 lChannels = *channels; 85 *channels = lChannels; 126 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, 134 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics); 137 lChannels = inFinal->channels(); 324 uint32_t AudioStreamOutDump::channels() const function in class:android::AudioStreamOutDump 527 uint32_t AudioStreamInDump::channels() const function in class:android::AudioStreamInDump [all...] |
AudioDumpInterface.h | 41 uint32_t channels, 48 virtual uint32_t channels() const; 83 uint32_t channels, 89 virtual uint32_t channels() const; 124 uint32_t *channels=0, 151 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
|