diff options
author | Cho KyongHo <pullip.cho@samsung.com> | 2019-08-14 12:22:42 +0900 |
---|---|---|
committer | Cho KyongHo <pullip.cho@samsung.com> | 2020-02-20 21:34:34 -0800 |
commit | e926c5b48784a36a4be9483f5798563adc2a0103 (patch) | |
tree | e13c99293d0fa52f16bc4209a99fad9c5868f97c /libhwjpeg/ExynosJpegEncoderForCamera.cpp | |
parent | 6ef6bc8731a2319103d27912353eb814265152bc (diff) |
libhwjpeg: delegate qbuf to each port
If v4l2_buffer instances are the members of LibScalerForJpeg, it is
hard to understand where each field of the instances is initialized.
So, it had better allocate a v4l2_buffer instance in the stack and
initialze it everytime we need to call V4L2_QBUF and V4L2_DQBUF.
This change introduces extra overhead for initializing all fields of
the instance but makes LibScalerForJpeg simpler. The overhead is very
small compared to the overhead by other tasks performed by
LibScalerForJpeg.
Change-Id: Icb13c16f0f880ecd572d3461a2b71dcb321d1fb8
Signed-off-by: Cho KyongHo <pullip.cho@samsung.com>
Diffstat (limited to 'libhwjpeg/ExynosJpegEncoderForCamera.cpp')
0 files changed, 0 insertions, 0 deletions