Displaying 6 results from an estimated 6 matches for "src_stride".
2013 Jul 08
1
patch to fix error in src/opus_multistream_encoder.c when DISABLE_FLOAT_API is defined
...const CELTMode *celt_mode;
opus_int32 bitrates[256];
opus_val16 bandLogE[42];
@@ -629,27 +631,6 @@ static int opus_multistream_encode_native
}
-#if !defined(DISABLE_FLOAT_API)
-static void opus_copy_channel_in_float(
- opus_val16 *dst,
- int dst_stride,
- const void *src,
- int src_stride,
- int src_channel,
- int frame_size
-)
-{
- const float *float_src;
- opus_int32 i;
- float_src = (const float *)src;
- for (i=0;i<frame_size;i++)
-#if defined(FIXED_POINT)
- dst[i*dst_stride] = FLOAT2INT16(float_src[i*src_stride+src_channel]);
-#else
- dst[i*dst_stride] = f...
2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...V10_CURSOR_PIXELS (NV10_CURSOR_SIZE * NV10_CURSOR_SIZE)
-
#define SOURCE_MASK_INTERLEAVE 32
#define TRANSPARENT_PIXEL 0
-static void
-nv_cursor_convert_cursor(int px, uint32_t *src, uint16_t *dst, int bpp, uint32_t fg, uint32_t bg)
+void
+nv_cursor_convert_cursor(uint32_t *src, void *dst, int src_stride, int dst_stride,
+ int bpp, uint32_t fg, uint32_t bg)
{
+ int width = min(src_stride, dst_stride);
uint32_t b, m, pxval;
- int i, j;
+ int i, j, k;
+
+ for (i = 0; i < width; i++) {
+ for (j = 0; j < width / SOURCE_MASK_INTERLEAVE; j++) {
+ int src_off = i*src_stride/SOURCE_MASK_INTE...
2010 Jan 06
3
Removal of Non-KMS support
I did a very quick pass at removing all the non-KMS support from the
DDX. It's tested on G80 but nowhere else currently, I thought some
discussion would be a good idea rather than just ripping it out :)
The non-KMS paths are messy, and lets face it, rotting badly. IMO the
KMS code is stable enough now that we can continue without the UMS
crutch, and indeed, the KMS code supports a lot more
2005 Mar 23
3
[PATCH] promised MMX patches rc1
...gi<fragi_end;fragi++){
+ oc_fragment *frag;
+ unsigned char *dst;
+ unsigned char *src;
+ frag=_state->frags+*fragi;
+ dst=frag->buffer[dst_framei];
+ src=frag->buffer[src_framei];
+ __asm__ __volatile__ (
+ " lea (%3, %3, 2), %%esi \n\t" /* esi=src_stride*3 */
+ " movq (%1), %%mm0 \n\t" /* src */
+ " lea (%2, %2, 2), %%edi \n\t" /* edi=dst_stride*3 */
+ " movq (%1, %3), %%mm1 \n\t" /* src+1x stride */
+ " movq (%1, %3, 2), %%mm2 \n\t" /* src+2x stride *...
2012 Sep 09
4
[Bug 54681] New: Connecting TV to second DVI port of 9600GT card causes GPU lockup and Xorg crash
...=<optimized out>) at osinit.c:146
#7 OsSigHandler (signo=11, sip=<optimized out>, unused=<optimized out>) at
osinit.c:107
#8 <signal handler called>
#9 0x00007f1be12f222b in ?? () from
/usr/lib64/xorg/modules/drivers/nouveau_drv.so
#10 0x00007f1be0269e66 in exaDoPutImage (src_stride=<optimized out>,
bits=0x61fc168 "$\025\f", format=2, h=34, w=1920, y=1920, x=34, pGC=0x3acab10,
pDrawable=0x3b463b0,
depth=<optimized out>) at exa_accel.c:212
#11 exaPutImage (pDrawable=0x3b463b0, pGC=0x3acab10, depth=24, x=0, y=34,
w=1920, h=34, leftPad=0, format=2, bits...
2005 Mar 23
0
[PATCH]
...gi<fragi_end;fragi++){
+ oc_fragment *frag;
+ unsigned char *dst;
+ unsigned char *src;
+ frag=_state->frags+*fragi;
+ dst=frag->buffer[dst_framei];
+ src=frag->buffer[src_framei];
+ __asm__ __volatile__ (
+ " lea (%3, %3, 2), %%esi \n\t" /* esi=src_stride*3 */
+ " movq (%1), %%mm0 \n\t" /* src */
+ " lea (%2, %2, 2), %%edi \n\t" /* edi=dst_stride*3 */
+ " movq (%1, %3), %%mm1 \n\t" /* src+1x stride */
+ " movq (%1, %3, 2), %%mm2 \n\t" /* src+2x stride *...