Searched refs:buffer (Results 151 - 175 of 2144) sorted by path

1234567891011>>

/haiku/src/add-ons/accelerants/neomagic/engine/
H A Dnm_support.c20 char buffer[1024]; local
31 vsprintf (buffer, fmt, args);
33 fprintf(myhand, "%s", buffer);
/haiku/src/add-ons/accelerants/nvidia/
H A DOverlay.c75 int offset = 0; /* used to determine next buffer to create */
76 uintptr_t adress, adress2, temp32; /* used to calculate buffer adresses */
87 /* find first empty slot (room for another buffer?) */
90 if (si->overlay.myBuffer[offset].buffer == NULL) break;
96 /* setup new scaler input buffer */
117 LOG(4, ("Overlay: Sorry, requested buffer pitch not supported, aborted\n"));
142 /* check if the requested buffer width is supported */
144 LOG(4, ("Overlay: Sorry, requested buffer width not supported, aborted\n"));
150 /* check if the requested buffer height is supported */
152 LOG(4, ("Overlay: Sorry, requested buffer heigh
[all...]
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_acc_dma.c962 * This define tells the engine where the DMA cmd buffer is and what it's size is.
963 * Inside that cmd buffer you'll find the actual issued engine commands. */
1049 /*** init DMA command buffer info ***/
1055 LOG(4, ("ACC_DMA: command buffer is at adress $%p\n", si->dma_buffer));
1058 /* the current first free adress in the DMA buffer is at offset 0 */
1060 /* the DMA buffer can hold 8k 32-bit words (it's 32kb in size),
1063 * one word is reserved at the end of the DMA buffer to be able to instruct the
1064 * engine to do a buffer wrap-around!
1070 /* note the current free space we have left in the DMA buffer */
1073 /*** init FIFO via DMA command buffer
[all...]
H A Dnv_bes.c14 uint32 hsrcstv; /* horizontal source start in source buffer (clipping) */
15 uint32 v1srcstv; /* vertical source start in source buffer (clipping) */
16 uintptr_t a1orgv; /* alternate source clipping via startadress of source buffer */
238 moi->a1orgv = (uintptr_t)((vuint32 *)si->overlay.ob.buffer);
283 LOG(4,("Overlay: 'contributing part of buffer' origin is (cardRAM offset) $%08x\n", moi->a1orgv));
310 /* select buffer 0 as active (b16) */
314 /* setup clipped(!) buffer startadress in RAM */
330 /* select buffer 1 as active (b16) */
337 /* setup buffer origin: GeForce uses subpixel precise clipping on left and top! (12.4 values) */
346 /* We only use buffer buffe
[all...]
H A Dnv_brooktreetv.c55 uint8 buffer[21]; local
74 memcpy(&buffer[2], &BtNtscMacro0, 19);
79 memcpy(&buffer[2], &BtNtscMacro1, 19);
84 memcpy(&buffer[2], &BtNtscMacro2, 19);
89 memcpy(&buffer[2], &BtNtscMacro3, 19);
100 memcpy(&buffer[2], &BtPalMacro0, 19);
107 memcpy(&buffer[2], &BtPalMacro1, 19);
113 buffer[0] = si->ps.tv_encoder.adress + WR;
115 buffer[1] = 0xda;
121 i2c_writebuffer(si->ps.tv_encoder.bus, buffer, sizeo
137 uint8 buffer[3]; local
165 uint8 buffer[3]; local
287 uint8 buffer[35]; local
345 uint8 buffer[35]; local
403 uint8 buffer[35]; local
461 uint8 buffer[35]; local
519 uint8 buffer[35]; local
577 uint8 buffer[35]; local
677 uint8 buffer[35]; local
787 uint8 buffer[35]; local
881 uint8 buffer[3]; local
909 uint8 buffer[7]; local
1002 uint8 buffer[7]; local
1111 uint8 buffer[3]; local
1211 uint8 buffer[4]; local
1294 uint8 buffer[3]; local
[all...]
H A Dnv_support.c20 char buffer[1024]; local
35 vsprintf (buffer, fmt, args);
37 fprintf(myhand, "%s", buffer);
/haiku/src/add-ons/accelerants/radeon/
H A DCP.h12 We use both the circular buffer and indirect buffers. To let the CP
13 execute something, you must allocate an indirect buffer by
16 your buffer is executed, you can define a state buffer: in this
17 buffer you write commands necessary to gain your whished state.
18 You get this state buffer during startup via Radeon_AllocIndirectBuffer()
21 Radeon_InvalidateStateBuffer() to make sure the state buffer is not
24 of an indirect buffer, it submit the state buffer first. State
33 As the ring buffer onl
[all...]
H A Doverlay.c557 /*uint32 buffer[20*2];
706 si->active_overlay.rel_offset = (src_top >> 16) * node->buffer.bytes_per_row +
857 OUTREG( regs, RADEON_OV0_VID_BUF_PITCH0_VALUE, node->buffer.bytes_per_row );
959 // show new overlay buffer with same parameters as last one
985 // setup new buffer
988 si->pending_overlay.on->buffer.bytes_per_row );*/
H A Doverlay_management.c66 // public function: allocates overlay buffer
68 // width, height - width and height of overlay buffer
75 overlay_buffer *buffer; local
133 buffer = &node->buffer;
135 buffer->space = cs;
136 buffer->width = width;
137 buffer->height = height;
138 buffer->bytes_per_row = (width * bpp + 0xf) & ~0xf;
141 am.size = buffer
[all...]
/haiku/src/add-ons/accelerants/skeleton/
H A DInitAccelerant.c138 Put the cursor at the start of the frame buffer.
151 Put the frame buffer immediately following the cursor data. We store this
170 si->overlay.myBuffer[cnt].buffer = NULL;
212 info, return the size of the name buffer
220 a buffer at least ACCELERANT_CLONE_INFO_SIZE() bytes in length.
228 /* store the returned info directly into the passed buffer */
H A DOverlay.c73 int offset = 0; /* used to determine next buffer to create */
74 uint32 adress, adress2, temp32; /* used to calculate buffer adresses */
85 /* find first empty slot (room for another buffer?) */
88 if (si->overlay.myBuffer[offset].buffer == NULL) break;
94 /* setup new scaler input buffer */
117 LOG(4,("Overlay: Sorry, requested buffer pitch not supported, aborted\n"));
136 /* check if the requested buffer width is supported */
139 LOG(4,("Overlay: Sorry, requested buffer width not supported, aborted\n"));
146 /* check if the requested buffer height is supported */
149 LOG(4,("Overlay: Sorry, requested buffer heigh
[all...]
/haiku/src/add-ons/accelerants/skeleton/engine/
H A Dbes.c14 uint32 hsrcstv; /* horizontal source start in source buffer (clipping) */
15 uint32 v1srcstv; /* vertical source start in source buffer (clipping) */
16 uint32 a1orgv; /* alternate source clipping via startadress of source buffer */
238 moi->a1orgv = (uint32)((vuint32 *)si->overlay.ob.buffer);
283 LOG(4,("Overlay: 'contributing part of buffer' origin is (cardRAM offset) $%08x\n", moi->a1orgv));
310 /* select buffer 0 as active (b16) */
314 /* setup clipped(!) buffer startadress in RAM */
330 /* select buffer 1 as active (b16) */
337 /* setup buffer origin: GeForce uses subpixel precise clipping on left and top! (12.4 values) */
346 /* We only use buffer buffe
[all...]
H A Dsupport.c20 char buffer[1024]; local
31 vsprintf (buffer, fmt, args);
32 fprintf(myhand, "%s", buffer);
H A Dtvout.c23 void gxx0_maventv_PAL_init(uint8* buffer);
24 void gxx0_maventv_NTSC_init(uint8* buffer);
32 // so buffer duplication or skipping won't be neccesary for realtime video.
306 void gxx0_maventv_PAL_init(uint8* buffer) argument
311 buffer[0x00] = 0x2A;
312 buffer[0x01] = 0x09;
313 buffer[0x02] = 0x8A;
314 buffer[0x03] = 0xCB;
316 buffer[0x04] = 0x00;
317 buffer[
460 gxx0_maventv_NTSC_init(uint8* buffer) argument
[all...]
/haiku/src/add-ons/accelerants/via/
H A DOverlay.c72 int offset = 0; /* used to determine next buffer to create */
73 uintptr_t adress, adress2, temp32; /* used to calculate buffer adresses */
84 /* find first empty slot (room for another buffer?) */
87 if (si->overlay.myBuffer[offset].buffer == NULL) break;
93 /* setup new scaler input buffer */
106 LOG(4,("Overlay: Sorry, requested buffer pitch not supported, aborted\n"));
125 /* check if the requested buffer width is supported */
128 LOG(4,("Overlay: Sorry, requested buffer width not supported, aborted\n"));
135 /* check if the requested buffer height is supported */
138 LOG(4,("Overlay: Sorry, requested buffer heigh
[all...]
/haiku/src/add-ons/accelerants/via/engine/
H A Dbes.c14 uint32 hsrcstv; /* horizontal source start in source buffer (clipping) */
15 uint32 hsrcendv; /* horizontal source end in source buffer (clipping) */
16 uint32 v1srcstv; /* vertical source start in source buffer (clipping) */
17 uint32 a1orgv; /* alternate source clipping via startadress of source buffer */
354 moi->a1orgv = (uintptr_t)((vuint32 *)si->overlay.ob.buffer);
395 LOG(4,("Overlay: 'contributing part of buffer' origin is (cardRAM offset) $%08x\n", moi->a1orgv));
419 /* setup clipped(!) buffer startadress in RAM */
447 /* setup clipped(!) buffer startadress in RAM */
556 /* output window position and clipping info for source buffer */
849 /* setup clipped(!) buffer startadres
[all...]
H A Dsupport.c20 char buffer[1024]; local
31 vsprintf (buffer, fmt, args);
32 fprintf(myhand, "%s", buffer);
H A Dtvout.c23 void gxx0_maventv_PAL_init(uint8* buffer);
24 void gxx0_maventv_NTSC_init(uint8* buffer);
32 // so buffer duplication or skipping won't be neccesary for realtime video.
306 void gxx0_maventv_PAL_init(uint8* buffer) argument
311 buffer[0x00] = 0x2A;
312 buffer[0x01] = 0x09;
313 buffer[0x02] = 0x8A;
314 buffer[0x03] = 0xCB;
316 buffer[0x04] = 0x00;
317 buffer[
460 gxx0_maventv_NTSC_init(uint8* buffer) argument
[all...]
/haiku/src/add-ons/input_server/devices/serial_mouse/
H A DSerialMouse.cpp163 char buffer[kMaxBytesToRead]; local
196 buffer[bytes_read] = c; // store the garbage for futher processing.
247 SerialMouse::ParseID(char buffer[], uint8 length) argument
251 if ((length == 1) && (buffer[0] == 'M'))
255 if (buffer[0] == 'M' && buffer[1] == '3')
257 else if (buffer[0] == 'H' && buffer[1] == 'H')
262 (buffer[0] == 'M' && buffer[
[all...]
/haiku/src/add-ons/input_server/filters/shortcut_catcher/
H A DKeyCommandMap.cpp350 char buffer[2048]; local
352 if (size <= (ssize_t)sizeof(buffer)
353 && message.Flatten(buffer, size) == B_OK) {
354 write_port_etc(fPort, 0, buffer, size, B_TIMEOUT, 250000);
/haiku/src/add-ons/input_server/methods/pen/
H A DDumpMessage.cpp25 char buffer[100]; local
29 sprintf(buffer, "0x%06lx: ", i);
30 stream.Write(buffer, strlen(buffer));
33 sprintf(buffer, "%02x", p[i+j]);
35 sprintf(buffer, " ");
37 sprintf(buffer+strlen(buffer), " ");
38 stream.Write(buffer, strlen(buffer));
75 char buffer[80]; local
[all...]
/haiku/src/add-ons/input_server/methods/pen/compat/
H A DStringIO.cpp28 BStringIO::ReadAt(off_t pos, void *buffer, size_t size) argument
34 BStringIO::WriteAt(off_t pos, const void *buffer, size_t size) argument
41 fString->Insert((const char *)buffer, size, (int32)pos);
H A DStringIO.h25 virtual ssize_t ReadAt(off_t pos, void *buffer, size_t size);
26 virtual ssize_t WriteAt(off_t pos, const void *buffer, size_t size);
/haiku/src/add-ons/kernel/bluetooth/hci/
H A Dacl.h12 status_t AclAssembly(net_buffer* buffer, hci_id hid);
H A Dbluetooth.cpp108 // new buffer incoming
144 // Create the buffer -> TODO: this allocation can fail
180 panic("need to send full buffer to btdatacore!\n");
207 // in case in the pipe there is info about the next buffer
300 PostACL(hci_id hciId, net_buffer* buffer) argument
303 net_buffer* next_frame = buffer;
306 if (buffer == NULL)
307 panic("passing null buffer");
309 uint16 handle = buffer->type; // TODO: CodeHandler
320 buffer
361 PostSCO(hci_id hciId, net_buffer* buffer) argument
368 PostESCO(hci_id hciId, net_buffer* buffer) argument
[all...]

Completed in 120 milliseconds

1234567891011>>