[Beignet] version 4 of libva buffer sharing patchset

Guo, Yejun yejun.guo at intel.com
Sun Jan 25 21:57:59 PST 2015


Some comments:


-          The examples build is bound closely with libva, no libva no build examples. Any expectation that other examples without libva dependency will be added?

-          In file libva_buffer_sharing line2, shall we add year 2015?

-          The input/output file name is suffixed with '.nv12', but the  real format is I420 since the u plane and v plane are separated.  My opinion is to always use nv12 format.

-          In function upload_nv12_to_surface and store_surface_to_nv12

For the code "if (surface_image.format.fourcc == VA_FOURCC_NV12)", how about the test if the condition is not satisfied, maybe we need assert here.


From: Weng, Chuanbo
Sent: Friday, January 23, 2015 6:23 PM
To: beignet at lists.freedesktop.org; Guo, Yejun
Subject: version 4 of libva buffer sharing patchset

Hi all,
Please fetch the 4th version of patchset from github using the following command:
git clone https://github.com/Chuanbo-Weng/libva-buffer-sharing-patches.git
Or visit:
    https://github.com/Chuanbo-Weng/libva-buffer-sharing-patches

*****For reviewers****:
Because we add libva as submodule, so please run the following command in root
directory of beignet source code to fetch libva:
git submodule add git://anongit.freedesktop.org/libva examples/thirdparty/libva
git commit -a -m "Add libva as submodule for review"

Then apply patchset, build and run example as said in docs/howto/libva-buffer-sharing-howto.mdwn.


Thanks,
Chuanbo Weng


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/beignet/attachments/20150126/93a7738c/attachment.html>


More information about the Beignet mailing list