summaryrefslogtreecommitdiff
path: root/libhwjpeg/hwjpeg-v4l2.cpp
AgeCommit message (Collapse)Author
2023-03-06libhwjpeg: Add advisory lockMichelle Yang
Libhwjpeg is not thread safe. This can generally be worked around via a mutex managed by the caller. However, if multiple processes use libhwjpeg, an exclusive lock managed by the library is necessary to ensure that all operations required to configure & encode an image is completed together. Bug: 269642082 Test: m libhwjpeg Change-Id: If805a79ac7c3290cd224c862f258c56fc3d8958f
2023-02-28libhwjpeg: fix formattingMichelle Yang
Ran formatter over files. Whitespace changes only. Bug: 265156558 Test: m libhwjpeg Change-Id: Ie12eea3fbba1a5dce31f0d823aa0968faf08a274
2023-01-25libhwjpeg: add support for setting custom horizontal padding per planeMichelle Yang
Input buffers may already have horizontal padding applied (see ImageFormat.YV12 for example). pa/2371678 and pa/2375202 adds functionality to set horizontal padding in pixels through VIDIOC_S_EXT_CTRLS. This CL updates V4L2 library. Bug: 265156559 Test: checked output image when applying ag/20576841 Change-Id: I432dcdfd4103222c7df10c7a974ab2ebd0afbbfd
2019-09-18Add initial source codeHyunKyung Kim
Change-Id: I285a55c44c9fd5d3a8abaa781ef9dc8d9d39f53a Signed-off-by: HyunKyung Kim <hk310.kim@samsung.com>