diff options
| author | Jonas Karlman <[email protected]> | 2025-02-25 09:40:22 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2025-04-08 07:21:21 +0000 |
| commit | 22f572ce4e7c7fa18f46a445d4270e6d5b5429f2 (patch) | |
| tree | e557d929afd0cde5df74abfb8f8041a23b21a247 /drivers/media/v4l2-core/v4l2-ioctl.c | |
| parent | media: amphion: Add a frame flush mode for decoder (diff) | |
| download | kernel-22f572ce4e7c7fa18f46a445d4270e6d5b5429f2.tar.gz kernel-22f572ce4e7c7fa18f46a445d4270e6d5b5429f2.zip | |
media: v4l2-common: Add helpers to calculate bytesperline and sizeimage
Add helper functions to calculate plane bytesperline and sizeimage,
these new helpers consider bpp div, block width and height when
calculating plane bytesperline and sizeimage.
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Nicolas Dufresne <[email protected]>
Tested-by: Nicolas Dufresne <[email protected]>
Tested-by: Christopher Obbard <[email protected]>
Signed-off-by: Nicolas Dufresne <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-ioctl.c')
0 files changed, 0 insertions, 0 deletions
