Searched refs:channels (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/base/awt/java/awt/image/
H A DLookupOp.java72 // Number of channels for which cache is valid.
73 // If negative number of channels is same as positive but skipAlpha was
76 * The valid for channels.
360 * @param channels
361 * the channels.
369 * the channels order.
371 private final void createByteLevels(int channels, boolean skipAlpha, int levels[], argument
377 // Use one data array for all channels or use several data arrays
380 for (int ch = 0, dataIdx = 0; ch < channels; dataIdx += dataIncrement, ch++) {
386 if ((channelOffset == channels
411 createShortLevels(int channels, boolean skipAlpha, int levels[], int values[], int channelsOrder[]) argument
658 ippLUT(Object src, int srcWidth, int srcHeight, int srcStride, Object dst, int dstWidth, int dstHeight, int dstStride, int levels[], int values[], int channels, int offsets[], boolean linear) argument
[all...]
H A DConvolveOp.java369 int channels;
375 channels = 4;
386 channels = 4;
393 channels = 1;
400 channels = 3;
426 channels = srcSM.getNumBands(); // Have IPP functions for 1,
427 // 3 and 4 channels
428 if (!(channels == 1 || channels == 3 || channels
541 ippFilter32f(float kernel[], int kWidth, int kHeight, int anchorX, int anchorY, int borderType, Object src, int srcWidth, int srcHeight, int srcStride, Object dst, int dstWidth, int dstHeight, int dstStride, int channels, boolean skipChannel, int offsets[]) argument
[all...]
H A DRescaleOp.java404 * the channels order.
408 // Suppose same sample size for all channels, otherwise use slow filter
476 // Reorder data if channels are stored in different order
509 int channels;
517 channels = 4;
529 channels = 4;
536 channels = 1;
543 channels = 3;
571 channels = srcSM.getNumBands(); // Have IPP functions for 1,
572 // 3 and 4 channels
[all...]
H A DBandCombineOp.java237 * The channels.
239 int channels; field in class:BandCombineOp.SampleModelInfo
242 * The channels order.
268 ret.channels = sm.getNumBands();
276 ret.channels = sppsm1.getNumBands();
282 for (int i = 0; i < ret.channels; i++) {
288 ret.channelsOrder = new int[ret.channels];
290 for (int i = 0; i < ret.channels; i++) {
298 ret.channels = 4;
340 int rmxWidth = (srcInfo.channels
[all...]
H A DAffineTransformOp.java343 int channels;
349 channels = 4;
360 channels = 4;
368 channels = 1;
375 channels = 3;
401 channels = srcSM.getNumBands(); // Have IPP functions for 1,
402 // 3 and 4 channels
403 if (channels != 1 && channels != 3 && channels !
614 ippAffineTransform(double m00, double m01, double m02, double m10, double m11, double m12, Object src, int srcWidth, int srcHeight, int srcStride, Object dst, int dstWidth, int dstHeight, int dstStride, int iType, int channels, boolean skipChannel, int offsets[]) argument
[all...]
/frameworks/base/libs/audioflinger/
H A DAudioDumpInterface.cpp55 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
64 outFinal = mFinalInterface->openOutputStream(devices, format, channels, sampleRate, status);
67 lChannels = outFinal->channels();
79 if (channels != 0 && *channels != 0) {
80 lChannels = *channels;
121 AudioStreamIn* AudioDumpInterface::openInputStream(uint32_t devices, int *format, uint32_t *channels, argument
131 inFinal = mFinalInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics);
135 lChannels = inFinal->channels();
139 if (channels !
54 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
229 AudioStreamOutDump(AudioDumpInterface *interface, int id, AudioStreamOut* finalStream, uint32_t devices, int format, uint32_t channels, uint32_t sampleRate) argument
295 uint32_t AudioStreamOutDump::channels() const function in class:android::AudioStreamOutDump
384 AudioStreamInDump(AudioDumpInterface *interface, int id, AudioStreamIn* finalStream, uint32_t devices, int format, uint32_t channels, uint32_t sampleRate) argument
479 uint32_t AudioStreamInDump::channels() const function in class:android::AudioStreamInDump
[all...]
H A DAudioDumpInterface.h41 uint32_t channels,
48 virtual uint32_t channels() const;
82 uint32_t channels,
88 virtual uint32_t channels() const;
121 uint32_t *channels=0,
144 virtual AudioStreamIn* openInputStream(uint32_t devices, int *format, uint32_t *channels,
H A DAudioHardwareStub.h35 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } function in class:android::AudioStreamOutStub
51 virtual uint32_t channels() const { return AudioSystem::CHANNEL_IN_MONO; } function in class:android::AudioStreamInStub
78 uint32_t *channels=0,
86 uint32_t *channels,
H A DAudioHardwareStub.cpp46 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
49 status_t lStatus = out->set(format, channels, sampleRate);
65 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate,
74 status_t lStatus = in->set(format, channels, sampleRate, acoustics);
122 if (pChannels) *pChannels = channels();
131 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate());
148 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
172 usleep(bytes * 1000000 / sizeof(int16_t) / AudioSystem::popCount(channels()) / sampleRate());
188 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
45 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
64 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument
H A DA2dpAudioInterface.h57 uint32_t *channels=0,
65 uint32_t *channels,
87 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } function in class:android::A2dpAudioInterface::A2dpAudioStreamOut
H A DAudioHardwareGeneric.h49 virtual uint32_t channels() const { return AudioSystem::CHANNEL_OUT_STEREO; } function in class:android::AudioStreamOutGeneric
82 virtual uint32_t channels() const { return AudioSystem::CHANNEL_IN_MONO; } function in class:android::AudioStreamInGeneric
116 uint32_t *channels=0,
124 uint32_t *channels,
H A DAudioHardwareGeneric.cpp66 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
80 status_t lStatus = out->set(this, mFd, devices, format, channels, sampleRate);
100 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate,
120 status_t lStatus = in->set(this, mFd, devices, format, channels, sampleRate, acoustics);
204 if (lChannels == 0) lChannels = channels();
209 (lChannels != channels()) ||
212 if (pChannels) *pChannels = channels();
254 snprintf(buffer, SIZE, "\tchannels: %d\n", channels());
318 (*pChannels != channels()) ||
322 *pChannels = channels();
65 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
99 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument
[all...]
H A DA2dpAudioInterface.cpp60 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status)
64 return mHardwareInterface->openOutputStream(devices, format, channels, sampleRate, status);
78 if ((err = out->set(devices, format, channels, sampleRate)) == NO_ERROR) {
103 uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status,
106 return mHardwareInterface->openInputStream(devices, format, channels, sampleRate, status, acoustics);
240 if (lChannels == 0) lChannels = channels();
245 (lChannels != channels()) ||
248 if (pChannels) *pChannels = channels();
59 openOutputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status) argument
102 openInputStream( uint32_t devices, int *format, uint32_t *channels, uint32_t *sampleRate, status_t *status, AudioSystem::audio_in_acoustics acoustics) argument
H A DAudioPolicyManagerGeneric.cpp193 uint32_t channels,
196 LOGV("getOutput() stream %d, samplingRate %d, format %d, channels %x, flags %x", stream, samplingRate, format, channels, flags);
200 LOGV("getOutput() test output mCurOutput %d, samplingRate %d, format %d, channels %x, mDirectOutput %d",
231 (channels != 0 && channels != AudioSystem::CHANNEL_OUT_MONO && channels != AudioSystem::CHANNEL_OUT_STEREO)) {
311 uint32_t channels,
317 LOGV("getInput() inputSource %d, samplingRate %d, format %d, channels %x, acoustics %x", inputSource, samplingRate, format, channels, acoustic
190 getOutput(AudioSystem::stream_type stream, uint32_t samplingRate, uint32_t format, uint32_t channels, AudioSystem::output_flags flags) argument
308 getInput(int inputSource, uint32_t samplingRate, uint32_t format, uint32_t channels, AudioSystem::audio_in_acoustics acoustics) argument
660 int channels = 0; local
[all...]
H A DAudioPolicyManagerGeneric.h58 uint32_t channels,
66 uint32_t channels,
/frameworks/base/include/private/media/
H A DAudioTrackShared.h62 uint8_t channels; member in struct:android::audio_track_cblk_t
/frameworks/base/include/media/
H A DAudioRecord.h119 * channels: Channel mask: see AudioSystem::audio_channels.
140 uint32_t channels = AudioSystem::CHANNEL_IN_MONO,
158 * - BAD_VALUE: invalid parameter (channels, format, sampleRate...)
165 uint32_t channels = AudioSystem::CHANNEL_IN_MONO,
191 int channels() const;
H A DAudioTrack.h122 * channels: Channel mask: see AudioSystem::audio_channels.
136 int channels = 0,
155 int channels = 0,
172 * - BAD_VALUE: invalid parameter (channels, format, sampleRate...)
178 int channels = 0,
H A DIAudioPolicyService.h54 uint32_t channels = 0,
62 uint32_t channels = 0,
/frameworks/base/media/libmedia/
H A DAudioRecord.cpp57 uint32_t channels,
65 mStatus = set(inputSource, sampleRate, format, channels,
89 uint32_t channels,
98 LOGV("set(): sampleRate %d, channels %d, frameCount %d",sampleRate, channels, frameCount);
120 if (!AudioSystem::isInputChannel(channels)) {
123 int channelCount = AudioSystem::popCount(channels);
126 sampleRate, format, channels, (AudioSystem::audio_in_acoustics)flags);
189 mChannels = channels;
53 AudioRecord( int inputSource, uint32_t sampleRate, int format, uint32_t channels, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames) argument
85 set( int inputSource, uint32_t sampleRate, int format, uint32_t channels, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, bool threadCanCallJava) argument
H A DIAudioFlingerClient.cpp56 data.writeInt32(desc->channels);
86 desc.channels = data.readInt32();
H A DIAudioFlinger.cpp347 uint32_t channels = pChannels ? *pChannels : 0; local
354 data.writeInt32(channels);
366 channels = reply.readInt32();
367 if (pChannels) *pChannels = channels;
420 uint32_t channels = pChannels ? *pChannels : 0; local
426 data.writeInt32(channels);
436 channels = reply.readInt32();
437 if (pChannels) *pChannels = channels;
641 uint32_t channels = data.readInt32(); local
647 &channels,
686 uint32_t channels = data.readInt32(); local
[all...]
H A DIAudioPolicyService.cpp126 uint32_t channels,
134 data.writeInt32(channels);
172 uint32_t channels,
180 data.writeInt32(channels);
307 uint32_t channels = data.readInt32(); local
313 channels,
347 uint32_t channels = data.readInt32(); local
352 channels,
122 getOutput( AudioSystem::stream_type stream, uint32_t samplingRate, uint32_t format, uint32_t channels, AudioSystem::output_flags flags) argument
168 getInput( int inputSource, uint32_t samplingRate, uint32_t format, uint32_t channels, AudioSystem::audio_in_acoustics acoustics) argument
H A DAudioTrack.cpp57 int channels,
65 mStatus = set(streamType, sampleRate, format, channels,
73 int channels,
81 mStatus = set(streamType, sampleRate, format, channels,
107 int channels,
148 if (channels == 0) {
149 channels = AudioSystem::CHANNEL_OUT_STEREO;
163 if (!AudioSystem::isOutputChannel(channels)) {
167 uint32_t channelCount = AudioSystem::popCount(channels);
170 sampleRate, format, channels, (AudioSyste
53 AudioTrack( int streamType, uint32_t sampleRate, int format, int channels, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames) argument
69 AudioTrack( int streamType, uint32_t sampleRate, int format, int channels, const sp<IMemory>& sharedBuffer, uint32_t flags, callback_t cbf, void* user, int notificationFrames) argument
103 set( int streamType, uint32_t sampleRate, int format, int channels, int frameCount, uint32_t flags, callback_t cbf, void* user, int notificationFrames, const sp<IMemory>& sharedBuffer, bool threadCanCallJava) argument
[all...]
/frameworks/base/include/tts/
H A DTtsEngine.h47 // @param [in] int - The number of channels
153 // @param[inout] channels in: the desired number of audio channels
154 // out: the number of channels used by the TTS engine
157 int& channels);

Completed in 672 milliseconds

12