Re: [PATCH] venus: vdec: return parsed crop information from stream

2020-10-19 Thread Alexandre Courbot
On Mon, Oct 19, 2020 at 7:19 AM Fritz Koenig wrote: > > It looks like only h.264 streams are populating the event.input_crop > struct when receiving the HFI_INDEX_EXTRADATA_INPUT_CROP message in > event_seq_changed(). vp8/vp9 streams end up with the struct filled > with 0. Indeed. :( I guess we

Re: [PATCH] venus: vdec: return parsed crop information from stream

2020-10-18 Thread Fritz Koenig
It looks like only h.264 streams are populating the event.input_crop struct when receiving the HFI_INDEX_EXTRADATA_INPUT_CROP message in event_seq_changed(). vp8/vp9 streams end up with the struct filled with 0. On Fri, Oct 9, 2020 at 1:45 AM Alexandre Courbot wrote: > > Per the stateful codec s

[PATCH] venus: vdec: return parsed crop information from stream

2020-10-09 Thread Alexandre Courbot
Per the stateful codec specification, VIDIOC_G_SELECTION with a target of V4L2_SEL_TGT_COMPOSE is supposed to return the crop area of capture buffers containing the decoded frame. Until now the driver did not get that information from the firmware and just returned the dimensions of CAPTURE buffers