[Libva] rescale frame. HD4600 Haswell.

Nikita Orlov nikitos1550 at yandex.ru
Sun Nov 30 05:00:46 PST 2014


Hello!

Still no luck with resizing/scaling.
http://01org.github.io/libva_master_doxygen/va__vpp_8h.html here can`t see anything related to subject.

Friends, need more help...

26.11.2014, 21:14, "Nikita Orlov" <nikitos1550 at yandex.ru>:
> thanks, we will try, if I will have more questions, I will ask you.
>
> 26.11.2014, 21:02, "Peter Frühberger" <peter.fruehberger at gmail.com>:
>>  Hi,
>>
>>  here is a more advanced example of doing deinterlacing with VPP, you
>>  can change the filter operation of course to do scaling:
>>  https://github.com/xbmc/xbmc/blob/master/xbmc/cores/dvdplayer/DVDCodecs/Video/VAAPI.cpp#L2702
>>
>>  Usage of VPP is always the same, no matter of the actual operation.
>>
>>  Best Regards
>>  Peter
>>
>>  2014-11-26 18:53 GMT+01:00 Nikita Orlov <nikitos1550 at yandex.ru>:
>>>   Hi!
>>>
>>>   Could you point me to some exmaples of scaling before encoding?
>>>   Can`t find any docs about it around web :-(
>>>
>>>   Thanks in advance!
>>>
>>>   26.11.2014, 16:52, "Steven Toth" <stoth at kernellabs.com>:
>>>>   \> But, what do you mean about pre and post processing?
>>>>>    Pre and post what operation? Pre video encoding and past video encoding?
>>>>>
>>>>>    If we are talking about encoding, I can`t imagine any post processing, because result
>>>>>    of encoding is bitstream.
>>>>>
>>>>>    Could you explain it for me a bit more. Please.
>>>>   The hardware has a Video Processing Pipeline, that can apply various
>>>>   effects and transforms prior to encoding. Once of those mechanisms (as
>>>>   Nikita pointed out) is a video scaler.
>>>>
>>>>   So, yes, you can scale the video prior to encoding. I've used it for
>>>>   scaling down, although I don't think I've ever tried to scale up.
>>>>
>>>>   --
>>>>   Steven Toth - Kernel Labs
>>>>   http://www.kernellabs.com
>>>   --
>>>   Nikita Orlov
>>>   Skype: nik_stet
>>>   QQ: 2717846083
>>>   _______________________________________________
>>>   Libva mailing list
>>>   Libva at lists.freedesktop.org
>>>   http://lists.freedesktop.org/mailman/listinfo/libva
>>  --
>>                     Key-ID:     0x1A995A9B
>>                     keyserver: pgp.mit.edu
>>  ==============================================================
>>  Fingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B
>
> --
> Nikita Orlov
> Skype: nik_stet
> QQ: 2717846083
> _______________________________________________
> Libva mailing list
> Libva at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libva

-- 
Nikita Orlov
Skype: nik_stet
QQ: 2717846083


More information about the Libva mailing list