| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
Setting the component role for the "OMX.qcom.video.decoder.divx4"
component triggered an incorrect claiming that the component wasn't
recognised. This is a valid component.
Change-Id: Iebb4da0171bdd2dc6266120c86d14ad452dbb8bf
CRs-Fixed: 759443
|
|
|
|
|
|
|
|
|
|
|
| |
-For codec config buffer, 0 time stamp buffer is been
removed from timestamp queue which causes cts case
testCodecBasicH264 to fail.
-Fix:Do not remove 0 time stamp buffer from time stamp
queue for codec config buffer case
Change-Id: I57a0f1e778f65997170c748a17201fc8a28b3cff
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Synchronize color conversion calls
(from I333f1fa9a922e456f886f5b3d8081baa7ad53a4e)
-Add YUV420SP color format support
(from I4085d2e9c268e839d78f9bf4ff444de68278d272)
-Allow 16-bit stride for NV12 format
(from I5e42606a05dfb7ef55ea1eb1f06f581d23e123dd)
-Add proper stride2 value for tile format
Change-Id: I04387fefa71cc756b14bde75dfeeb051c827dac9
|
|
|
|
|
|
|
|
|
| |
* Older Adreno drivers have problems with adaptive playback due to
incompatibility inside the library.
* Allow devices to choose to not advertise adaptive playback capability
if bad output results.
Change-Id: Ie68fb9f8ec2122f2fc6e6654d9fdbc773dff509a
|
|
|
|
|
|
|
| |
When OMX is deinitialized, the color converter buffers stay intact, causing the
available memory pool to have less continuous space available.
Change-Id: Icc2d730d540bae153c9fde36a6f4267ff3f9f088
|
|
|
|
| |
Change-Id: Id402b96e531b4209508103b532732d2614ae9c64
|
|
|
|
|
|
|
| |
* Certain manufacturers add extra fields to the
encoder_media_buffer_type struct.
Change-Id: I2485196c2ab5d798a1dcd2353c9f8cc5114987f8
|
|
|
|
| |
Change-Id: I0fd4523167be90302b5db284ccf88ff79d7965dd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-omx component is accessing the buffer after fill_buffer_done call
on the client. This is to update the stride value for smooth
streaming.
- During flushing scenario, buffers are returned to the client through
fill_buffer_done call and client is expected to the free the buffers
in the same context. Accessing the buffer in this scenario is leading
to a crash during testH264_adaptiveSmallDrc.
- Fix is to avoid updating stride value when in flushing state.
CRs-fixed: 651562
Change-Id: Ibe79fad264f42da8a356ef6b43793203035bced7
|
|
|
|
|
|
|
|
|
|
|
| |
-RGB input may be composed by GPU with an aligned stride
different from the frame-width.
-CTS test cases testEncodeDecodeVideoFromSurfaceToSurface720p
and testVideoEdit720p fails because gralloc-handle
stride value is not used
-Extract this stride from gralloc-handle to interpret the buffer
Change-Id: I63fd224e933424e1e8c49a19270545f000a2ebd5
|
|
|
|
|
|
| |
This reverts commit f025625050acae22b3087b0141369d8f3fc35c38.
Change-Id: I329ff484dd68bab5905f2dcf0c57dec46a353300
|
|
|
|
|
|
|
| |
If metadata is not enabled by client, there is not need
to enable it by default in secure session.
Change-Id: I031aa193271492e46bddf14f53ee033d0d68e138
|
|
|
|
|
|
|
|
| |
Display interface changed to optimise binder transaction.
This change depends on
ChangeID I4db66f2427ecf16d7a6264462ae85815217a16b1
Change-Id: I7f7861e2626fdd32efcfe3a2575a62caed91f8db
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
OMX client can request the input buffer size based
on frame resolution. This change supports overriding
default input buffer size if the value requested by
client is greater than default input buffer size.
Change-Id: I376d60319acb462b4f806217ec57ad19ddee357b
|
|/
|
|
|
|
|
|
|
|
|
|
| |
A kernel variable was to be defined as unsigned long but
it is mistakenly defined as unsigned only, the space is
missing after long. This bug is silent because unsigned
is also a valid data type by itself.
Corresponding to kernel fix, similar correction is done
in userspace code.
Change-Id: Ie58f275149dc9c85553f75e02594113b1a03ddcf
CRs-fixed: 556771
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In this mode client checks and sets an extension to indicate
that the content can change resolution, within the pre-
announced maximum height/width. Component over-allocates
buffers for the max resolution and dbp, and notifies client
of any crop change when resolution changes within bounds.
Resolution changes beyond set max width/height will result in
port-reconfiguration notification, while adapting to the new
resolution.
Change-Id: I744ac475f3bbedaaca2b057e9a327243674f0d9e
Conflicts:
mm-video/vidc/vdec/src/omx_vdec.cpp
|
|/
|
|
|
|
|
|
|
|
| |
In Adaptive-playback mode, following resolution change, decoder
continues to decode on larger buffer. But the stride is changed
implicitly. Set the updated stride in gralloc-metadata in each
buffer, so HWC/GPU can read the stride to interpret the buffer's
geometry correctly.
Change-Id: If223e4bf230f8032b03b9d51d41b39576d0cf961
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When i/p flush is in progress, need to give back all the ETB's
to client as EBD's directly instead of post_event. so do not call
push_input_buffer function.
Change-Id: Id17a84e9a009bbe80ec034c78a78a08b889c394a
CRs-Fixed: 517599
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Notifications to display HAL to secure/unsecure display is sent
when component is created/destroyed. When multiple instances
are created/destroyed, the shared flag which indicates status
of such notification can go out-of-sync.
This change ref-counts the secure status flag and protects it
with a lock.
Change-Id: I126c92d16b03819afcbaf2f056928ba792556ed8
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Encoder has a hard-requirement of 2K alignment of UV plane.
Apps and other non-camera sources (not aware of this alignment)
will queue YUV420SP buffers, which need an explicit alignment.
But for some other apps(e.g VT) that are aware that the component
wants aligned NV12 and would align it themselves, causing the component
to muck up the buffer by realigning it.
To prevent the confusion, the component now makes a distinction between
NV12 (OMX_COLOR_FormatYUV420SemiPlanar) and aligned NV12 (QOMX_COLOR_\
FORMATYUV420PackedSemiPlanar32). Clients who prefer to provide aligned
buffers will now set the latter as the input port format.
Change-Id: I73c337660fb825e9b267663266fd4b9d6e35443e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This commit adds Long Term Reference picture
selection feature for H264 video encoder and
also adds the corresponding video extensions
Change-Id: Iaf2228c3f29261db4f0214b3264648745b2aaa4d
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This change updates the output buffer requirements when thumbnail mode
is enabled. In thumbnail mode the required output buffers equal to 1.
Output Buffer required for thumbnail mode were not updated earlier from
the driver as a result of which allocating memory for default buffer
count failed and thumbnail were not shown for some file formats.
Change-Id: I607a5b0e3bfcad8056ff71557db50d0e268cf348
CRs-Fixed: 513180
|
|/
|
|
|
|
|
|
| |
Encoder has a hard-requirement of 2K alignment of UV plane.
Apps and other non-camera sources (not aware of this alignment)
will queue YUV420SP buffers, which need an explicit alignment
Change-Id: I9d23fc6c0fb935bc8d20e3e454e80272d6188652
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Open secure display after video driver successfully opened.
This change will resolve the non-secure video playback
failures when secure video driver open failed cases.
Change-Id: I739c1f387d131a9285f755840ff45f0c9d47dee1
|
|\| |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Get current performance level of video driver. Client can
use this info to decide whether to start another video
session in parallel or not.
Change-Id: I95da6e2b995230bec6469845c84e66f6e3c92816
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
This change synchronizes ION alloc and free APIs
between different video instances by having
static mutex varible. This change also makes
changes to use single ION device fd for all the
video buffers instead of having different ION
device fds for each buffer.
This change resolves the blank thumbnails issue
in Movie Studio application.
Change-Id: I1f0721d8a65a8a4fec2f8bf2a702ccfdaf0da114
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
When driver open fails, we try to close uninitialized
fds which may contain any junk value. Thus, closing fd
with these junk values may result in memory corruption.
Change-Id: Ie3d4226022567e4ed929ed8c8c0fd44334351450
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This change updates crop information with latest data
available with the driver.
CRs-fixed: 487314
Change-Id: I04a54a47b34442cf38695913f5a97eb5663e36da
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The video playback buffers can be allocated as uncache buffers
when requried using below setprop command
setprop persist.video.mem.usecache 0
The video recording buffers can be allocated as uncache buffers
when required using below setprop command
setprop persist.camera.mem.usecache 0
By default all the buffers are allocated as cache buffers.
Change-Id: Ic68414cf42afa2b8467a821fae31bda3fd10045f
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Allow client to set TURBO mode to video decoder.
- TURBO mode sets the maximum supported
perfomance level to video driver.
- Based on frame drops due to delayed video frames
client can set TURBO mode to video decoder when
required.
Change-Id: I4508d8df2af8a64057ea47fcf18820b2524c7aa3
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Update output buffers with data corrupt flag when required
for MPEG2 and VC1 decoders only.
- Enable data corrupt flag irrespective of frame type if sync
frame not received.
- Don't set data corrupt flag at the start of the playback and
set when seek operation is made and sync frame not received yet.
Change-Id: I9751d41f57af741a0762821a103e8581ce4f8b28
|
|\| | |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- If non-IDR frames received after seek operation, corrupted YUV frames
are displayed.
- Add OMX_BUFFERFLAG_DATACORRUPT flag to each output buffer till
OMX_BUFFERFLAG_SYNCFRAME received.
- IL client can skip rendering if DATACORRUPT flag observed.
Change-Id: I735fb3d5dcfbbfd0efd3c77a59f0323ee7695c10
|
|\ \
| | |
| | |
| | | |
found"
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Core is not able to decode bit stream, when three byte start code
0X000001 is a part of consecutive NAL's provided in single ETB.
- Start address of NAL entry in DMX should be moved one byte backward
as video core skipping 0X0000 skipping in every NAL bit stream.
Change-Id: Ia816175e7b821dcb30200a3bd934896efd3ea20f
CRs-Fixed: 468664
|
|/
|
|
|
|
|
| |
Obsolete the custom flag added to notify usage of secure buffers. Now all
secure buffers are allocated based on the flag GRALLOC_USAGE_PROTECTED
Change-Id: I92a87f402892d5758fa9adef8ae734d1b8be2c83
|
|\ |
|