mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/3] media: uapi: h264: clarify expected scaling list order
@ 2019-10-28 23:59 Jonas Karlman
  2019-10-29  0:00 ` [PATCH 1/3] media: uapi: h264: clarify expected scaling_list_4x4/8x8 order Jonas Karlman
       [not found] ` <20191029000033.13540-1-jonas@kwiboo.se>
  0 siblings, 2 replies; 7+ messages in thread
From: Jonas Karlman @ 2019-10-28 23:59 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Ezequiel Garcia, Maxime Ripard, Paul Kocialkowski
  Cc: Jonas Karlman, Hans Verkuil, Jernej Skrabec, Boris Brezillon,
	Tomasz Figa, Alexandre Courbot, Nicolas Dufresne, Philipp Zabel,
	linux-media, linux-kernel

This is a suggested clarification on the expect order of lists and values
to use in the H264 scaling matrix ctrl, cedrus and hantro currently expect
values in two different orders.

The suggestion is to use the same value order that vaapi, vdpau and nvdec use,
i.e. have the scaling list values in "matrix order"/"raster order",
after the inverse scanning process has been applied.

This also contains a clarification on the order of the scaling lists.

Expected scaling list order will be,
for 4x4: Intra Y, Intra Cb, Intra Cr, Inter Y, Inter Cb, Inter Cr,
for 8x8: Intra Y, Inter Y, Intra Cb, Inter Cb, Intra Cr, Inter Cr.

This series is based on feedback and discussion of [1]

[1] https://patchwork.linuxtv.org/patch/58525/

Jonas Karlman (3):
  media: uapi: h264: clarify expected scaling_list_4x4/8x8 order
  media: cedrus: Use correct H264 8x8 scaling list
  media: hantro: Do not reorder H264 scaling list

 .../media/uapi/v4l/ext-ctrls-codec.rst        |  8 ++-
 drivers/staging/media/hantro/hantro_h264.c    | 51 +++++--------------
 .../staging/media/sunxi/cedrus/cedrus_h264.c  |  4 +-
 3 files changed, 20 insertions(+), 43 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-10-29 11:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-28 23:59 [PATCH 0/3] media: uapi: h264: clarify expected scaling list order Jonas Karlman
2019-10-29  0:00 ` [PATCH 1/3] media: uapi: h264: clarify expected scaling_list_4x4/8x8 order Jonas Karlman
2019-10-29 11:22   ` Philipp Zabel
     [not found] ` <20191029000033.13540-1-jonas@kwiboo.se>
2019-10-29  0:00   ` [PATCH 2/3] media: cedrus: Use correct H264 8x8 scaling list Jonas Karlman
2019-10-29 11:22     ` Philipp Zabel
2019-10-29  0:00   ` [PATCH v2 3/3] media: hantro: Do not reorder H264 " Jonas Karlman
2019-10-29 11:22     ` Philipp Zabel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®