[Mesa-dev] [PATCH 7/8] st/va: add NV12 -> NV12 post processing
Emil Velikov
emil.l.velikov at gmail.com
Fri Dec 18 04:40:53 PST 2015
On 18 December 2015 at 12:20, Christian König <deathsimple at vodafone.de> wrote:
> On 15.12.2015 11:16, Emil Velikov wrote:
>>
>> On 11 December 2015 at 12:33, Christian König <deathsimple at vodafone.de>
>> wrote:
>>
>>> +static void vlVaBoxAdjust(struct pipe_video_buffer *buf, unsigned idx,
>>> + struct pipe_box *box)
>>> +{
>>> + if (buf->interlaced) {
>>> + box->y /= 2;
>>> + box->height /= 2;
>>> + }
>>> + if (idx > buf->interlaced) {
>>> + /* we assume chroma format 420 here */
>>> + box->x /= 2;
>>> + box->y /= 2;
>>> + box->width /= 2;
>>> + box->height /= 2;
>>> + }
>>> +}
>>> +
>>
>> Can we get a vl (inline) utility function for this ? We already have
>> it in vdpau, xvmc, omx and even va.
>
>
> If you haven't seen it I've did so and send it to the list. And additional
> to that a bunch of other patches and improvements as well.
>
> Not sure if you guys are on vacation or working, just leave me a note what
> you thing when you have time.
>
Thank you ^3. Will check the lot just after lunch.
Whereas for holidays and alike... I'll be stuffing my face from Monday
onwards :-) Should be around, but if I haven't replied within a couple
of days do not wait for me.
-Emil
More information about the mesa-dev
mailing list