/external/tensorflow/tensorflow/python/keras/_impl/keras/layers/ |
pooling.py | 115 `(batch, height, width, channels)` while `channels_first` 117 `(batch, channels, height, width)`. 125 `(batch_size, rows, cols, channels)` 128 `(batch_size, channels, rows, cols)` 133 `(batch_size, pooled_rows, pooled_cols, channels)` 136 `(batch_size, channels, pooled_rows, pooled_cols)` 181 `(batch, height, width, channels)` while `channels_first` 183 `(batch, channels, height, width)`. 191 `(batch_size, rows, cols, channels)` 194 `(batch_size, channels, rows, cols) [all...] |
/external/skia/src/core/ |
SkGammas.h | 54 // All channels are the same type? 56 for (int i = 1; i < this->channels(); i++) { 64 for (int i = 1; i < this->channels(); i++) { 115 int channels() const { return fChannels; } function in struct:SkGammas 117 SkGammas(int channels) : fChannels(channels) { 118 SkASSERT(channels <= (int)SK_ARRAY_COUNT(fType));
|
/external/skqp/src/core/ |
SkGammas.h | 54 // All channels are the same type? 56 for (int i = 1; i < this->channels(); i++) { 64 for (int i = 1; i < this->channels(); i++) { 115 int channels() const { return fChannels; } function in struct:SkGammas 117 SkGammas(int channels) : fChannels(channels) { 118 SkASSERT(channels <= (int)SK_ARRAY_COUNT(fType));
|
/external/webrtc/webrtc/modules/audio_processing/ |
splitting_filter_unittest.cc | 51 memset(in_data.fbuf()->channels()[0], 53 kSamplesPer48kHzChannel * sizeof(in_data.fbuf()->channels()[0][0])); 58 in_data.fbuf()->channels()[0][k] += 70 energy[j] += bands.fbuf_const()->channels(j)[0][k] * 71 bands.fbuf_const()->channels(j)[0][k]; 87 tmpcorr += in_data.fbuf_const()->channels()[0][j - delay] * 88 out_data.fbuf_const()->channels()[0][j];
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
AbstractSelectorTest.java | 17 package org.apache.harmony.tests.java.nio.channels.spi; 20 import java.nio.channels.ClosedSelectorException; 21 import java.nio.channels.IllegalBlockingModeException; 22 import java.nio.channels.SelectionKey; 23 import java.nio.channels.Selector; 24 import java.nio.channels.ServerSocketChannel; 25 import java.nio.channels.spi.SelectorProvider;
|
/packages/apps/TV/src/com/android/tv/data/epg/ |
EpgReader.java | 65 * existing channels on the device. 70 * Returns the list of channels for the given lineup. The returned channels should map into the 71 * existing channels on the device. This method is usually called after selecting the lineup. 75 /** Pre-loads and caches channels for a given lineup. */ 78 /** Clears cached channels for a given lineup. */ 90 * Returns the programs for the given channels. Note that the {@code Program} doesn't have valid
|
/packages/apps/TV/src/com/android/tv/search/ |
TvProviderSearch.java | 25 import android.media.tv.TvContract.Channels; 72 * Search channels, inputs, or programs from TvProvider. This assumes that parental control 93 // Search channels first. 168 private List<SearchResult> searchChannels(String query, Set<Long> channels, int limit) { 169 if (DEBUG) Log.d(TAG, "Searching channels: '" + query + "'"); 176 new String[] {Channels.COLUMN_DISPLAY_NUMBER}, 178 channels, 190 Channels.COLUMN_DISPLAY_NAME, Channels.COLUMN_DESCRIPTION 192 channels, [all...] |
/external/webrtc/webrtc/modules/audio_device/include/ |
audio_device_defines.h | 69 // Method to pass captured data directly and unmixed to network channels. 70 // |channel_ids| contains a list of VoE channels which are the 122 // Method to pull mixed render audio data from all active VoE channels. 139 // number of channels, native buffer size etc. 152 AudioParameters(int sample_rate, size_t channels, size_t frames_per_buffer) 154 channels_(channels), 157 void reset(int sample_rate, size_t channels, size_t frames_per_buffer) { 159 channels_ = channels; 164 void reset(int sample_rate, size_t channels, double ms_per_buffer) { 165 reset(sample_rate, channels, 172 size_t channels() const { return channels_; } function in class:webrtc::AudioParameters [all...] |
/frameworks/av/media/libaudioprocessing/tests/ |
test_utils.h | 183 int mFrameSize; // frame size (# channels * bytes per sample) 194 size_t channels, double sampleRate, double freq) 203 for (size_t j = 0; j < channels; ++j) { 204 buffer[i*channels + j] = yt / T(j + 1); 218 size_t channels, double sampleRate, double minfreq, double maxfreq) 229 for (size_t j = 0; j < channels; ++j) { 230 buffer[i*channels + j] = yt / T(j + 1); 256 void setChirp(size_t channels, double minfreq, double maxfreq, double sampleRate, double time) 258 createBufferByFrames<T>(channels, sampleRate, sampleRate*time); 263 void setSine(size_t channels, [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
opus_interface.c | 45 size_t channels, 66 state->zero_counts = calloc(channels, sizeof(size_t)); 70 state->encoder = opus_encoder_create(48000, (int)channels, opus_app, 78 state->channels = channels; 110 const size_t channels = inst->channels; local 117 for (c = 0; c < channels; ++c) { 118 if (audio_in[i * channels + c] == 0) { 122 memcpy(buffer, audio_in, samples * channels * sizeof(int16_t)) 451 int frames, channels, payload_length_ms; local [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 unsigned 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/pdfium/third_party/libpng16/ |
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/syslinux/com32/lib/libpng/ |
pngwtran.c | 41 /* png_byte channels; number of channels (1-4) */ 42 /* png_byte pixel_depth; bits per pixel (depth*channels) */ 88 * row_info bit depth should be 8 (one pixel per byte). The channels 100 row_info->channels == 1) 203 row_info->pixel_depth = (png_byte)(bit_depth * row_info->channels); 231 int channels = 0; 235 shift_start[channels] = row_info->bit_depth - bit_depth->red; 236 shift_dec[channels] = bit_depth->red; 237 channels++ [all...] |
/external/aac/libPCMutils/src/ |
pcm_utils.cpp | 110 const UINT channels, const UINT frameSize, 114 for (UINT ch = 0; ch < channels; ch++) { 122 const UINT channels, const UINT frameSize, 126 for (UINT ch = 0; ch < channels; ch++) { 134 const UINT channels, const UINT frameSize, 138 for (UINT ch = 0; ch < channels; ch++) { 146 const UINT channels, const UINT frameSize, 148 for (UINT ch = 0; ch < channels; ch++) { 153 In += channels; 159 const UINT channels, const UINT frameSize [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/tensorflow/tensorflow/core/kernels/ |
colorspace_op.cc | 52 auto channels = input.dim_size(input.dims() - 1); variable 53 OP_REQUIRES(context, channels == 3, 55 "input must have 3 channels but input only has ", channels, 56 " channels.")); 91 auto channels = input.dim_size(input.dims() - 1); variable 92 OP_REQUIRES(context, channels == 3, 94 "input must have 3 channels but input only has ", channels, 95 " channels.")) [all...] |
eigen_pooling_test.cc | 126 const int channels = 10; local 138 Tensor<float, 5> input(channels, input_planes, input_rows, input_cols, 140 Tensor<float, 5> result(channels, output_planes, output_rows, output_cols, 151 EXPECT_EQ(result.dimension(0), channels); 158 for (int d = 0; d < channels; ++d) { 186 const int channels = 10; local 199 input_planes, channels); 201 output_planes, channels); 211 EXPECT_EQ(result.dimension(4), channels); 218 for (int d = 0; d < channels; ++d) 246 const int channels = 10; local 308 const int channels = 10; local 370 const int channels = 10; local 448 const int channels = 10; local 623 const int channels = 10; local 683 const int channels = 10; local [all...] |
decode_bmp_op.cc | 35 OP_REQUIRES_OK(context, context->GetAttr("channels", &channels_)); 39 errors::InvalidArgument("channels must be 0, 1, 3 or 4, got ", 82 "channels attribute ", channels_, 92 "Number of channels must be 1, 3 or 4, was ", channels_)); 111 // 8 * channels == bits per pixel 118 // [expected file size] = [last pixel offset] + [last pixel size=channels] 154 const int height, const int channels, 162 src_pos = ((height - 1 - i) * row_size) + j * channels; 164 src_pos = i * row_size + j * channels; 167 dst_pos = (i * width + j) * channels; [all...] |
resize_area_op_test.cc | 65 const int channels = input_data.dimension(3); local 68 ASSERT_EQ(channels, output_data.dimension(3)); 77 Tensor sum_tensor(DT_FLOAT, TensorShape({channels})); 126 for (int64 c = 0; c < channels; ++c) { 136 for (int64 c = 0; c < channels; ++c) { 146 int target_width, int channels) { 148 SetRandomImageInput(TensorShape({1, in_height, in_width, channels})); 155 TensorShape({1, target_height, target_width, channels}))); 160 void RunManyRandomTests(int channels) { 165 RunRandomTest(in_h, in_w, target_height, target_width, channels); [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...] |
/packages/apps/TV/src/com/android/tv/data/ |
ChannelDataManager.java | 28 import android.media.tv.TvContract.Channels; 63 * program, and updating the values of {@link Channels#COLUMN_BROWSABLE}, {@link 64 * Channels#COLUMN_LOCKED}. This class is not thread-safe and under an assumption that its public 111 Collections.sort(data.channels, mChannelComparator); 136 Collections.sort(data.channels, mChannelComparator); 167 // Detect duplicate channels while sorting. 201 TvContract.Channels.CONTENT_URI, true, mChannelObserver); 277 /** Returns the number of channels. */ 279 return mData.channels.size(); 282 /** Returns a list of channels. * 289 List<Channel> channels = new ArrayList<>(); local 777 final List<Channel> channels; field in class:ChannelDataManager.ChannelData [all...] |
/system/media/alsa_utils/ |
alsa_device_proxy.c | 81 if (config->channels != 0 && profile_is_channel_count_valid(profile, config->channels)) { 82 proxy->alsa_config.channels = config->channels; 84 proxy->alsa_config.channels = profile_get_closest_channel_count(profile, config->channels); 86 config->channels, proxy->alsa_config.channels); 88 if (config->channels != 0) { 107 proxy->frame_size = format_byte_size_map[config->format] * proxy->alsa_config.channels; [all...] |
/external/pdfium/third_party/lcms/src/ |
cmsalpha.c | 283 cmsUInt32Number channels[cmsMAXCHANNELS]; local 295 memset(channels, 0, sizeof(channels)); 305 channels[i] = total_chans - i - 1; 308 channels[i] = i; 315 cmsUInt32Number tmp = channels[0]; 317 channels[i] = channels[i + 1]; 319 channels[total_chans - 1] = tmp; 325 channels[i] *= channelSize 341 cmsUInt32Number channels[cmsMAXCHANNELS]; local [all...] |