Searched refs:buffers (Results 1 - 25 of 36) sorted by path

12

/haiku/headers/os/media/
H A DBufferGroup.h25 const media_buffer_id* buffers);
/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/headers/private/media/
H A DServerInterface.h751 media_buffer_id buffers[1]; member in struct:producer_set_buffer_group_command
H A DSharedBufferList.h51 BBuffer** buffers);
/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.c81 // mark all indirect buffers that have been processed as being free;
93 // mark all sent indirect buffers as free
94 while( cp->buffers.oldest != -1 ) {
96 &cp->buffers.buffers[cp->buffers.oldest];
112 cp->buffers.newest = -1;
115 oldest_buffer->next = cp->buffers.free_list;
116 cp->buffers.free_list = cp->buffers
[all...]
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...]
/haiku/src/add-ons/kernel/drivers/audio/hda/
H A Dhda_multi_audio.cpp967 TRACE("playback: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32
970 TRACE("record: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32
974 /* Determine what buffers we return given the request */
1022 dprintf("hda: Error setting up playback buffers: %s\n",
1037 dprintf("hda: Error setting up recording buffers: %s\n",
1052 descs[channelIndex].base = (char*)audioGroup->playback_stream->buffers[i]
1072 descs[channelIndex].base = (char*)audioGroup->record_stream->buffers[i]
1161 dprintf("%s: %d buffers processed\n", __func__, debugBuffersExchanged);
H A Ddriver.h53 (verb/response) buffers for communication.
167 uint8* buffers[STREAM_MAX_BUFFERS]; member in struct:hda_stream
H A Dhda_controller.cpp531 Programs the controller hardware to make use of these buffers (the DMA
886 // Calculate total size of all buffers (aligned to size of B_PAGE_SIZE)
890 // Allocate memory for buffers
892 stream->buffer_area = create_area("hda buffers", (void**)&buffer,
915 " buffers\n", __func__, desc, alloc, stream->num_buffers);
919 stream->buffers[index] = buffer + (index * stream->buffer_size);
/haiku/src/add-ons/kernel/drivers/audio/null/
H A Ddriver.h27 void* buffers[STRMAXBUF]; member in struct:__anon1557
H A Dnull_hardware.c33 // Get the correct address for setting up the buffers
36 stream->buffers[i] = buffer + (i * buffer_size);
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Ddriver.h27 void* buffers[STRMAXBUF]; member in struct:__anon538
/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/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/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/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/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/kits/media/
H A DBufferProducer.cpp274 ? new BBufferGroup(command->buffer_count, command->buffers)
/haiku/src/add-ons/kernel/busses/usb/
H A Dxhci.cpp1342 // create a series of buffers as requested by our caller.
1346 result->buffers = (void**)calloc(bufferCount,
1350 fStack->AllocateChunk((void **)&result->buffers, &dummy,
1353 if (result->buffers == NULL) {
1358 result->buffer_addrs = (phys_addr_t*)&result->buffers[bufferCount];
1362 // Optimization: If the requested total size of all buffers is less
1367 if (fStack->AllocateChunk(&result->buffers[0],
1375 result->buffers[i] = (void*)((addr_t)(result->buffers[i - 1])
1383 if (fStack->AllocateChunk(&result->buffers[
[all...]
H A Dxhci.h39 void** buffers; member in struct:xhci_td
/haiku/src/add-ons/kernel/drivers/audio/ac97/geode/
H A Ddriver.h120 uint8* buffers[STREAM_MAX_BUFFERS]; member in struct:geode_stream
H A Dgeode_controller.cpp304 /* Calculate total size of all buffers (aligned to size of B_PAGE_SIZE) */
308 /* Allocate memory for buffers */
309 stream->buffer_area = create_area("geode buffers", (void**)&buffer,
326 dprintf("%s(%s): Allocated %" B_PRId32 " bytes for %" B_PRIu32 " buffers\n", __func__, desc,
331 stream->buffers[index] = buffer + (index * bufferSize);
H A Dgeode_multi.cpp664 TRACE("playback: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32 " samples\n",
667 TRACE("record: %" B_PRId32 " buffers, %" B_PRId32 " channels, %" B_PRIu32 " samples\n",
671 /* Determine what buffers we return given the request */
713 dprintf("geode: Error setting up playback buffers: %s\n",
728 dprintf("geode: Error setting up recording buffers: %s\n",
743 = (char*)controller->playback_stream->buffers[i]
758 = (char*)controller->record_stream->buffers[i]
833 dprintf("%s: %d buffers processed\n", __func__, debug_buffers_exchanged);

Completed in 200 milliseconds

12