Searched refs:frames (Results 1 - 25 of 88) sorted by relevance

1234

/haiku/src/apps/cortex/addons/common/
H A DRawBuffer.h58 // allocate buffer (if frames > 0)
64 uint32 frames=0,
73 uint32 frames,
87 uint32 frames() const;
96 // designated number of frames
99 void resize(uint32 frames);
107 uint32 frames,
126 // frames written, and adjusting both offsets accordingly.
128 // no frames will be written if the buffers' frame sizes
132 // necessary to fill the desired number of frames, bu
[all...]
H A DRawBuffer.cpp45 // allocate buffer (if frames > 0)
48 uint32 frames,
55 m_frames(frames),
70 uint32 frames,
77 m_frames(frames),
111 uint32 RawBuffer::frames() const { return m_frames; } function in class:RawBuffer
120 // designated number of frames.
123 void RawBuffer::resize(uint32 frames) { argument
124 uint32 sizeRequired = frames * m_frameSize;
129 m_frames = frames;
46 RawBuffer( uint32 frameSize, uint32 frames, bool bCircular, rtm_pool* pFromPool) argument
67 RawBuffer( void* pData, uint32 frameSize, uint32 frames, bool bCircular, rtm_pool* pFromPool) argument
150 adopt( void* pData, uint32 frameSize, uint32 frames, bool bCircular, rtm_pool* pPool) argument
[all...]
H A DAudioBuffer.h63 uint32 frames,
71 uint32 frames,
92 uint32 frames,
117 uint32 frames) const; //nyi
119 // as above; copies all frames
133 uint32 frames,
/haiku/headers/private/kernel/arch/arm/
H A Darch_thread_types.h13 struct iframe *frames[IFRAME_TRACE_DEPTH]; member in struct:iframe_stack
/haiku/headers/private/kernel/arch/m68k/
H A Darch_thread_types.h13 struct iframe *frames[IFRAME_TRACE_DEPTH]; member in struct:iframe_stack
/haiku/headers/private/kernel/arch/mipsel/
H A Darch_thread_types.h13 struct iframe *frames[IFRAME_TRACE_DEPTH]; member in struct:iframe_stack
/haiku/headers/private/kernel/arch/ppc/
H A Darch_thread_types.h15 struct iframe *frames[IFRAME_TRACE_DEPTH]; member in struct:iframe_stack
/haiku/src/apps/mediaplayer/media_node_framework/audio/
H A DAudioReader.h22 virtual status_t Read(void* buffer, int64 pos, int64 frames) = 0;
31 void* ReadSilence(void* buffer, int64 frames) const;
32 void* SkipFrames(void* buffer, int64 frames) const;
34 int64 frames) const;
H A DAudioChannelConverter.cpp27 int32 frames)
36 for (int32 i = 0; i < frames; i++) {
46 for (int32 i = 0; i < frames; i++) {
57 for (int32 i = 0; i < frames; i++) {
96 AudioChannelConverter::Read(void* outBuffer, int64 pos, int64 frames) argument
98 TRACE("AudioChannelConverter::Read(%p, %Ld, %Ld)\n", outBuffer, pos, frames);
111 uint8* inBuffer = new (nothrow) uint8[inFrameSize * frames];
114 status_t ret = fSource->Read(inBuffer, pos, frames);
124 inChannels, outChannels, frames);
128 inChannels, outChannels, frames);
26 convert(Type* inBuffer, Type* outBuffer, int32 inChannels, int32 outChannels, int32 frames) argument
[all...]
H A DAudioAdapter.h32 virtual status_t Read(void* buffer, int64 pos, int64 frames);
40 int64 frames) const;
H A DAudioVolumeConverter.cpp37 convert(SampleType* buffer, const int32 frames, const int32 channels, argument
41 for (int32 i = 0; i < frames; i++) {
42 float volume = volume1 + volumeDiff * (i / (frames - 1));
82 AudioVolumeConverter::Read(void* buffer, int64 pos, int64 frames) argument
84 TRACE("AudioVolumeConverter::Read(%p, %lld, %lld)\n", buffer, pos, frames);
92 status_t ret = fSource->Read(buffer, pos, frames);
99 int32 samples = frames * channelCount;
105 convert((float*)buffer, frames, channelCount,
112 convert((int32*)buffer, frames, channelCount,
119 convert((int16*)buffer, frames, channelCoun
[all...]
H A DAudioFormatConverter.cpp110 const char* inBuffer, char* outBuffer, int32 frames,
113 for (int32 i = 0; i < frames; i++) {
190 AudioFormatConverter::Read(void* buffer, int64 pos, int64 frames) argument
192 TRACE("AudioFormatConverter::Read(%p, %Ld, %Ld)\n", buffer, pos, frames);
204 return fSource->Read(buffer, pos, frames);
231 reformatBuffer = new char[frames * inFrameSize];
234 error = fSource->Read(inBuffer, pos, frames);
240 frames * inFrameSize);
251 frames, inSampleSize, outSampleSize, channelCount); local
255 frames, inSampleSiz local
109 convert(const ReadT& read, const WriteT& write, const char* inBuffer, char* outBuffer, int32 frames, int32 inSampleSize, int32 outSampleSize, int32 channelCount) argument
259 frames, inSampleSize, outSampleSize, channelCount); local
263 frames, inSampleSize, outSampleSize, channelCount); local
272 frames, inSampleSize, outSampleSize, channelCount); local
278 frames, inSampleSize, outSampleSize, channelCount); local
282 frames, inSampleSize, outSampleSize, channelCount); local
286 frames, inSampleSize, outSampleSize, channelCount); local
295 frames, inSampleSize, outSampleSize, channelCount); local
299 frames, inSampleSize, outSampleSize, channelCount); local
305 frames, inSampleSize, outSampleSize, channelCount); local
309 frames, inSampleSize, outSampleSize, channelCount); local
318 frames, inSampleSize, outSampleSize, channelCount); local
322 frames, inSampleSize, outSampleSize, channelCount); local
326 frames, inSampleSize, outSampleSize, channelCount); local
332 frames, inSampleSize, outSampleSize, channelCount); local
341 frames, inSampleSize, outSampleSize, channelCount); local
345 frames, inSampleSize, outSampleSize, channelCount); local
349 frames, inSampleSize, outSampleSize, channelCount); local
353 frames, inSampleSize, outSampleSize, channelCount); local
[all...]
H A DAudioReader.cpp95 /*! Fills the supplied buffer with /frames/ frames of silence and returns a
96 pointer to the frames after the filled range.
97 /frames/ must be >= 0.*/
99 AudioReader::ReadSilence(void* buffer, int64 frames) const
101 void* bufferEnd = SkipFrames(buffer, frames);
102 int32 sampleCount = frames * fFormat.u.raw_audio.channel_count;
127 //! Returns a buffer pointer offset by /frames/ frames.
129 AudioReader::SkipFrames(void* buffer, int64 frames) cons
[all...]
H A DAudioResampler.cpp39 double inFrameRate, double outFrameRate, int32 frames)
44 for (sample_t outFrame = 0; outFrame < frames; outFrame++) {
110 AudioResampler::Read(void* buffer, int64 pos, int64 frames) argument
112 TRACE("AudioResampler::Read(%p, %Ld, %Ld)\n", buffer, pos, frames);
119 // calculate position and frames in the source data
121 int64 sourceFrames = ConvertToSource(pos + frames) - sourcePos;
123 if (sourceFrames == frames) {
128 ReadSilence(buffer, frames);
140 // we need at least two frames to interpolate
157 channelCount, inFrameRate, outFrameRate, (int32)frames);
38 resample_linear(void* _inBuffer, void* _outBuffer, uint32 channelCount, double inFrameRate, double outFrameRate, int32 frames) argument
[all...]
H A DAudioResampler.h27 virtual status_t Read(void* buffer, int64 pos, int64 frames);
47 int64 frames);
H A DAudioChannelConverter.h25 virtual status_t Read(void* buffer, int64 pos, int64 frames);
H A DAudioFormatConverter.h26 virtual status_t Read(void* buffer, int64 pos, int64 frames);
H A DAudioVolumeConverter.h24 virtual status_t Read(void* buffer, int64 pos, int64 frames);
/haiku/headers/private/kernel/arch/riscv64/
H A Darch_thread_types.h13 struct iframe *frames[IFRAME_TRACE_DEPTH]; member in struct:iframe_stack
/haiku/headers/os/media/
H A DTimeCode.h41 int* seconds, int* frames, const timecode_info* code = NULL);
43 status_t timecode_to_us(int hours, int minutes, int seconds, int frames,
47 int* seconds, int* frames, const timecode_info* code = NULL);
49 status_t timecode_to_frames(int hours, int minutes, int seconds, int frames,
65 int frames,
70 int frames);
/haiku/src/apps/mediaplayer/supplier/
H A DMediaTrackAudioSupplier.h34 virtual status_t Read(void* buffer, int64 pos, int64 frames);
49 int64 position, int64 frames) const;
52 int64 frames) const;
62 int64 frames) const;
70 int64& position, int64& frames,
74 int64 position, int64 frames,
H A DMediaTrackAudioSupplier.cpp128 MediaTrackAudioSupplier::Read(void* buffer, int64 pos, int64 frames) argument
131 frames);
134 //printf("MediaTrackAudioSupplier::Read(%p, %lld, %lld)\n", buffer, pos, frames);
144 // Fill the frames after the end of the track with silence.
145 if (fCountFrames > 0 && pos + frames > fCountFrames) {
147 ReadSilence(SkipFrames(buffer, size), frames - size);
148 frames = size;
151 TRACE(" after eliminating the frames after the track end: %p, %lld, %lld\n",
152 buffer, pos, frames);
181 printf(" need to skip %lld frames\
503 _ReadCachedFrames(void*& dest, int64& pos, int64& frames, bigtime_t time) argument
548 _ReadUncachedFrames(void* buffer, int64 position, int64 frames, bigtime_t time) argument
[all...]
/haiku/src/add-ons/kernel/partitioning_systems/session/
H A Dscsi-mmc.h77 - Each msf second corresponds to 75 msf frames
85 uint8 frames; member in struct:__anon1572
96 make_msf_address(uint8 minutes, uint8 seconds, uint8 frames) argument
102 result.frames = frames;
115 + msf.frames - 150;
150 uint8 frames; member in struct:__anon1575
/haiku/headers/private/kernel/arch/sparc/
H A Darch_thread_types.h17 struct iframe *frames[IFRAME_TRACE_DEPTH]; member in struct:iframe_stack
/haiku/src/kits/game/
H A DGameSoundBuffer.h41 void Play(void * data, int64 frames);
61 virtual void FillBuffer(void * data, int64 frames) = 0;
87 int64 frames = 0);
95 virtual void FillBuffer(void * data, int64 frames);
114 virtual void FillBuffer(void * data, int64 frames);

Completed in 90 milliseconds

1234