Thread (27 messages) 27 messages, 7 authors, 2019-01-28

Re: [PATCH v2 1/2] media: uapi: Add H264 low-level decoder API compound controls.

From: Maxime Ripard <hidden>
Date: 2019-01-17 11:28:15
Also in: linux-media, lkml

Hi,

On Thu, Jan 10, 2019 at 09:33:01PM +0800, ayaka wrote:
I forget a important thing, for the rkvdec and rk hevc decoder, it would
requests cabac table, scaling list, picture parameter set and reference
picture storing in one or various of DMA buffers. I am not talking about the
data been parsed, the decoder would requests a raw data.

For the pps and rps, it is possible to reuse the slice header, just let the
decoder know the offset from the bitstream bufer, I would suggest to add
three properties(with sps) for them. But I think we need a method to mark a
OUTPUT side buffer for those aux data.
I'm not sure this is something we actually want. The whole design
decision was that we wouldn't have a bitstream parser in the kernel,
and doing as you suggest goes against that design.

And either if it is something that turns out to be useful, this is
really out of scope for this series.

Maxime

-- 
Maxime Ripard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help