/external/tensorflow/tensorflow/core/kernels/ |
adjust_contrast_op.h | 36 const int channels = input.dimension(3); local 42 scalar_broadcast[3] = channels; 56 reshape_dims[3] = channels; 67 reshape_dims.set(3, channels); 98 const int channels = input.dimension(3); local 104 scalar_broadcast[3] = channels; 118 reshape_dims[3] = channels; 134 reshape_dims.set(3, channels);
|
decode_image_op.cc | 89 OP_REQUIRES_OK(context, context->GetAttr("channels", &channels_)); 93 errors::InvalidArgument("channels must be 0, 1, 3, or 4, got ", 189 "channels must be 0, 1, or 3 for JPEG, got ", channels_)); 216 [=, &output](int width, int height, int channels) -> uint8* { 220 ? TensorShape({1, height, width, channels}) 221 : TensorShape({height, width, channels}), 265 format_ == kGifFormat ? TensorShape({1, height, width, decode.channels}) 266 : TensorShape({height, width, decode.channels}), 277 decode.channels * width * sizeof(uint8), &decode), 285 decode.channels * width * sizeof(uint16), &decode) [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
decode_image_op_test.py | 77 bad_channels = image_ops.decode_image(gif0, channels=1) 93 bad_channels = image_ops.decode_image(jpeg0, channels=4) 101 for channels in 0, 1, 3, 4: 105 image0 = image_ops.decode_image(png0, channels=channels) 106 image1 = image_ops.decode_png(png0, channels=channels) 108 self.assertEqual(image0.shape, (26, 51, channels or channels_in))
|
/external/webrtc/webrtc/common_audio/ |
audio_converter_unittest.cc | 33 sb->channels()[i][j] = data[i] * j; 62 float error = ref.channels()[i][j] - test.channels()[i][j + delay]; 64 variance += ref.channels()[i][j] * ref.channels()[i][j]; 65 mean += ref.channels()[i][j]; 137 converter->Convert(src_buffer->channels(), src_buffer->size(), 138 dst_buffer->channels(), dst_buffer->size());
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
codec_manager.cc | 27 if ((send_codec.channels != 1) && (send_codec.channels != 2)) { 29 "Wrong number of channels (%" PRIuS ", only mono and stereo " 31 send_codec.channels); 49 if (!RentACodec::IsSupportedNumChannels(*maybe_codec_id, send_codec.channels) 52 "%" PRIuS " number of channels not supportedn for %s.", 53 send_codec.channels, send_codec.plname); 123 ci.channels = external_speech_encoder->NumChannels();
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
audio_decoder_pcm.h | 26 size_t Channels() const override; 47 size_t Channels() const override;
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
opus_inst.h | 20 size_t channels; member in struct:WebRtcOpusEncInst 33 size_t channels; member in struct:WebRtcOpusDecInst
|
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
audio_decoder_pcm16b.cc | 25 size_t AudioDecoderPcm16B::Channels() const { 45 return static_cast<int>(encoded_len / (2 * Channels()));
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
PCMFile.cc | 117 uint16_t channels = 1; local 119 channels = 2; 123 samples_10ms_ * channels, pcm_file_); 124 if (payload_size < samples_10ms_ * channels) { 125 for (int k = payload_size; k < samples_10ms_ * channels; k++) { 137 audio_frame.num_channels_ = channels; 192 const int channels = read_stereo_ ? 2 : 1; local 194 num_10ms_blocks * sizeof(int16_t) * samples_10ms_ * channels;
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/mock/ |
mock_rtp_payload_strategy.h | 26 const size_t channels, 37 const size_t channels,
|
/external/wpa_supplicant_8/src/ap/ |
mbo_ap.c | 37 char channels[200], *pos, *end; local 42 return; /* Not enough room for any channels */ 53 os_memcpy(info->channels, buf, num_chan); 63 pos = channels; 64 end = pos + sizeof(channels); 77 " non-preferred channel list (op class %u, pref %u, reason code %u, channels %s)", 79 info->reason_code, channels); 145 info->channels[i],
|
/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...] |
/hardware/interfaces/audio/effect/2.0/ |
IDownmixEffect.hal | 24 STRIP, // throw away the extra channels 25 FOLD // mix the extra channels with FL/FR
|
/hardware/interfaces/audio/effect/4.0/ |
IDownmixEffect.hal | 24 STRIP, // throw away the extra channels 25 FOLD // mix the extra channels with FL/FR
|
/hardware/qcom/msm8998/original-kernel-headers/sound/ |
wcd-dsp-glink.h | 17 * @no_of_channels: Number of glink channels to open 18 * @payload[0]: Dynamic array contains all the glink channels information
|
/hardware/qcom/msm8x09/original-kernel-headers/sound/ |
wcd-dsp-glink.h | 17 * @no_of_channels: Number of glink channels to open 18 * @payload[0]: Dynamic array contains all the glink channels information
|
/libcore/luni/src/test/java/libcore/java/io/ |
InterruptedStreamTest.java | 30 import java.nio.channels.ClosedByInterruptException; 31 import java.nio.channels.ClosedChannelException; 32 import java.nio.channels.Pipe; 33 import java.nio.channels.ReadableByteChannel; 34 import java.nio.channels.ServerSocketChannel; 35 import java.nio.channels.SocketChannel; 36 import java.nio.channels.WritableByteChannel; 108 * Returns a pair of connected sockets backed by NIO socket channels.
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
FutureLikeCompletionHandler.java | 17 package libcore.java.nio.channels; 19 import java.nio.channels.CompletionHandler;
|
/libcore/luni/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/spi/ |
SelectorProviderTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels.spi; 19 import java.nio.channels.spi.SelectorProvider;
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
Port.java | 28 import java.nio.channels.spi.AsynchronousChannelProvider; 29 import java.nio.channels.*; 146 * Close channels in batches of up to 128 channels. This allows close 150 PollableChannel channels[] = new PollableChannel[MAX_BATCH_SIZE]; local 153 // grab a batch of up to 128 channels 158 channels[count++] = fdToChannel.get(fd); 169 channels[i].close();
|
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
EpgContract.java | 60 * Returns the list of channels as a CSV string. 62 * <p>Any commas in the original channels are converted to periods. 64 public static String toChannelString(List<String> channels) { 67 for (String channel : channels) { 77 /** Returns a list of channels. */ 91 /** The MIME type of a directory of TV channels. */ 125 public static final String COLUMN_CHANNELS = "CHANNELS"; 143 /** The MIME type of a directory of TV channels. */
|
/system/bt/embdrv/sbc/encoder/include/ |
sbc_if.h | 28 channels - 1 mono 2 stereo 33 int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample);
|
/system/media/audio/include/system/audio_effects/ |
effect_downmix.h | 40 // throw away the extra channels 42 // mix the extra channels with FL/FR
|
/system/media/audio_utils/include/audio_utils/ |
mono_blend.h | 30 * In-place mono blend using the arithmetic average of the channels in each audio frame. 34 * \param channelCount number of channels per frame
|
/external/libopus/src/ |
opus_encoder.c | 71 int channels; member in struct:OpusEncoder 168 int opus_encoder_get_size(int channels) 172 if (channels<1 || channels > 2) 178 celtEncSizeBytes = celt_encoder_get_size(channels); 182 int opus_encoder_init(OpusEncoder* st, opus_int32 Fs, int channels, int application) 189 if((Fs!=48000&&Fs!=24000&&Fs!=16000&&Fs!=12000&&Fs!=8000)||(channels!=1&&channels!=2)|| 194 OPUS_CLEAR((char*)st, opus_encoder_get_size(channels)); 205 st->stream_channels = st->channels = channels [all...] |