| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
|
|
| |
it more generic
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
|
|
| |
vaDbgCreateSurfaceFromMRSTVL42Buffer->vaCreateSurfaceFromMRSTVL42Buffer
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
dlopen
Here is the background of this fix
Investigation indicates MRST Moblin Alpha1 0529 and 0520 uses the same libva source package
(which is from graphics Alpha1.4 pakcage
\\mid-depot.amr.corp.intel.com\Exchange\Moblin2\PackageSubmit\1.0.7_05142009-4_Alpha1.4),
and the rootcause is that the linkage of libva dependence libraries is
chaned in 0529 build. I am not sure why 0529 build has this change, and this
change indeed causes libva application segment fault issue.
See the detailed investigation and explanation in the attached
libva-0520-vs-0529.PNG picture.
Reproduce Steps(steps,current result, reproduce possibility)
===========================================================
(1) boot 0529 build
(2) Install libva testsuits into 0529 build
(3) run "mpeg4vld -x -i /var/clips/demo.m4v"
Expected result:
===========================================================
libVA application should exit cleanly
Possible root cause:
================================
There was a global change which helps reduce unnecessary linking
utilizing a
feature in binutils. We could opt liva out of this easily, however I
would
recommend fixing the package to do the right linking instead of relying
on the
tools to do so, Arjan, any suggestions?
Anas
=============================
summary of the picture:
the "new" libva does no longer link to
* libXv
* libdrm
* librt
* libpthread
HOWEVER; libva doesn't USE any of these! I don't see how not linking to
these could lead to a crash, since they truely are not used.
================================
Basically it is a known issue. If we remove these library link from
libVA, we will always get a segment fault when XCloseDisplay is called in
application.
Libva doesn't use these liXv/libdrm libraries, but libVA will dlopen HW
specific driver, and the driver links with these libXv/libdrm libraries.
We found the issue can be worked around by adding the link into libVA.
Using binutil to remove unnecessary link makes sense for most of libraries,
but for libva, it disables our workaround.
Austin
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|\ |
|
| | |
|
|/
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
|
|
| |
DRI2DriverDRI definition
Signed-off-by: root <root@Austin-Develop.localdomain>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|\
| |
| |
| | |
ssh://git@moblin-mdi.jf.intel.com/umg-moorestown-libva into DRI2
|
| |
| |
| |
| | |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|/ |
|
|
|
|
| |
This reverts commit adac1a519de44803b0cdfff29829508cdd419a01.
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
#include <X11/va_x11.h>
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
|
|
|
|
|
| |
1. Updated copyright notices, change history, acknowledge, and overview sections
2. Added two new flags to vaPutSurface to convey whether the source is BT601 or BT709
3. Incorporated the ISO C conformance fixes from Gwenole.
4. Updates about encode API/data structures
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|/
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|\ |
|
| |
| |
| |
| | |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|/
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
| |
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[mailto:gbeauchesne@splitted-desktop.com]
Bellow is his explanation:
> Finally, looking further at <va_x11.h>, I think it should be enough to have
> vaInitialize() in display-dependent headers/libs. The va_x11_getDriverName()
> suggestion was to factor out the thing at the implementation (source
> code/files) level.
>
> Or we could keep vaInitialize() in common lib and rather have vaGetDisplay()
> in the display-specific part? And, while being at it, also rename the
> function to vaCreateDisplay(), to be meaningful about the API change?
>
> Besides, for a different windowing system, we probably would need more than
> just the Display (as we have in X11 land) anyway. e.g. what about OpenGL,
> OpenGL E|S? I don't know, it's just an idea.
>
> I read that Canmore/Sodaville are using the same engines as the Poulsbo
> (SGX535 and VXD370). However, the former platforms only support OpenGL E|S.
> So, how does video acceleration work here? I know it works, I saw it but
> since we still haven't received the machines, I just don't know about the
> actual API. You'd probably want libVA there too.
>
> Splitting libVA between a Core API and a Display API would make it possible
> to reduce code duplication from a player point of view. i.e. I don't think
> it's necessary to have client applications implement
> vaBeginPicture()..vaEndPicture() sequences themselves. I think it should be
> the role of the codec library (ffmpeg, in my case), and it should be able to
> do so without an explicit dependency on X11.
>
> On the other hand, the Core API won't be useful/functional alone. So, that
> could be confusing too.
>
> In practise, I would like to have it working as follows. It's my ideal
> vision, not necessarily the right/correct one. ;-)
>
> Roles of a codec implementation library:
> - Create buffers
> - Render the pictures, in the vaBeginPicture()..vaEndPicture(),
> vaRenderPicture() sense
>
> Roles of a player application:
> - Create display, surfaces, and decode pipeline for the codec library
> - Render the picture, visually, i.e. in the vaPutSurface() sense
>
> Example use:
> VApplication|initialize display
> CodecLibrary|characterise bitstream (codec and other useful info)
> VApplication|create decode pipeline
> VApplication|create surfaces
> CodecLibrary|create buffers (1)
> CodecLibrary|render picture (2)
> VApplication|display picture (3)
> repeat (1) -> (3) while the end of stream is not reached
> VApplication|destroy everything
>
> Have CodecLibrary linked against libva-core-VERSION.so.MAJOR, without any
> dependency on windowing system library.
>
> Have VApplication linked against libva-x11-VERSION.so.MAJOR, itself linked
> against libva-core-VERSION.so.MAJOR and other windowing system libraries.
>
> Regards,
> Gwenole.
>
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
|
|
|
|
| |
/usr/X11R6/lib/modules/dri
|
| |
|