[Libva] BGRA bitstream?

Ratin ratin3 at gmail.com
Thu Aug 23 15:57:44 PDT 2012


On Wed, Aug 15, 2012 at 11:15 PM, Zhao, Halley <halley.zhao at intel.com> wrote:
> Hi Ratin:
> I sent a patch to expose driver capability on RGBX/BGRX vaImage support.
> http://lists.freedesktop.org/archives/libva/2012-August/001164.html
>
> you can use the test case here to verify it by "./putsurface -1 NV12 -2 RGBX"
> or follows the examples in va_vpp.h to use the functionality by vpp process.
> http://lists.freedesktop.org/archives/libva/2012-August/001165.html


Hi Zhao, Sorry it took me so long to get back to this. I don't see the
patches to putsurface_common.c to accomodate the options -1 and -2 ,
am I missing something?

    while ((c =getopt(argc,argv,"w:h:g:r:d:f:tcep?n:v") ) != EOF) {
        switch (c) {
            case '?':
                printf("putsurface <options>\n");
                printf("           -g
<widthxheight+x_location+y_location> window geometry\n");
                printf("           -w/-h resolution of surface\n");
                printf("           -r <framerate>\n");
                printf("           -d the dimension of black/write
square box, default is 32\n");
                printf("           -t multi-threads\n");
                printf("           -c test clipbox\n");
                printf("           -f <1/2> top field, or bottom field\n");
                printf("           -v verbose output\n");
                exit(0);



> -----Original Message-----
> From: libva-bounces+halley.zhao=intel.com at lists.freedesktop.org [mailto:libva-bounces+halley.zhao=intel.com at lists.freedesktop.org] On Behalf Of Xiang, Haihao
> Sent: Thursday, August 16, 2012 9:53 AM
> To: Ratin
> Cc: libva at lists.freedesktop.org
> Subject: Re: [Libva] BGRA bitstream?
>
> On Wed, 2012-08-15 at 11:31 -0700, Ratin wrote:
>> Is it possible to dump the decoded bitstream in BGRA from the VA
>> Surfaces when using the Intel Sandybridge GPU?
>
> We will add support for vaGetImage()/vaPutImage() with RGBA/BGRA
>
> Thanks
> Haihao
>
>>
>> Ratin
>> _______________________________________________
>> Libva mailing list
>> Libva at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/libva
>
>
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva


More information about the Libva mailing list