/external/tensorflow/tensorflow/core/kernels/ |
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...] |
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...] |
resize_bilinear_op_test.cc | 70 const int channels = images.dimension(3); local 73 ASSERT_EQ(channels, output.dimension(3)); 94 for (int c = 0; c < channels; ++c) { 112 int channels, int output_width, int output_height) { 113 const TensorShape shape({batch_size, input_width, input_height, channels}); 121 TensorShape({batch_size, output_width, output_height, channels}))); 127 void RunManyRandomTests(int channels) { 133 TestResize(batch_size, in_w, in_h, channels, target_width,
|
resize_nearest_neighbor_op.cc | 94 const int channels = input.dimension(3); local 110 std::copy_n(&input(b, in_y, in_x, 0), channels, &output(b, y, x, 0)); local 150 const int64 channels = input.dim_size(3); variable 159 0, TensorShape({batch_size, out_height, out_width, channels}), 205 const int channels = input.dimension(3); local 223 for (int c = 0; c < channels; ++c) {
|
resize_nearest_neighbor_op_gpu.cu.cc | 38 const int in_width, const int channels, const int out_height, 43 int c = n % channels; 44 n /= channels; 50 const T* bottom_data_n = bottom_data + n * channels * in_height * in_width; 59 const int idx = (in_y * in_width + in_x) * channels + c; 67 const int in_width, const int channels, const int out_height, 72 int c = n % channels; 73 n /= channels; 79 T* bottom_diff_n = bottom_diff + n * channels * out_height * out_width; 88 const int idx = (out_y * out_width + out_x) * channels + c 106 const int channels = input.dimension(3); local 140 const int channels = input.dimension(3); local [all...] |
/external/tensorflow/tensorflow/core/util/ |
tensor_format.h | 31 // N = Batch, H = Image Height, W = Image Width, C = Number of Channels. 41 // as NCHW, except that the size of the Channels dimension is divided by 4, 53 // H = Kernel Height, W = Kernel Width, I = Input Channels, O = Output Channels. 66 // of the Input Channels dimension is divided by 4, and a new dimension of 198 // Returns the index of the inner input channels dimension. 205 // Returns the index of the input channels dimension. 222 // Returns the index of the output channels dimension. 243 // 'C' (channels), 'H' (height), 'W' (width), or a numbered spatial dimension: 285 // channels), 'I' (num input channels), 'H' (height), 'W' (width), or 479 const int64 channels = GetTensorDim(src_shape, src_format, 'C') * local [all...] |
/external/tinycompress/ |
cplay.c | 209 unsigned int channels, rate, bits; local 221 if (parse_mp3_header(&header, &channels, &rate, &bits) == -1) { 227 codec.ch_in = channels; 228 codec.ch_out = channels; 285 printf("Format %u Channels %u, %u Hz, Bit Rate %d\n", 286 SND_AUDIOCODEC_MP3, channels, rate, bits);
|
/external/tremolo/Tremolo/ |
ivorbiscodec.h | 53 int channels; member in struct:vorbis_info
|
/external/webrtc/talk/media/base/ |
codec.h | 131 size_t channels; member in struct:cricket::AudioCodec 138 size_t channels,
|
/external/webrtc/webrtc/modules/audio_device/android/ |
audio_record_jni.cc | 46 int sample_rate, size_t channels) { 49 static_cast<jint>(channels)); 134 audio_parameters_.sample_rate(), audio_parameters_.channels()); 188 const size_t channels = audio_parameters_.channels(); local 189 ALOGD("SetRecordingChannels(%" PRIuS ")", channels); 190 audio_device_buffer_->SetRecordingChannels(channels);
|
audio_track_jni.cc | 46 void AudioTrackJni::JavaAudioTrack::InitPlayout(int sample_rate, int channels) { 47 audio_track_->CallVoidMethod(init_playout_, sample_rate, channels); 127 audio_parameters_.sample_rate(), audio_parameters_.channels()); 205 const size_t channels = audio_parameters_.channels(); local 206 ALOGD("SetPlayoutChannels(%" PRIuS ")", channels); 207 audio_device_buffer_->SetPlayoutChannels(channels);
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_invitation.c | 77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); 113 struct p2p_channels *channels) 158 if (channels) 159 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); 186 struct p2p_channels all_channels, intersection, *channels = NULL; local 238 p2p_channels_union(&p2p->cfg->channels, &p2p->cfg->cli_channels, 244 p2p_dbg(p2p, "No common channels found"); 249 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels); 250 p2p_channels_dump(p2p, "own client channels", &all_channels) 436 struct p2p_channels intersection, *channels = NULL; local [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
InputConsumerImpl.java | 50 InputChannel[] channels = InputChannel.openInputChannelPair(name); local 51 mServerChannel = channels[0]; 53 channels[1].transferTo(inputChannel); 54 channels[1].dispose(); 57 mClientChannel = channels[1];
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
ipc_helper.h | 138 std::vector<ChannelInfo<FileHandleType>> channels; member in class:android::pdx::uds::RequestHeader 144 file_descriptors, channels, impulse_payload, 154 std::vector<ChannelInfo<FileHandleType>> channels; member in class:android::pdx::uds::ResponseHeader 158 channels);
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
link_layer_stats.cpp | 59 wifi_channel_stat channels[]; member in struct:__anon47072 110 ALOGE("Incorrect number of channels = %d", radio_stat->num_channels); 125 (wifi_iface_stat *)((char *)&((wifi_radio_stat_internal *)data)->channels 154 memcpy(&(external_stat_ptr->channels), &(internal_stat_ptr->channels),
|
/hardware/qcom/audio/legacy/alsa_sound/ |
ALSAStreamOps.cpp | 95 uint32_t *channels, 100 if (channels && *channels != 0) { 101 if (mHandle->channels != popCount(*channels)) 103 } else if (channels) { 105 switch(*channels) { 113 *channels = AUDIO_CHANNEL_OUT_STEREO; 117 switch(*channels) { 128 *channels = AUDIO_CHANNEL_IN_MONO 343 uint32_t ALSAStreamOps::channels() const function in class:android_audio_legacy::ALSAStreamOps [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/spi/ |
AbstractInterruptibleChannelTest.java | 17 package org.apache.harmony.tests.java.nio.channels.spi; 20 import java.nio.channels.AsynchronousCloseException; 21 import java.nio.channels.spi.AbstractInterruptibleChannel;
|
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;
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
AbstractSelectableChannel.java | 26 package java.nio.channels.spi; 29 import java.nio.channels.*; 33 * Base implementation class for selectable channels. 39 * java.nio.channels.SelectableChannel} specification. Implementations of the 228 * java.nio.channels.Channel#close close} method, in turn invokes the 248 * <p> This method is invoked by the {@link java.nio.channels.Channel#close
|
/packages/apps/Settings/src/com/android/settings/notification/ |
ChannelGroupNotificationSettings.java | 81 // Clear out existing channels and log. 96 final List<NotificationChannel> channels = mChannelGroup.getChannels(); local 97 Collections.sort(channels, mChannelComparator); 98 for (NotificationChannel channel : channels) {
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/ |
pcm_extplug.h | 44 SND_PCM_EXTPLUG_HW_CHANNELS, /**< channels */ 102 * channels hw parameter; filled after hw_params is caled 104 unsigned int channels; member in struct:snd_pcm_extplug
|
pcm_rate.h | 55 unsigned int channels; member in struct:snd_pcm_rate_info
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
NotificationListenerServiceTest.java | 103 Bundle channels = new Bundle(); local 121 channels.putParcelable(key, getChannel(key, i)); 131 channels, overridePeople, snoozeCriteria, showBadge, userSentiment, mHidden);
|
/bionic/libc/kernel/uapi/sound/ |
sb16_csp.h | 54 int channels; member in struct:snd_sb_csp_start
|
/bootable/recovery/minui/ |
resources.cpp | 67 png_byte channels() const { function in class:PngHandler 156 // channel, because minui doesn't support alpha channels in 161 fprintf(stderr, "minui doesn't support PNG depth %d channels %d color_type %d\n", bit_depth, 196 // 'channels': 205 int channels, int width) { 210 switch (channels) { 262 png_handler.channels(), width); 334 transform_rgb_to_draw(p_row.data(), out_row, png_handler.channels(), width); 357 if (png_handler.channels() != 1) { 418 if (png_handler.channels() != 1) [all...] |