[Libva] [PATCH] Keep backward compatibility with VA API 0.38.1

Sreerenj sreerenj.balachandran at intel.com
Mon Dec 7 08:51:22 PST 2015


IMHO, the name  "VA_RT_FORMAT_YUV420_10BPP" is confusing...
This chroma type is not just for 10Bitsper channel , but includes the 
whole set of "> 8bitis per channel 420 formats", right?


On 07.12.2015 07:20, Xiang, Haihao wrote:
> I mean Keep backward compatibility with VA API 0.38.0 :(
>
>
>> Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
>> ---
>>   src/va_backend_compat.h | 8 ++++++++
>>   1 file changed, 8 insertions(+)
>>
>> diff --git a/src/va_backend_compat.h b/src/va_backend_compat.h
>> index 8767153..7f0a607 100644
>> --- a/src/va_backend_compat.h
>> +++ b/src/va_backend_compat.h
>> @@ -50,4 +50,12 @@
>>   # define VAProfileH264StereoHigh        16
>>   #endif
>>   
>> +#if !VA_CHECK_VERSION(0,38,1)
>> +
>> +# define VA_RT_FORMAT_YUV420_10BPP      0x00000100
>> +# define VA_FOURCC_P010                 0x30313050
>> +# define VA_FOURCC_P016                 0x36313050
>> +
>> +#endif
>> +
>>   #endif /* VA_BACKEND_COMPAT_H */
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva

-- 
Thanks
Sree

---------------------------------------------------------------------
Intel Finland Oy
Registered Address: PL 281, 00181 Helsinki 
Business Identity Code: 0357606 - 4 
Domiciled in Helsinki 

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


More information about the Libva mailing list