Displaying 20 results from an estimated 28 matches for "nv12".
Did you mean:
nv10
2013 Jul 29
0
[PATCH 2/2] xv: speed up YV12 -> NV12 conversion using SSE2 if available
...au_xv.c
index 567e30c..5569b7c 100644
--- a/src/nouveau_xv.c
+++ b/src/nouveau_xv.c
@@ -25,6 +25,8 @@
#include "config.h"
#endif
+#include <immintrin.h>
+
#include "xf86xv.h"
#include <X11/extensions/Xv.h>
#include "exa.h"
@@ -532,30 +534,47 @@ NVCopyNV12ColorPlanes(unsigned char *src1, unsigned char *src2,
w >>= 1;
h >>= 1;
+#ifdef __SSE2__
+ l = w >> 3;
+ e = w & 7;
+#else
l = w >> 1;
e = w & 1;
+#endif
for (j = 0; j < h; j++) {
unsigned char *us = src1;
unsigned char *vs = src2;
unsigned i...
2013 Jul 31
0
[PATCH 2/2] xv: speed up YV12 -> NV12 conversion using SSE2 if available
On 2013-07-31 19:18 +0200, Ilia Mirkin wrote:
> On Wed, Jul 31, 2013 at 1:16 PM, Sven Joachim <svenjoac at gmx.de> wrote:
>>
>> Unfortunately, immintrin.h is not available on most architectures,
>> leading to build failures as can be seen on
>> https://buildd.debian.org/status/package.php?p=xserver-xorg-video-nouveau.
>
> Sorry :( I thought that immintrin.h
2014 Jun 05
1
[Bug 79701] New: [NVA0] GPU lockup when playing video with VDPAU
...g12 nv84_vp-vc1-1 nv84_vp-vc1-2 nv84_vp-vc1-3 nv84_xuc00f
nv84_xuc103
$ vdpauinfo
display: :0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0
Video surface:
name width height types
-------------------------------------------
420 8192 8192 NV12 YV12
422 8192 8192 UYVY YUYV
444 8192 8192 Y8U8V8A8 V8U8Y8A8
Decoder capabilities:
name level macbs width height
-------------------------------------------
MPEG1 0 16384 2048 2048
MPEG2_SIMPLE 3 16384 2048 2048
MPEG2_MAIN 3 163...
2013 Jul 29
3
[PATCH 1/2] xv: fix last pixel for big-endian machines in YV12 -> NV12 conversion
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
src/nouveau_xv.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/nouveau_xv.c b/src/nouveau_xv.c
index 8eafcf0..567e30c 100644
--- a/src/nouveau_xv.c
+++ b/src/nouveau_xv.c
@@ -552,8 +552,11 @@ NVCopyNV12ColorPlanes(unsigned char *src1, unsigned char *src2,
if (e) {
unsigned short *vud = (unsigned short *) vuvud;
-
+#if X_BYTE_ORDER == X_BIG_ENDIAN
+ *vud = us[0] | (vs[0]<<8);
+#else
*vud = vs[0] | (us[0]<<8);
+#endif
}
dst += dstPitch;
--
1.8.1.5
2019 May 15
6
[Bug 110679] New: va-api scaling with nv50-class cards incomplete?
...: VAEntrypointVideoProc
First, I think EncSlice lines are invalid (or mesa can magically (shaders?)
_encode_ mpeg2 videos?)
Second .. ffmpeg command failed for me :/
ffmpeg -vaapi_device /dev/dri/renderD128 -benchmark -c:v libdav1d -i
/mnt/sdb1/Stream2_AV1_720p_3.2mbps.webm -vf
format=nv12,hwupload,scale_vaapi=w=240:h=120 -map 0:v:0 -v trace -f null -
ffmpeg version N-93862-gf49cec2ba8 Copyright (c) 2000-2019 the FFmpeg
developers
built with gcc 5.5.0 (GCC)
[skip]
Applying option vaapi_device (set VAAPI hardware device (DRM path or X11
display name)) with argument /dev/dri/render...
2014 Nov 07
15
[Bug 86006] New: [NV84] Nvidia GeForce 8600 GT VDPAU h264 hardware acceleration
https://bugs.freedesktop.org/show_bug.cgi?id=86006
Bug ID: 86006
Summary: [NV84] Nvidia GeForce 8600 GT VDPAU h264 hardware
acceleration
Product: xorg
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
2013 Jul 30
0
[ANNOUNCE] xf86-video-nouveau 1.0.9
...ent EXA and XVideo acceleration
Dave Airlie (4):
drmmode: add support for multi-screen reverse optimus
fix make distcheck.
nouveau: fix crash when xinerama is enabled.
bump to 1.0.9 for release
Ilia Mirkin (3):
xv: fix last pixel for big-endian machines in YV12 -> NV12 conversion
xv: speed up YV12 -> NV12 conversion using SSE2 if available
nouveau: use uppercase for chipset name
Maarten Lankhorst (1):
fixup the dri2 check
Sven Joachim (1):
Link against libdrm
git tag: xf86-video-nouveau-1.0.9
http://xorg.freedesktop.org/archive/indi...
2013 Jul 30
0
[ANNOUNCE] xf86-video-nouveau 1.0.9
...ent EXA and XVideo acceleration
Dave Airlie (4):
drmmode: add support for multi-screen reverse optimus
fix make distcheck.
nouveau: fix crash when xinerama is enabled.
bump to 1.0.9 for release
Ilia Mirkin (3):
xv: fix last pixel for big-endian machines in YV12 -> NV12 conversion
xv: speed up YV12 -> NV12 conversion using SSE2 if available
nouveau: use uppercase for chipset name
Maarten Lankhorst (1):
fixup the dri2 check
Sven Joachim (1):
Link against libdrm
git tag: xf86-video-nouveau-1.0.9
http://xorg.freedesktop.org/archive/indi...
2017 Aug 01
1
[PATCH] Add drm ioctl DRM_IOCTL_MODE_GETFB2 & associated helpers.
...rtant part of this is
our screen capture tool, which works by querying drm for crtcs, planes, and
fbs. Unfortunately, there is only limited information available via
drmModeGetFB(), which often wrong information when drmModeAddFB2() was used
to create the fbs. For example, if the pixel format is NV12 or YUV420,
the fb returned knows nothing about the additional buffer planes required
by these formats. Ideally, we would like a function (e.g. drmModeGetFB2)
to return information symmetric with drmModeAddFB2 including the pixel
format id, buffer plane information etc.
</snip>
ChromeOS has...
2017 Aug 01
0
[PATCH] Add drm ioctl DRM_IOCTL_MODE_GETFB2 & associated helpers.
...s
> our screen capture tool, which works by querying drm for crtcs, planes, and
> fbs. Unfortunately, there is only limited information available via
> drmModeGetFB(), which often wrong information when drmModeAddFB2() was used
> to create the fbs. For example, if the pixel format is NV12 or YUV420,
> the fb returned knows nothing about the additional buffer planes required
> by these formats. Ideally, we would like a function (e.g. drmModeGetFB2)
> to return information symmetric with drmModeAddFB2 including the pixel
> format id, buffer plane information etc.
> &l...
2010 May 31
1
[PATCH] nv50/exa: use dual-source blending for component-alpha composite
...C 0x0100 /* (src IN mask) */
#define PFP_CCA 0x0200 /* (src IN mask) component-alpha */
-#define PFP_CCASA 0x0300 /* (src IN mask) component-alpha src-alpha */
#define PFP_S_A8 0x0400 /* (src) a8 rt */
#define PFP_C_A8 0x0500 /* (src IN mask) a8 rt - same for CA and CA_SA */
#define PFP_NV12 0x0600 /* NV12 YUV->RGB */
diff --git a/src/nv50_exa.c b/src/nv50_exa.c
index e86f903..8bacdf0 100644
--- a/src/nv50_exa.c
+++ b/src/nv50_exa.c
@@ -751,7 +751,7 @@ NV50EXABlend(PixmapPtr ppix, PicturePtr ppict, int op, int component_alpha)
NV50EXA_LOCALS(ppix);
struct nv50_blend_op *b = &am...
2023 Oct 25
0
[ANNOUNCE] xwayland 23.2.2
...-portal" to connect to the portal.
Compositors (who typically spawn Xwayland rootless) must now pass this
option to get the same behaviour as 23.2.x.
Finally, Xwayland now uses libbsd-overlay instead of libbsd.
Jeffy Chen (1):
glamor: xv: Fix invalid accessing of plane attributes for NV12
Jos? Exp?sito (1):
xwayland/glamor/gbm: Set GBM_BO_USE_LINEAR if only LINEAR modifier is supported
Konstantin (1):
glamor: fixes GL_INVALID_ENUM errors on ES if there is no quads
Michel D?nzer (1):
xwayland/present: Handle NULL window_priv in xwl_present_cleanup
Olivier Fourda...
2024 Aug 07
0
[ANNOUNCE] xwayland 24.1.2
...board `enter` event if `leave` wasn't received
Joaquim Monteiro (1):
os: Fix assignment with incompatible pointer type
Konstantin (2):
glamor: check BPP by render_format.
glamor: xv: fix UYVY alignment
Nicolas Dufresne (1):
glamor: xv: Rewrite UYVY shader to match NV12/I420 CSC
Olivier Fourdan (10):
xwayland: Make sure output is suitable for fullscreen
xwayland/ei: Handle EI_EVENT_KEYBOARD_MODIFIERS
xwayland/ei: Log the type name of unhandled events
glamor: Fix possible double-free
xwayland/ei: Move code to helper function...
2014 Aug 06
16
[Bug 82255] New: [VP2] Chroma planes are vertically stretched during VDPAU playback
https://bugs.freedesktop.org/show_bug.cgi?id=82255
Priority: medium
Bug ID: 82255
Assignee: nouveau at lists.freedesktop.org
Summary: [VP2] Chroma planes are vertically stretched during
VDPAU playback
Severity: normal
Classification: Unclassified
OS: All
Reporter: emil.l.velikov at gmail.com
2014 Aug 20
26
[Bug 82835] New: GeForce 8800 GS VDPAU h264 decoding hang
...too)
Same video plays if VDPAU used only for displaying.
vdpauinfo:
vdpauinfo
display: :0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0
Video surface:
name width height types
-------------------------------------------
420 8192 8192 NV12 YV12
422 8192 8192 UYVY YUYV
444 8192 8192 Y8U8V8A8 V8U8Y8A8
Decoder capabilities:
name level macbs width height
-------------------------------------------
MPEG1 0 16384 2048 2048
MPEG2_SIMPLE 3 16384 2048 2048
MPEG2_MAIN 3 16384...
2009 May 22
22
[Bug 21869] New: Chroma mismatch using XV
http://bugs.freedesktop.org/show_bug.cgi?id=21869
Summary: Chroma mismatch using XV
Product: xorg
Version: 7.4
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Driver/nouveau
AssignedTo: nouveau at lists.freedesktop.org
ReportedBy:
2013 Aug 10
3
[PATCH 1/4] nouveau: fix number of surfaces in video buffer, use defines
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
The pipe_surface miscount caused issues for my (failed) attempt at getting
vdpau to work with pmpeg.
src/gallium/drivers/nouveau/nouveau_video.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/gallium/drivers/nouveau/nouveau_video.h b/src/gallium/drivers/nouveau/nouveau_video.h
index 1d6ced0..be53758
2013 Jul 29
2
[PATCH 1/2] nv30: hook up PMPEG support via nouveau_video, enables XvMC to work
...creen;
+ dec->is8274 = is8274;
ret = nouveau_bo_new(dec->screen->device, NOUVEAU_BO_GART | NOUVEAU_BO_MAP,
0, 1024 * 1024, NULL, &dec->cmd_bo);
@@ -793,7 +825,8 @@ nouveau_video_buffer_create(struct pipe_context *pipe,
* and it only supports the NV12 format
*/
if (templat->buffer_format != PIPE_FORMAT_NV12 || getenv("XVMC_VL") ||
- (screen->device->chipset >= 0x98 && screen->device->chipset != 0xa0))
+ (screen->device->chipset >= 0x98 && screen->device->chipset != 0...
2019 Jul 25
20
[Bug 111213] New: VA-API nouveau SIGSEGV and asserts
https://bugs.freedesktop.org/show_bug.cgi?id=111213
Bug ID: 111213
Summary: VA-API nouveau SIGSEGV and asserts
Product: Mesa
Version: 19.0
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/DRI/nouveau
Assignee: nouveau at
2017 Jul 31
2
[PATCH] Add drm ioctl DRM_IOCTL_MODE_GETFB2 & associated helpers.
New getfb2 functionality uses drm_mode_fb_cmd2 struct to be symmetric
with addfb2. Also modifies *_fb_create_handle() calls to accept a
format_plane_index so that handles for each plane can be generated.
Previously, many *_fb_create_handle() calls simply defaulted to plane 0 only.
Signed-off-by: Joe Kniss <djmk at google.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 5 +-