| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Update max supported Level entry in both decoder and
encoder.
CRs-Fixed: 980418
Change-Id: I0c49acafef18ec339d59be4ac41ea6abaa1f0ca3
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These vpp structures are not used for omx ctrls, they are the
aligned same definition as in vpp.h. VPP only has two omx ctrls in which
size and version are already added.
So remove the size and version fields so that direct cast can be
done on them from omx definition to vpp definition.
Change-Id: Ie71269e28df2c85ad2cd4abd68e0a9b7bcf03f27
|
| |
| |
| |
| |
| |
| |
| |
| | |
The buffer size check for C2D is done after getting the updated
size from the g_fmt.
Change-Id: If7154536f469c8d941e3ae8a8f2f5f0411ac7f49
CRs-fixed: 1018025
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Pass stride and scanlines along with port reconfig event as
omx_vpp_component needs the information to communicate vpp
library.
Change-Id: I2300617c9ec1826aae7dfa87e636dd5d8971d254
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Disabling split mode for VP9 as DPB buffers in split mode are
scratch buffers and RELEASE_REFERENCE event currently does not
handle the circulation of scratch buffers.This affects VP9
Spatial Scalability clips as some of the DPB buffers might be held
for reference even after the flush.
CRs-fixed: 1004386
Change-Id: Icae40e7d9862d930715bdcb5d5b7e15576484d67
|
|/
|
|
|
|
|
|
|
|
|
| |
The driver sends info to userspace whether the clip is progressive or
maybe interlaced. For CPU access of buffers, change the DPB mode to
split with DPB as UBWC and OPB as the color format selected when
the clip is progressive. Similarly the DPB mode is in combined mode
when the clip is maybe interlaced.
CRs-fixed: 1004998
Change-Id: Ie31d1eb5543f3d5c2221694e52108975e52baee3
|
|
|
|
|
|
|
|
|
|
| |
Firmware will update the crop dimensions for each fbd in the
extra data buffer. OMX component should parse the extra data
buffer and get the crop information. If the output crop extra
data is not present, then OMX component should fall back and
get the information from the fbd v4l2 reserved fields.
Change-Id: I450278bbf22b0933f16318769c7c79999b9e1be4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Capture plane's pixel format may be changed during different DPB-OPB modes
switching in real-time, which will lead to a wrong buffer size returned
from driver/fw.
For example, dynamic changing resolution clip with VPP feature enabled.
Change-Id: I12dbed62e87d3934f6630cb1ced9a09ef2a33159
|
| |
| |
| |
| |
| |
| |
| | |
Pointer needs to be checked for sanity before dereferencing
it.
Change-Id: I4734b581cb6b506ebad9c99b8c9f407bccb4c3d1
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Check the sanity of config/param strcuture objects
passed to get/set _ config()/parameter() methods.
Bug: 27533317
Security Vulnerability in MediaServer
omx_vdec::get_config() Can lead to arbitrary write
CRs-Fixed: 997518
Change-Id: I6c3243afe12055ab94f1a1ecf758c10e88231809
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow only up to 64 buffers on input/output port (since the
allocation bitmap is only 64-wide).
Do not allow changing the actual buffer count while still
holding allocation (Client can technically negotiate buffer
count on a free/disabled port)
Add safety checks to free only as many buffers were allocated.
Fixes: Security Vulnerability - Heap Overflow and Possible
Local Privilege Escalation in MediaServer (libOmxVdec problem #3)
Bug: 27532282
Change-Id: I06dd680d43feaef3efdc87311e8a6703e234b523
|
|\ \ \ \
| |_|/ /
|/| | |
| | | | |
OMX_IndexVendorVideoExtraData"
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This config (used to set header offline) is no longer used.
Remove handling this config since it uses non-process-safe ways to
pass memory pointers
Change-Id: I7a535a3da485cbe83cf4605a05f9faf70dcca42f
Fixes: Security Vulnerability - Segfault in MediaServer (libOmxVdec problem #2)
Bug: 27475409
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Allow only up to 64 buffers on input/output port (since the
allocation bitmap is only 64-wide).
Add safety checks to free only as many buffers were allocated.
Fixes: Heap Overflow and Possible Local Privilege Escalation in
MediaServer (libOmxVenc problem)
Bug: 27532497
Change-Id: I31e576ef9dc542df73aa6b0ea113d72724b50fc6
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While reporting the buffer size to client, OMX component should
include the extra data size as well.
Change-Id: I201de3116d4696a15722a34a259d7e9e34652541
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
During get_parameter(OMX_IndexParamPortDefinition) call, OMX component
was not querying the updated buffer size information from driver
and relying on stale buffer size information.
Change-Id: I10abbc35d67ec33d29bb6cafa6c47ceab5a38566
|
|/ /
| |
| |
| |
| |
| |
| | |
- Featurize VQZIP SEI insertion.
- Enable VQZIP feature on mainline.
Change-Id: I4f32a108abc36f99734a46ad980615bc7a6591ed
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently OMX component swapping dimensions irrespective of
rotation angle. This makes 0 and 180 to fail. Hence add check
to swap dimensions only for 90 and 270.
Change-Id: I802b88f4564ca1abfc1ca6cab4a9ea172f34e321
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Gracefully handle memory allocation failures encountered during ioctl call
setup for secure memory prefetching.
Change-Id: Ic251962a1afe54797cdc4f37f4a196f5cb87d2c3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Call an ioctl to ION to prefetch memory required for next resolution
when a resolution change is detetced. This is done to reduce
allocation times and avoid glitches.
Change-Id: I0b787f6f2b5c5ed497ae5643e2a21c4eb25ee411
|
|\ \ \
| |_|/
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit has following squashed changes
565211e5 mm-video-v4l2: vidc: venc: Fix issues with Hier P
8538cef2 mm-video-v4l2: vidc: venc: Synchronize ETB and config commands
a11b610e mm-video: Add extensions to enable and configure ROI QP info (try 2)
0f38e8f8 mm-video-v4l2: Revert a couple of extradata commits as part of re-write
56a3bf04 mm-video-v4l2: vidc: vdec: Add support for low latency mode
1bdcc0362 mm-video-v4l2: vidc: venc: featurize VQZIP code
1c071d8fe mm-video-v4l2: vidc: venc: Fix Level calculation
1cf4aeaa8 mm-video-v4l2: vidc: venc: Set default POC type
10f18b978 mm-video-v4l2: vdec: Return buffers back to client for qbuf failure
1e65b50e7 mm-video-v4l2: vdec: Use global setprop to disable UBWC mode
Change-Id: I05f53c0d9cbc6cc9ed2bd7a725ed913ecdaf2b29
|
|/
|
|
|
|
| |
Return HEVC Main10 as highest supported profile
Change-Id: I809826df1661b7e693c5f91a19d96347c2c5bf96
|
|
|
|
|
|
|
|
| |
Increase output buffer count for high fps video session, for
which dpb count is 16 or more. The additional buffer count
provides a cushion to avoid frame drops in the renderer.
Change-Id: Ib30275d24057cc88f5f1a80ebf6a79c124350b3e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Fix compilation issue to erratic string constant in metadata header
Change-Id: Ibd0197d46cd73ac8f4635b818d8fc9be0da1f22e
CRs-Fixed: 889710
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| | |
Enable low latency mode to driver when client called set param
for the same.
Change-Id: Icc2205d6e21f55e854136ae5cf7859df5fe1b5f2
|
|\ \
| | |
| | |
| | | |
session"
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
S3D frame packing extradata is not supported for secure sessions.
Skip it for secure sessions.
Change-Id: Ide08564e9e8a581c27b416fa705b31411771853a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Stereo video output information is present in H264 SEI. Venus HW
decodes it and sends to OMX component as extradata. OMX component
parses extradata and sends this information to display as metadata.
Change-Id: I08af0a408e4c44c396587600a7ea1b5a61fbe5a9
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Profile and Level validation is not valid when VQZIP is enabled.
Fix the condition to reflect the same.
CRs-Fixed: 951349
Change-Id: I2ae1bff8c2dd0ee3b46fcad545d168f1c9bf8fa9
|
|/
|
|
|
|
|
|
|
| |
When clients sets 180 degrees rotation, this setting is not set
to driver. Hence the final encoded video doesn't have the rotation
effect. This change fixes the same.
Change-Id: I622b58332cc4e443e2b919f06e46ac5ed30cd1c3
CRs-Fixed: 933466
|
|
|
|
|
|
|
| |
There are some unused fields in there that are uninitialized. This
results in the driver returning errors due to garbage.
Change-Id: I0c208291e2019db4ee1f5dc4dcc817c5f34b2e4e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Skip queuing of output buffer to driver if output flush is in progress.
Without this change, there is an issue when a output FBD with
drop flag is received by omx component and requeued back to the
driver and never returned. This change will fix the issue and avoid
losing the output buffer when flush is in progress.
Change-Id: I3560914f526066f7570d7784d7ac635bdc70ef29
|
| |
| |
| |
| |
| |
| |
| |
| | |
The default mode for OPB is UBWC mode, if OMX Client wants to
explicitly disable UBWC mode then it should set the following
property OMX_QTIIndexParamForceUnCompressedForOPB.
Change-Id: I7f8364f8b5ec60fca57bb8717b1af8c50a935f73
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
While going thru the C2D path, we never re-configured the driver to
expect NV12 input rather than QOMX_DEFAULT_COLOR_FMT.
Change-Id: Ia445e37b0b7e0e2521b618d7b2ecd9d7ff93cdf4
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Message thread blocked on a read(), may never wake
if the joining thread fails to write the stop
command.
Instead, monitor the input pipe with timed-wait,
and bail-out in case stop is signaled.
CRs-Fixed: 952668
Change-Id: I35409034f66281b8acaa216171d85f1dfd868906
|