| 1034ead1 | 06-May-2024 |
Ming Qian <[email protected]> |
media: amphion: Report the average QP of current encoded frame
Report the average QP value of the current encoded frame via the V4L2_CID_MPEG_VIDEO_AVERAGE_QP control, the value applies to the last
media: amphion: Report the average QP of current encoded frame
Report the average QP value of the current encoded frame via the V4L2_CID_MPEG_VIDEO_AVERAGE_QP control, the value applies to the last dequeued capture buffer.
Signed-off-by: Ming Qian <[email protected]> Signed-off-by: Sebastian Fricke <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 5bd28eae | 18-Jul-2023 |
Ming Qian <[email protected]> |
media: amphion: ensure the bitops don't cross boundaries
the supported_instance_count determine the instance index range, it shouldn't exceed the bits number of instance_mask, otherwise the bitops o
media: amphion: ensure the bitops don't cross boundaries
the supported_instance_count determine the instance index range, it shouldn't exceed the bits number of instance_mask, otherwise the bitops of instance_mask may cross boundaries
Fixes: 9f599f351e86 ("media: amphion: add vpu core driver") Reviewed-by: Nicolas Dufresne <[email protected]> Signed-off-by: Ming Qian <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| cf6a0635 | 18-Jul-2023 |
Ming Qian <[email protected]> |
media: amphion: fix UNUSED_VALUE issue reported by coverity
assign value '-EINVAL' to ret, but the stored value is overwritten before it can be used
Fixes: 9f599f351e86 ("media: amphion: add vpu co
media: amphion: fix UNUSED_VALUE issue reported by coverity
assign value '-EINVAL' to ret, but the stored value is overwritten before it can be used
Fixes: 9f599f351e86 ("media: amphion: add vpu core driver") Reviewed-by: Nicolas Dufresne <[email protected]> Signed-off-by: Ming Qian <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 79d3bafa | 18-Jul-2023 |
Ming Qian <[email protected]> |
media: amphion: fix REVERSE_INULL issues reported by coverity
null-checking of a pointor is suggested before dereferencing it
Fixes: 9f599f351e86 ("media: amphion: add vpu core driver") Reviewed-by
media: amphion: fix REVERSE_INULL issues reported by coverity
null-checking of a pointor is suggested before dereferencing it
Fixes: 9f599f351e86 ("media: amphion: add vpu core driver") Reviewed-by: Nicolas Dufresne <[email protected]> Signed-off-by: Ming Qian <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| b69713f5 | 10-Jul-2023 |
Ming Qian <[email protected]> |
media: amphion: decoder support display delay for all formats
the firmware only support low latency mode for h264, but firmware will notify an event to driver when one frame is decoded, if V4L2_CID_
media: amphion: decoder support display delay for all formats
the firmware only support low latency mode for h264, but firmware will notify an event to driver when one frame is decoded, if V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY_ENABLE is enabled, and V4L2_CID_MPEG_VIDEO_DEC_DISPLAY_DELAY is set to 0, driver can display the decoded frame immediately.
Fixes: ffa331d9bf94 ("media: amphion: decoder implement display delay enable") Signed-off-by: Ming Qian <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 12cd8b8a | 13-Jun-2023 |
Ming Qian <[email protected]> |
media: amphion: add helper function to get id name
convert numbers into meaningful names, then it can improve the log readability
Fixes: 9f599f351e86 ("media: amphion: add vpu core driver") Signed-
media: amphion: add helper function to get id name
convert numbers into meaningful names, then it can improve the log readability
Fixes: 9f599f351e86 ("media: amphion: add vpu core driver") Signed-off-by: Ming Qian <[email protected]> Reviewed-by: Nicolas Dufresne <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| dcff0b56 | 25-May-2023 |
Nicolas Dufresne <[email protected]> |
media: amphion: Fix firmware path to match linux-firmware
The path did not match the one it was submitted into linux-firmware which prevented generic distribution from having working CODEC.
Fixes:
media: amphion: Fix firmware path to match linux-firmware
The path did not match the one it was submitted into linux-firmware which prevented generic distribution from having working CODEC.
Fixes: 9f599f351e86 ("media: amphion: add vpu core driver") Signed-off-by: Nicolas Dufresne <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|