linux/drivers/media/platform/qcom/venus
Vikash Garodia ce32c0a530 media: venus: vdec: fix decoded data size
Existing code returns the max of the decoded size and buffer size.
It turns out that buffer size is always greater due to hardware
alignment requirement. As a result, payload size given to client
is incorrect. This change ensures that the bytesused is assigned
to actual payload size, when available.

Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
Acked-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-10-09 08:07:07 -04:00
..
core.c media: venus: core: add sdm845 DT compatible and resource data 2018-07-25 09:28:53 -04:00
core.h media: venus: add HEVC codec support 2018-07-25 09:29:25 -04:00
firmware.c soc: qcom: mdt-loader: Return relocation base 2018-02-12 11:05:38 -08:00
firmware.h media: venus: don't abuse dma_alloc for non-DMA allocations 2017-07-20 15:55:14 -04:00
helpers.c media: venus: helpers: use true and false for boolean values 2018-09-24 09:31:12 -04:00
helpers.h media: venus: implementing multi-stream support 2018-07-25 09:16:11 -04:00
hfi_cmds.c media: venus: hfi_cmds: add set_properties for 4xx version 2018-07-25 08:43:32 -04:00
hfi_cmds.h [media] media: venus: hfi: add Host Firmware Interface (HFI) 2017-06-20 08:53:40 -03:00
hfi_helper.h media: venus: hfi_parser: add common capability parser 2018-07-25 08:49:58 -04:00
hfi_msgs.c media: venus: hfi_parser: add common capability parser 2018-07-25 08:49:58 -04:00
hfi_msgs.h [media] media: venus: hfi: add Host Firmware Interface (HFI) 2017-06-20 08:53:40 -03:00
hfi_parser.c media: venus: core: delete not used buffer mode flags 2018-07-25 08:52:04 -04:00
hfi_parser.h media: venus: hfi_parser: add common capability parser 2018-07-25 08:49:58 -04:00
hfi_venus_io.h media: venus: hfi_venus: fix suspend function for venus 3xx versions 2018-07-25 08:45:27 -04:00
hfi_venus.c media: venus: hfi_venus: add suspend functionality for Venus 4xx 2018-07-25 08:46:09 -04:00
hfi_venus.h [media] media: venus: hfi: add Venus HFI files 2017-06-20 08:53:40 -03:00
hfi.c media: venus: add HEVC codec support 2018-07-25 09:29:25 -04:00
hfi.h media: venus: hfi: update sequence event to handle more properties 2018-07-25 08:43:03 -04:00
Makefile media: venus: hfi_parser: add common capability parser 2018-07-25 08:49:58 -04:00
vdec_ctrls.c media: v4l2-ctrl: Change control for VP8 profile to menu control 2018-07-04 09:28:38 -04:00
vdec.c media: venus: vdec: fix decoded data size 2018-10-09 08:07:07 -04:00
vdec.h
venc_ctrls.c media: v4l2-ctrl: Change control for VP8 profile to menu control 2018-07-04 09:28:38 -04:00
venc.c media: use strscpy() instead of strlcpy() 2018-09-11 13:32:17 -04:00
venc.h [media] media: venus: venc: add video encoder files 2017-06-20 08:53:39 -03:00