mbox series

[0/2] media: cedrus: hevc: add support for multiple slices

Message ID 20210606082314.454193-1-jernej.skrabec@gmail.com (mailing list archive)
Headers show
Series media: cedrus: hevc: add support for multiple slices | expand

Message

Jernej Škrabec June 6, 2021, 8:23 a.m. UTC
HEVC frames can be encoded in multiple slices. This short series add
supports for them. First patch adds slice_segment_address to HEVC slice
parameters and second patch implements HEVC multi slice support in
Cedrus.

Question 1: HEVC specs talk about slice_segment_address, but "slice_"
prefix seems redundant in our case, because this field is part of slice
params structure. Should I drop it or leave it?

Question 2: I made slice_segment_address __u32 but __u16 might be
already enough. Which one should it be?

Note: These patches depends on following pull request:
https://www.spinics.net/lists/linux-media/msg193744.html

Jernej Skrabec (2):
  media: hevc: Add segment address field
  media: cedrus: hevc: Add support for multiple slices

 .../media/v4l/ext-ctrls-codec.rst             |  3 +++
 .../staging/media/sunxi/cedrus/cedrus_h265.c  | 26 ++++++++++++-------
 .../staging/media/sunxi/cedrus/cedrus_video.c |  1 +
 include/media/hevc-ctrls.h                    |  3 ++-
 4 files changed, 22 insertions(+), 11 deletions(-)