Searched refs:stride (Results 1 - 25 of 99) sorted by relevance

1234

/haiku-fatelf/src/add-ons/opengl/swpipe/
H A DSoftwareWinsys.h24 unsigned stride; member in struct:haiku_displaytarget
H A DSoftwareWinsys.cpp65 unsigned height, unsigned alignment, unsigned* stride)
85 haikuDisplayTarget->stride = align(width * colorsPerPalette, alignment);
86 haikuDisplayTarget->size = haikuDisplayTarget->stride * height;
98 *stride = haikuDisplayTarget->stride;
130 unsigned* stride)
63 hook_winsys_displaytarget_create(struct sw_winsys* winsys, unsigned textureUsage, enum pipe_format format, unsigned width, unsigned height, unsigned alignment, unsigned* stride) argument
128 hook_winsys_displaytarget_from_handle(struct sw_winsys* winsys, const struct pipe_resource* templat, struct winsys_handle* whandle, unsigned* stride) argument
/haiku-fatelf/src/libs/tiff/
H A Dtif_predict.c88 sp->stride = (td->td_planarconfig == PLANARCONFIG_CONTIG ?
242 tsize_t stride = PredictorState(tif)->stride; local
245 if (cc > stride) {
246 cc -= stride;
250 if (stride == 3) {
260 } else if (stride == 4) {
274 REPEAT4(stride, cp[stride] =
275 (char) (cp[stride]
285 tsize_t stride = PredictorState(tif)->stride; local
302 tsize_t stride = PredictorState(tif)->stride; local
318 tsize_t stride = PredictorState(tif)->stride; local
335 tsize_t stride = PredictorState(tif)->stride; local
354 tsize_t stride = PredictorState(tif)->stride; local
437 tsize_t stride = sp->stride; local
482 tsize_t stride = sp->stride; local
500 tsize_t stride = sp->stride; local
520 tsize_t stride = PredictorState(tif)->stride; local
[all...]
H A Dtif_pixarlog.c111 horizontalAccumulateF(uint16 *wp, int n, int stride, float *op, argument
117 if (n >= stride) {
119 if (stride == 3) {
138 } else if (stride == 4) {
162 REPEAT(stride, *op = ToLinearF[*wp&mask]; wp++; op++)
163 n -= stride;
165 REPEAT(stride,
166 wp[stride] += *wp; *op = ToLinearF[*wp&mask]; wp++; op++)
167 n -= stride;
174 horizontalAccumulate12(uint16 *wp, int n, int stride, int1 argument
242 horizontalAccumulate16(uint16 *wp, int n, int stride, uint16 *op, uint16 *ToLinear16) argument
294 horizontalAccumulate11(uint16 *wp, int n, int stride, uint16 *op) argument
337 horizontalAccumulate8(uint16 *wp, int n, int stride, unsigned char *op, unsigned char *ToLinear8) argument
386 horizontalAccumulate8abgr(uint16 *wp, int n, int stride, unsigned char *op, unsigned char *ToLinear8) argument
458 uint16 stride; member in struct:__anon5216
878 horizontalDifferenceF(float *ip, int n, int stride, uint16 *wp, uint16 *FromLT2) argument
936 horizontalDifference16(unsigned short *ip, int n, int stride, unsigned short *wp, uint16 *From14) argument
990 horizontalDifference8(unsigned char *ip, int n, int stride, unsigned short *wp, uint16 *From8) argument
[all...]
H A Dtif_predict.h40 int stride; /* sample stride over data */ member in struct:__anon5217
/haiku-fatelf/headers/libs/agg/
H A Dagg_rendering_buffer.h53 row_ptr_cache(T* buf, unsigned width, unsigned height, int stride) : argument
60 attach(buf, width, height, stride);
64 void attach(T* buf, unsigned width, unsigned height, int stride) argument
69 m_stride = stride;
77 if(stride < 0)
79 row_ptr = m_buf - int(height - 1) * stride;
87 row_ptr += stride;
96 int stride() const { return m_stride; } function in class:agg::row_ptr_cache
136 unsigned stride = stride_abs(); local
141 for(x = 0; x < stride;
[all...]
/haiku-fatelf/src/libs/pdflib/libs/tiff/
H A Dtif_predict.c68 sp->stride = (td->td_planarconfig == PLANARCONFIG_CONTIG ?
163 tsize_t stride = sp->stride; local
166 if (cc > stride) {
167 cc -= stride;
171 if (stride == 3) {
181 } else if (stride == 4) {
195 REPEAT4(stride, cp[stride] += *cp; cp++)
196 cc -= stride;
206 tsize_t stride = sp->stride; local
223 tsize_t stride = PredictorState(tif)->stride; local
286 tsize_t stride = sp->stride; local
331 tsize_t stride = sp->stride; local
[all...]
H A Dtif_predict.h40 int stride; /* sample stride over data */ member in struct:__anon5015
/haiku-fatelf/headers/cpp/std/
H A Dslice.h45 size_t stride () const;
50 size_t _M_st; // stride unit
67 slice::stride () const function in class:slice
H A Dgslice.h60 valarray<size_t> stride () const;
77 gslice::stride () const function in class:gslice
/haiku-fatelf/src/add-ons/translators/webp/libwebp/enc/
H A Dfilter.c94 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { argument
97 if (needs_filter(p + i, stride, thresh)) {
98 do_filter2(p + i, stride);
103 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { argument
106 if (needs_filter(p + i * stride, 1, thresh)) {
107 do_filter2(p + i * stride, 1);
112 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { argument
115 p += 4 * stride;
116 SimpleVFilter16(p, stride, thresh);
120 static void SimpleHFilter16i(uint8_t* p, int stride, in argument
146 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
155 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
164 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
170 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
[all...]
/haiku-fatelf/src/add-ons/translators/webp/libwebp/dec/
H A Dwebp.c185 int stride; // rgb(a) stride or luma stride member in struct:__anon2856
203 uint8_t* const y_dst = p->output + io->mb_y * p->stride;
208 memcpy(y_dst + j * p->stride, io->y + j * io->y_stride, w);
215 uint8_t* dst = p->output + io->mb_y * p->stride;
232 dst - p->stride, dst, w, p->mode);
240 dst += 2 * p->stride;
244 dst - p->stride, dst, w, p->mode);
257 dst + p->stride, NUL
459 int w, h, stride; local
520 WebPDecodeYUV(const uint8_t* data, uint32_t data_size, int *width, int *height, uint8_t** u, uint8_t** v, int *stride, int* uv_stride) argument
[all...]
H A Ddsp.c550 static void SimpleVFilter16(uint8_t* p, int stride, int thresh) { argument
553 if (needs_filter(p + i, stride, thresh)) {
554 do_filter2(p + i, stride);
559 static void SimpleHFilter16(uint8_t* p, int stride, int thresh) { argument
562 if (needs_filter(p + i * stride, 1, thresh)) {
563 do_filter2(p + i * stride, 1);
568 static void SimpleVFilter16i(uint8_t* p, int stride, int thresh) { argument
571 p += 4 * stride;
572 SimpleVFilter16(p, stride, thresh);
576 static void SimpleHFilter16i(uint8_t* p, int stride, in argument
616 VFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
621 HFilter16(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
627 VFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
636 HFilter16i(uint8_t* p, int stride, int thresh, int ithresh, int hev_thresh) argument
646 VFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
652 HFilter8(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
658 VFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
664 HFilter8i(uint8_t* u, uint8_t* v, int stride, int thresh, int ithresh, int hev_thresh) argument
[all...]
/haiku-fatelf/src/add-ons/translators/webp/libwebp/webp/
H A Dencode.h32 size_t WebPEncodeRGB(const uint8_t* rgb, int width, int height, int stride,
34 size_t WebPEncodeBGR(const uint8_t* bgr, int width, int height, int stride,
36 size_t WebPEncodeRGBA(const uint8_t* rgba, int width, int height, int stride,
38 size_t WebPEncodeBGRA(const uint8_t* bgra, int width, int height, int stride,
H A Ddecode.h51 // Upon return, the Y buffer has a stride returned as '*stride', while U and V
52 // have a common stride returned as '*uv_stride'.
57 int *stride, int* uv_stride);
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DStream.cpp187 uint32 stride = 4; local
189 stride = 2;
197 Buffers[0][0].stride
198 = Buffers[1][0].stride
199 = Buffers[0][1].stride
200 = Buffers[1][1].stride = stride;
203 Buffers[1][0].base += BufferSize * stride;
204 Buffers[1][1].base += BufferSize * stride;
207 Buffers[0][1].base += stride /
[all...]
/haiku-fatelf/src/add-ons/translators/exr/openexr/ilmimf/
H A DImfLut.h72 // Apply the table to data[0], data[stride] ... data[(nData-1) * stride]
77 int stride = 1) const;
110 // Apply the table to data[0], data[stride] ... data[(nData-1) * stride]
115 int stride = 1) const;
H A DImfLut.cpp53 HalfLut::apply (half *data, int nData, int stride) const
58 data += stride;
97 RgbaLut::apply (Rgba *data, int nData, int stride) const
113 data += stride;
/haiku-fatelf/src/add-ons/accelerants/3dfx/
H A D3dfx_overlay.cpp100 // Add width of overlay buffer to stride.
101 uint32 stride = INREG32(VIDEO_DESKTOP_OVERLAY_STRIDE) & 0x0000ffff; local
102 stride |= (buffer->width << 1) << 16;
107 OUTREG32(VIDEO_DESKTOP_OVERLAY_STRIDE, stride);
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/ich/
H A Dac97_multi.c322 data->playback_buffers[0][0].stride = 4; /* offset to next sample */
325 data->playback_buffers[0][1].stride = 4; /* offset to next sample */
328 data->playback_buffers[1][0].stride = 4; /* offset to next sample */
331 data->playback_buffers[1][1].stride = 4; /* offset to next sample */
339 data->record_buffers[0][0].stride = 4; /* offset to next sample */
342 data->record_buffers[0][1].stride = 4; /* offset to next sample */
345 data->record_buffers[1][0].stride = 4; /* offset to next sample */
348 data->record_buffers[1][1].stride = 4; /* offset to next sample */
/haiku-fatelf/src/add-ons/translators/hpgs/
H A DHPGSTranslator.cpp36 int stride, depth; local
37 _this->vtable->get_data(_this, &row, &stride, &depth);
39 ssize_t bytesWritten = target->Write(row, stride);
42 row += stride;
/haiku-fatelf/src/libs/print/libgutenprint/include/gutenprint/
H A Dbit-ops.h90 * @param stride the stride across the outputs (if it's necessary to
95 int stride, unsigned char **outs);
/haiku-fatelf/src/tests/add-ons/kernel/drivers/audio/
H A Dmulti_audio_test.cpp359 printf(" [%ld] buffer %p, stride %ld\n", i,
361 bufferList.playback_buffers[i][channel].stride);
396 size_t stride = bufferList.playback_buffers[cycle][0].stride; local
406 dest += stride;
420 size_t stride = bufferList.playback_buffers[i][0].stride; local
427 dest += stride;
/haiku-fatelf/src/apps/mediaplayer/support/
H A DStackBlurFilter.cpp314 int stride = bpr; local
347 src_pix_ptr += stride;
374 dst_pix_ptr += stride;
392 src_pix_ptr += stride;
531 int stride = bpr; local
546 if(i <= hm) src_pix_ptr += stride;
561 dst_pix_ptr += stride;
571 src_pix_ptr += stride;
/haiku-fatelf/src/add-ons/kernel/drivers/audio/ac97/es1370/
H A Des1370.h131 char** buffer, size_t *stride);

Completed in 165 milliseconds

1234