Searched refs:buffers (Results 26 - 36 of 36) sorted by last modified time

12

/haiku/headers/private/media/
H A DServerInterface.h751 media_buffer_id buffers[1]; member in struct:producer_set_buffer_group_command
/haiku/src/apps/mediaplayer/media_node_framework/audio/
H A DAudioProducer.cpp102 // alloc float buffers of this size
103 const int bufferCount = 10; // number of input buffers
104 float* buffers[bufferCount + 1]; local
106 buffers[i] = new float[sampleCount];
107 float* outBuffer = buffers[bufferCount];
108 // fill all buffers save the last one with arbitrary data and merge them
112 buffers[i][k] = ((float)i * (float)k)
119 outBuffer[k] += buffers[i][k];
124 delete[] buffers[i];
340 delete fBufferGroup; // waits for all buffers t
[all...]
/haiku/src/kits/game/
H A DGameProducer.cpp317 delete fBufferGroup; // waits for all buffers to recycle
323 BBuffer* buffers[1]; local
324 if (newGroup->GetBufferList(1, buffers) != B_OK)
326 fBufferSize = buffers[0]->SizeAvailable();
356 // A hardware capture node can't adjust; it simply emits buffers at
362 // buffers earlier in order to catch up. This argues that the
365 // to start producing buffers earlier to compensate.
385 // buffers earlier (or later) than we were previously. Make sure that the
458 // Going to start sending buffers so setup the needed bookkeeping
473 // get any more buffers fro
[all...]
/haiku/src/apps/mediaplayer/supplier/
H A DMediaTrackAudioSupplier.cpp297 // Given two buffers starting at different frame offsets, this function
316 // Given two buffers starting at different frame offsets, this function
331 // Allocates a set of buffers.
357 // Frees the allocated buffers.
393 // Returns the first unused buffer or NULL if all buffers are used.
405 // Returns either an unused buffer or, if all buffers are used, the least
427 // buffer or, if all buffers are used, the least recently used buffer.
440 // Adds pointers to all buffers to the list that contain data of the
443 MediaTrackAudioSupplier::_GetBuffersFor(BList& buffers, int64 position, argument
446 buffers
[all...]
H A DMediaTrackAudioSupplier.h61 void _GetBuffersFor(BList& buffers, int64 position,
/haiku/headers/private/graphics/radeon/
H A Dradeon_interface.h54 // number of indirect buffers
58 // as hardware wants buffers to be 4k aligned and as we store all
59 // buffers in one chunk, the size per buffer in bytes must be a multiple of 4k
417 overlay_buffer_node *overlay_buffers; // list of allocated overlay buffers
463 uint32 mem_handle; // handle of memory of indirect buffers
478 // indirect buffers (in non-local memory)
488 uint32 mem_offset; // offset of indirect buffers in non-local memory
489 uint32 vm_start; // start of indirect buffers as seen by graphics card
491 indirect_buffer buffers[NUM_INDIRECT_BUFFERS]; // info about buffers member in struct:__anon28::__anon31
493 } buffers; member in struct:__anon28
[all...]
/haiku/src/apps/serialconnect/libvterm/src/
H A Dscreen.c59 /* Primary and Altscreen. buffers[1] is lazily allocated as needed */
60 ScreenCell *buffers[2]; member in struct:VTermScreen
62 /* buffer will == buffers[0] or buffers[1], depending on altscreen */
216 screen->buffer == screen->buffers[0]) { // not altscreen
438 if(val->boolean && !screen->buffers[1])
441 screen->buffer = val->boolean ? screen->buffers[1] : screen->buffers[0];
486 int is_altscreen = (screen->buffers[1] && screen->buffer == screen->buffers[
[all...]
/haiku/src/apps/cortex/addons/common/
H A DSoundUtils.cpp121 // secs * ( (frames/sec) / (frames/buffer) ) = secs * (buffers/sec) = buffers
122 int buffers = 0; local
124 buffers = (int) ceil(us_to_s(duration)*(format.frame_rate/frames_per_buffer(format)));
126 return buffers;
/haiku/src/add-ons/kernel/drivers/audio/null/
H A Ddriver.h27 void* buffers[STRMAXBUF]; member in struct:__anon1557
/haiku/headers/private/net/
H A Dnet_stack.h37 struct list buffers; member in struct:net_fifo
/haiku/src/add-ons/accelerants/radeon/
H A DCP.h12 We use both the circular buffer and indirect buffers. To let the CP
25 buffers are currently used for virtual cards only, but could be
28 All indirect buffers have the same size: 4K (Radeons want them to
32 you get consistency problems), there are currently 253 buffers.
33 As the ring buffer only contains calls to indirect buffers and
40 Indirect buffers are recycled if there is none left. To track their
44 compares the tags of submitted buffers with scratch register 1 to
45 detect finished buffers.
67 return (uint32 *)(ai->mapped_memory[ai->si->cp.buffers.mem_type].data + ai->si->cp.buffers
[all...]

Completed in 111 milliseconds

12