/external/opencv/otherlibs/highgui/ |
H A D | grfmt_jpeg2000.h | 92 int width, int height, int depth, int channels );
|
H A D | grfmt_bmp.cpp | 494 int width, int height, int /*depth*/, int channels ) 497 int fileStep = (width*channels + 3) & -4; 505 int paletteSize = channels > 1 ? 0 : 1024; 522 m_strm.PutWord( channels << 3 ); 530 if( channels == 1 ) 536 width *= channels;
|
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/ |
H A D | SDL_bsdaudio.c | 259 "channels : %i\n" 272 info.play.channels, 376 info.play.channels = spec->channels; 378 spec->channels = 1;
|
/external/quake/quake/src/QW/client/ |
H A D | snd_mem.c | 128 if (info.channels != 1) 137 len = len * info.width * info.channels; 147 sc->stereo = info.channels; 291 info.channels = GetLittleShort();
|
/external/quake/quake/src/WinQuake/ |
H A D | snd_mem.cpp | 128 if (info.channels != 1) 137 len = len * info.width * info.channels; 147 sc->stereo = info.channels; 289 info.channels = GetLittleShort();
|
H A D | snd_dos.cpp | 232 timeconstant = 65536-(256000000/(shm->channels*shm->speed));
250 timeconstant = 65536-(256000000/(shm->channels*shm->speed));
420 shm->channels = 2;
426 shm->channels = 2;
432 shm->channels = 1;
|
H A D | snd_mix.cpp | 164 if (shm->samplebits == 16 && shm->channels == 2) 171 count = (endtime - paintedtime) * shm->channels; 173 out_idx = paintedtime * shm->channels & out_mask; 174 step = 3 - shm->channels; 287 // paint in the channels. 288 ch = channels;
|
H A D | snd_win.cpp | 197 shm->channels = 2;
203 format.nChannels = shm->channels;
324 shm->channels = format.nChannels;
364 shm->channels, shm->samplebits, shm->speed);
433 shm->channels = 2;
439 format.nChannels = shm->channels;
|
/external/speex/include/speex/ |
H A D | speex_echo.h | 82 * @param nb_mic Number of microphone channels 83 * @param nb_speakers Number of speaker channels 144 * @param channels Number of channels (it's a bit pointless if you don't have at least 2) 147 SpeexDecorrState *speex_decorrelate_new(int rate, int channels, int frame_size); 149 /** Remove correlation between the channels by modifying the phase and possibly
|
/external/svox/pico/compat/include/ |
H A D | TtsEngine.h | 61 // @param [in] int - The number of channels 168 // @param[inout] channels in: the desired number of audio channels 169 // out: the number of channels used by the TTS engine 172 int& channels);
|
/external/webkit/Source/WebCore/dom/ |
H A D | MessagePortChannel.h | 88 PassOwnPtr<MessagePortChannelArray> channels() { return m_channels.release(); } function in class:WebCore::MessagePortChannel::EventData
|
/external/opencv/cxcore/include/ |
H A D | cxcore.hpp | 50 CvImage( CvSize size, int depth, int channels ) 52 image = cvCreateImage( size, depth, channels ); 86 void create( CvSize size, int depth, int channels ) 90 image->depth != depth || image->nChannels != channels ) 91 attach( cvCreateImage( size, depth, channels )); 154 int channels() const { return image ? image->nChannels : 0; } function in class:CvImage 322 int channels() const { return matrix ? CV_MAT_CN(matrix->type) : 0; } function in class:CvMatrix
|
/external/qemu/distrib/sdl-1.2.12/src/audio/macrom/ |
H A D | SDL_romaudio.c | 235 sample_bits = spec->size / spec->samples / spec->channels * 8; 239 "Audio format 0x%x, channels = %d, sample_bits = %d, frequency = %d\n", 240 spec->format, spec->channels, sample_bits, spec->freq); 243 header.numChannels = spec->channels; 271 if ( spec->channels >= 2 ) { 436 sample_bits = spec->size / spec->samples / spec->channels * 8; 438 audio_dbh.dbhNumChannels = spec->channels; 471 if ( spec->channels >= 2 ) {
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ums/ |
H A D | SDL_umsaudio.c | 71 static UMSAudioDevice_ReturnCode UADSetChannels(_THIS, long channels ); 260 /* sample_bits = spec->size / spec->samples / spec->channels * 8; */ 325 this->hidden->bytesPerSample = (bitsPerSample / 8) * spec->channels; 337 rc = UADSetChannels(this, spec->channels); /* functions reduces to mono or stereo */ 489 static UMSAudioDevice_ReturnCode UADSetChannels(_THIS, long channels ) 495 if ( channels != 1 ) channels = 2; 498 channels );
|
/external/flac/libFLAC/ |
H A D | stream_encoder_framing.c | 91 FLAC__ASSERT(metadata->data.stream_info.channels > 0); 92 FLAC__ASSERT(metadata->data.stream_info.channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN)); 93 if(!FLAC__bitwriter_write_raw_uint32(bw, metadata->data.stream_info.channels-1, FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN)) 291 FLAC__ASSERT(header->channels > 0 && header->channels <= (1u << FLAC__STREAM_METADATA_STREAMINFO_CHANNELS_LEN) && header->channels <= FLAC__MAX_CHANNELS); 294 u = header->channels - 1; 297 FLAC__ASSERT(header->channels == 2); 301 FLAC__ASSERT(header->channels == 2); 305 FLAC__ASSERT(header->channels [all...] |
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/ |
H A D | SDL_dmaaudio.c | 289 value = (spec->channels > 1); 292 SDL_SetError("Couldn't set audio channels"); 395 /* Set mono or stereo audio (currently only two channels supported) */ 396 stereo = (spec->channels > 1); 399 spec->channels = 2; 401 spec->channels = 1; 406 once we know what format and channels are supported 420 spec->samples /= spec->channels;
|
/external/webkit/Source/WebCore/platform/image-decoders/png/ |
H A D | PNGImageDecoder.cpp | 266 int bitDepth, colorType, interlaceType, compressionType, filterType, channels; local 315 channels = png_get_channels(png, info); 316 ASSERT(channels == 3 || channels == 4); 318 m_reader->setHasAlpha(channels == 4);
|
/external/dropbear/ |
H A D | common-channel.c | 25 /* Handle the multiplexed channels, such as sessions, x11, agent connections */ 62 /* Initialise all the channels */ 66 ses.channels = (struct Channel**)m_malloc(sizeof(struct Channel*)); 68 ses.channels[0] = NULL; 79 /* Clean up channels, freeing allocated memory */ 86 if (ses.channels[i] != NULL) { 88 remove_channel(ses.channels[i]); 91 m_free(ses.channels); 108 /* first see if we can use existing channels */ 110 if (ses.channels[ [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | SelectorTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 23 import java.nio.channels.ClosedChannelException; 24 import java.nio.channels.ClosedSelectorException; 25 import java.nio.channels.Pipe; 26 import java.nio.channels.SelectionKey; 27 import java.nio.channels.Selector; 28 import java.nio.channels.ServerSocketChannel; 29 import java.nio.channels.SocketChannel; 30 import java.nio.channels.spi.SelectorProvider; 83 * @tests java.nio.channels [all...] |
H A D | ServerSocketChannelTest.java | 18 package org.apache.harmony.nio.tests.java.nio.channels; 27 import java.nio.channels.AsynchronousCloseException; 28 import java.nio.channels.ClosedChannelException; 29 import java.nio.channels.IllegalBlockingModeException; 30 import java.nio.channels.NotYetBoundException; 31 import java.nio.channels.SelectionKey; 32 import java.nio.channels.ServerSocketChannel; 33 import java.nio.channels.SocketChannel; 34 import java.nio.channels.spi.SelectorProvider; 89 * Test method for 'java.nio.channels [all...] |
H A D | SinkChannelTest.java | 17 package org.apache.harmony.nio.tests.java.nio.channels; 23 import java.nio.channels.ClosedChannelException; 24 import java.nio.channels.Pipe; 25 import java.nio.channels.SelectionKey; 26 import java.nio.channels.ServerSocketChannel; 27 import java.nio.channels.SocketChannel; 61 * @tests java.nio.channels.Pipe.SinkChannel#validOps() 68 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer) 103 * @tests java.nio.channels.Pipe.SinkChannel#write(ByteBuffer) 147 * @tests java.nio.channels [all...] |
H A D | ChannelsTest.java | 16 package org.apache.harmony.nio.tests.java.nio.channels; 30 import java.nio.channels.Channels; 31 import java.nio.channels.ClosedChannelException; 32 import java.nio.channels.IllegalBlockingModeException; 33 import java.nio.channels.ReadableByteChannel; 34 import java.nio.channels.ServerSocketChannel; 35 import java.nio.channels.SocketChannel; 36 import java.nio.channels.WritableByteChannel; 153 * Test method for 'java.nio.channels.Channels.NewChannel' 223 * Test method for 'java.nio.channels [all...] |
/external/mesa3d/src/pixelflinger2/ |
H A D | texture.cpp | 36 union Pixel { unsigned char channels[4]; unsigned int val; }; member in union:Pixel 43 c = vsetq_lane_s32(pixel->channels[0], c, 0); 44 c = vsetq_lane_s32(pixel->channels[1], c, 1); 45 c = vsetq_lane_s32(pixel->channels[2], c, 2); 46 c = vsetq_lane_s32(pixel->channels[3], c, 3); 50 color->r = (float)pixel->channels[0] / 255; 51 color->g = (float)pixel->channels[1] / 255; 52 color->b = (float)pixel->channels[2] / 255; 53 color->a = (float)pixel->channels[3] / 255;
|
H A D | llvm_texture.cpp | 106 Value * channels = Constant::getNullValue(intVecType(builder)); local 109 // channels = builder.CreateInsertElement(channels, texel, builder.getInt32(0)); 110 // channels = builder.CreateBitCast(channels, floatVecType(builder)); 111 // return channels; 113 channels = builder.CreateInsertElement(channels, texel, builder.getInt32(0)); 114 channels = builder.CreateInsertElement(channels, texe [all...] |
/external/bluetooth/bluez/audio/ |
H A D | gstsbcparse.c | 54 "channels = (int) [ 1, 2 ], " 142 parse->channels = -1; 210 self->channels = -1;
|