Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Sean V Kelley <seanvk@posteo.de>
(cherry picked from commit 8455834161bab3374fe9756fd4a28d919027daf7)
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com>
(cherry picked from commit 62085e11d30db590038a32fffeb04aa8bc0afd67)
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Reviewed-by: Beauchesne, Gwenole <gwenole.beauchesne@intel.com>
(cherry picked from commit 54f686f4a371bf34007ce1ff70e7b74cd9986ad7)
|
|
Added support for YUV422, YUV444 and YUV420 and multi-scan images.
Changes
1. Added new functions for finding the start of image and end of image.
This will be called while parsing the JIFF. This helps to detect
the next image. The check for the bogus image format is removed as it
is no longer valid with these new functions.
2. Since different images in the file has different width and height.
The height and width will be stored in an array. These array variables
will be passed while creating surfaces and contexts.
3. Added code to determine the format of the image from the h_sampling factor
and v_sampling factor. This helps to support
different image formats.
(cherry picked from commit ef53340b19746589079d7ed5f9c67970fcc40401)
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 05a1e4bc98ce02d2d87f0cabea7d575183639dd7)
|
|
The slice_segment_address field indicates the starting CTU address
for the corresponding slice.
Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
|
|
The slice data buffer should always include the start code prefix.
The comment section of VASliceParameterBufferHEVC is saying that the
accompanying slice_data_buffer should include start code prefix.
But the comment above slice_data_byte_offset is contradicting.
Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Sometimes there exist multiple backend vaapi drivers on one system. In such case
user hopes to load the specific driver based on the request. Currently it can
be specified by using LIBVA_DRIVER_NAME environment. But it is not convenient.
So one API is added to allow the user to specify the loaded backend vaapi driver.
And it is called by using the following sequence:
>vaGetDisplay(
>vaSetDriverName(va_dpy, driver_name)
>vaInitialize
V1->V2: Use the reserved space to store override_driver_name based on Haihao's
suggestion.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 612fc3824158278336e6eb36d9af8028b839a569)
|
|
sending skip frame parameters to the encoder's rate control, when the user has externally skipped frames.
(cherry picked from commit 959f462709c9c4cba3243805031cf8d836a940ed)
Conflicts:
va/va.h
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Cherry-pick'ed from:
960352a: VP9 decode API
4b34eb6: Minor changes to the VP9 decode API to remove fields that are not needed
29fa9ec: Made VASliceParameterBufferVP9 consistent with other codecs
0302393: Rename symbols/fields in VP9 API (part of 0302393)
Signed-off-by: Wang, Ce <ce.wang@intel.com>
Signed-off-by: Jonathan Bian <jonathan.bian@intel.com>
Signed-off-by: Sun, Maggie <maggie.sun@intel.com>
|
|
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
(cherry picked from commit e3f83e524264e073a9815c245a9f194a1651cff6)
Conflicts:
va/va.h
|
|
This is a part of commit d65d7157da6dcfab44e639bee4905f793d869a1c
|
|
When the header is packed before sending to the driver through LibVA,
It is neccesary to normalize the quality factor and scale the Quantization
tables based on this quality factor.
|
|
Signed-off-by: Wang, Ce <ce.wang@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 9d128cf241830f7ead49fa5b104248b44c680873)
Conflicts:
va/Android.mk
va/Makefile.am
va/va.h
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 012838e07d99531c67e3798235b00437f5b67c02)
|
|
VAHuffmanTableBufferJPEGBaseline is also used for JPEG encoding,
so move it to va.h as we discussed before.
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 504478e0bbc27cc529c96b168cae1fb9dd12c4a5)
Conflicts:
va/va.h
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
|
|
Signed-off-by: Zhong Li <zhong.li@intel.com>
(cherry picked from commit d9626b77f865ce7bdbc8c78988a86d3e4f55d67b)
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 9ff92931c684f5b069433af18269d0f7cedbbe3c)
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 2dcbf9d11b9d4bedf3a6a58b4562aab76a4a120c)
Conflicts:
configure.ac
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit b1a1edcf1fcb4403aaac56e673c4040d65ca24b0)
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit aa562960b5b3554ba2af065d77bd84a3a54c1f08)
Conflicts:
test/vainfo/vainfo.c
(cherry picked from commit b97c3d7dff67fe0a025e79c03c398d394bf55635)
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 8249dc912bf316f9a556b2851e0f1b5a90a48c97)
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 2fb37255e7c9ccb76e65ea74466f5ffafe9c68c0)
Conflicts:
configure.ac
|
|
Signed-off-by: Sirisha Muppavarapu <sirisha.muppavarapu@intel.com>
(cherry picked from commit 33cf544c2c381adeb4b119af1015b8e653c8b724)
|
|
BZ:189819
Change-Id: I505a9e638191494f7f69c9ef9995fabc9d82dffb
Signed-off-by: Tang, XiaoxiX <xiaoxix.tang@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Signed-off-by: Wang, Ce <ce.wang@intel.com>
Signed-off-by: Jonathan Bian <jonathan.bian@intel.com>
Signed-off-by: Penne <penne.y.lee@intel.com>
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Calling vaTerminate() after the pixmaps, given to vaPutSurface(), have
been destroyed results in errors coming from the X server.
These errors happens because LibVA tries to destroy the DRI2Drawables
related to the XPixmaps passed to vaPutSurface(). VA_DRI2Error() has
some code to catch these errors and ignore them. The problem is that
LibX11 doesn't trigger the extension error handlers unless you're
waiting for a response using _XReply(), and there is no defined answer
to a DRI2DestroyDrawable message in the DRI2 protocol.
The attached patch tries to work around that issue by checking whether
the XPixmap is still alive before proceeding with DRI2DestroyDrawable.
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
|
|
Otherwise i may be 32 after enter the loop and access
dri_state->drawable_hash[32].
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
pressure
When it needs to encode one new frame, it will try to reuse the previously
used surface for the reconstructed frame. In such case it is helpfl to
reduce the memory pressure under multi-channel 4K encoding.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
|
|
(cherry picked from commit 9d01b4468f89391892e31efc5bbec774ea781242)
|
|
Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
(cherry picked from commit e468728f9e49603f91ccbce3a232aa3bd98d1fd4)
Conflicts:
va/va_trace.c
va/va_trace.h
|
|
attribute for JPEG encoding.
It is the combination of 1d93d44 and 970064cf
Signed-off-by: Jonathan Bian <jonathan.bian@intel.com>
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
[Resovle conflicts & remove irrelevant attributes]
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Conflicts:
configure.ac
|
|
Hide all but va_TracePutSurface symbols from the user.
The latter one is used internally by va_x11 and va_android.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
The following are not part of the API thus should be hidden.
- dri2Close
- VA_FGLRXGetClientDriverName
- VA_NVCTRLQueryDirectRenderingCapable
- VA_NVCTRLGetClientDriverName
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
There is a note below the symbol ATTRIBUTE_HIDDEN,
additionally the header providing it is not installed.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
MAINTCLEAN wraps around DISTCLEAN, so we can drop the files from the
former.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
Autotools already copies the files appropriately, and using
top_srcdir causes the files to be generated in the source
tree rather than the build one.
Spotted by 'make dist'
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
Prefix the libva.sym file or it will not be found when doing out of
tree builds.
Spotted by 'make distcheck'.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
|
|
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
|
|
Don't support DRM Render-Nodes in this version of libva
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit 8c48c3b44a56d8a5af5c5fa7cb8bee131f933569)
|
|
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
|