diff options
| author | Benjamin Gaignard <[email protected]> | 2023-11-09 17:35:05 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2023-11-23 12:44:10 +0100 |
| commit | 3eeaee737dcee3c32e256870dbc2687a2a6fe970 (patch) | |
| tree | 75d7bd51f99d00628f1598f47ec00a82c22a8d32 /tools/perf/scripts/python/libxed.py | |
| parent | 545bf944f978b7468d3a6bd668d9ff6953bc542e (diff) | |
media: verisilicon: g2: Use common helpers to compute chroma and mv offsets
HEVC and VP9 are running on the same hardware and share the same
chroma and motion vectors offset constraint.
Create common helpers functions for these computation.
Source and destination buffer height may not be the same because
alignment constraint are different so use destination height to
compute chroma offset because we target this buffer as hardware
output.
To be able to use the helpers in both VP9 HEVC code remove dec_params
and use context->bit_depth instead.
Signed-off-by: Benjamin Gaignard <[email protected]>
Reviewed-by: Andrzej Pietrasiewicz <[email protected]>
CC: Ezequiel Garcia <[email protected]>
CC: Philipp Zabel <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions