| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit 'dcddc8233ca55f42d00b7fd322564198eab49e1d':
DOMX: Add index AutofocusEnable
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Part of the fix for b/5591797.
Used to signify when AF scanning should begin
Change-Id: Ie130f308e36fc9aa76d15391c573d52da93b483a
Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|\ \
| |/
| |
| |
| | |
* commit '3c23a89e346803d4eeb0dc901006aa3edc49a5b8':
DOMX: fix an ION handle leak
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes an ION-handle memory leak in mediaserver that occured every time you
launch the camera.
Change-Id: I01b96f28a538d3a37f1badfa330d380b0df49d4e
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|/
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: Ic854588fa661ebcc63395c388bf98af268b709c7
|
|
|
|
|
|
|
| |
Change-Id: I098a1e51eb56a7c6e54c5393dc2952e48f740605
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
related-to-bug: 5485643
|
|
|
|
|
|
|
|
|
| |
Rely on the kernel to maintain the secure state. Query the misc driver
for the state whenever need be.
Also whenever misc driver setting of secure mode fails, cleanup properly.
Change-Id: I460138f4751fa729ed06a0e507035a2da2492daf
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
| |
Change-Id: If2cb2f7744967df6632dd097bd5a9576cf4f9718
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes b/5367387
Remove the error trace in case ducati gives ErrorNoMore, which is not an actual
error.
Change-Id: Ifeb56527f1d5cdb3fb2366a324e5bb6f2ea0a8c7
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Change the DCC lookup path in the domx, to a path which is not mounted
as a read-only as default.
This would enable to dynamicaly change the dcc settings, without
needing to remount the /system/ partition.
Change-Id: I8fdc8c1ec7b3812b12188bfa5cee43c6e4a296c9
Signed-off-by: Vladislav Hristov <vhristov@mm-sol.com>
Signed-off-by: Stanimir Varbanov <svarbanov@mm-sol.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes b/5332812
Even in case filled len sent by client was 0, proxy
was overriding it with a non-zero value leading ducati
side to encode it. this patch rectifies that.
Change-Id: Ic62cbf5e7bc580d213895475fa28fbb8a004ed7b
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes b/5360550
H264,MPEG4 Encoder proxies is not releasing pipe on
component deinit during encode usecase exit.
Patchset2:
- removed redundant macro
Patchset3:
- added mpeg4-enc fix too
Change-Id: I1bf9b4bd85fdee7ced74da5918d370624c8c9c43
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
|
|
|
|
|
| |
Change-Id: I7134e635316c2a118498d23521248016b73d6496
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes b/5332812
Even in case filled len sent by client was 0, proxy
was overriding it with a non-zero value leading ducati
side to encode it. this patch rectifies that.
Change-Id: Ia1125fad0fe61ccb4375192f962a2da60202a275
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
|
| |
Change-Id: If18b138cc9196342adb044abf460a603ed143b92
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
| |
Change-Id: Ic8565a8662c0e6f80e548301fadff2a83b376d9f
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
|
|
|
|
| |
In case of some error during GetHandle, there was a double
free of a pointer which was finally leading to a seg fault.
This patch rectifies that clean up path.
Change-Id: Ia24fc746d9a274ac0b7bea4b2dfbcde657b15c13
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
| |
Change-Id: Ib2e253090258299ec21f9f17e1763be8bf3cc1dc
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
|
|
|
|
| |
Moving the buffers to gralloc removes the unnecessary step
of user-mapping which will improve performance.
Change-Id: I6e45015799ed955f721299a7fb6d0c7e0cd6d3cf
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
| |
Change-Id: I9367d2e918109ecc9bec59bdbfe6238cb7d694cd
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
|
|
| |
Patch moves all memmgr buffers to ion and maps them to userspace as and when required.
Change-Id: Iff8cc0759594918e5902625c052ea48d74bc07e1
Signed-Off-By: Sarthak Aggarwal<sarthak@ti.com>
|
|
|
|
|
|
|
|
| |
Moving the buffers to gralloc removes the unnecessary step
of user-mapping which will improve performance.
Change-Id: I4b1b12c82466a2629e7edc3484f4ab56300dd38c
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
|
|
|
|
| |
Add support for android opaque color format as encoder input and
use color conversion routines to format to NV12 color format
which is passed on to remote OMX encoder component
Change-Id: I569a77b0e4aab3d5a50f3dc9ccf710a5bb6bd77b
Signed-off-by: Lakshman Gowda <lakshman79@ti.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Adds support for multiple focus and exposure areas and
also correctly returning the number of maximum supported
focus and exposure areas in DOMX side.
- Patch set 2 : Rebased.
Change-Id: Ia6983f4006405e69dded064270860d8b1f33d576
Signed-off-by: Milen Mitkov <mmitkov@mm-sol.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Set the alignment parameter for ion allocations to 4K. The
allocation size is already configured to be a multiple of
4K. This ensures that all the DOMX buffers can be mapped
into the user-space, and ensure that allocations are not
returned on a 4K boundary due to extraneous ion client
allocations from the same ion heap.
Change-Id: Ief40a6f30f48fccb315e073d28a2591d027e8243
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
|
|
|
|
| |
The Stagefright queries DOMX in order to allocate buffers from gralloc with
correct usage flags.
Change-Id: I85dc7bd6bf6b3008a12470bb797df0cce8a370e0
Signed-off-by: Lakshman Gowda <lakshman79@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
|
|
|
|
|
|
| |
Add support for android opaque color format as encoder input and
use color conversion routines to format to NV12 color format
which is passed on to remote OMX encoder component
Change-Id: I45be6a6ea3577cbe9a13e7df87bb399b16e5db29
Signed-off-by: Abhishek Ranka <asranka@ti.com>
Signed-off-by: Lakshman Gowda <lakshman79@ti.com>
|
|
|
|
|
| |
Change-Id: I3d0f40b68c2337e67271784c544db8979dcc0358
Signed-off-by: Sundar Raman <sunds@ti.com>
|
|
|
|
|
|
| |
Signed-off-by: Srinivas Kowtal <ksrini@ti.com>
Change-Id: I8cd4286d5fc303e73817a69b2f8bf518e61ee10d
|
|
|
|
|
|
|
|
| |
This patch completes the i/p buffer optimization in case of metadata buffers
The patch also sets the correct alloc length and filled length to ducati side OMX encoder, while gives the metadata size to the OMX IL client
Change-Id: I0ac758c367ceb9affa6e47fedbc20a80d7058b31
Signed-off-by: Sarthak Aggarwal <sarthak@ti.com>
|
|
|
|
|
|
|
|
|
|
| |
request and allocate smaller-sized buffer in metadata mode recording.
the buffer is used to hold video_metadata_t structure (12 bytes). It is
a big saving from allocating an NV12 buffer size. Corresponding Ducati
side change on UseBuffer() is required.
Change-Id: I7e4730c0982e826def844e3cf5050d83063fa2a7
Signed-off-by: John Wei <a0272715@ti.com>
|
|
|
|
|
|
|
|
| |
Logs shared/observed on failures dont have proper error code.
UNDEFINED error code masks failure reason
Change-Id: I1a7ba901b1301e283f385db6117807501043bc9f
Signed-off-by: Devaraj Rangasamy <dev@ti.com>
|
|
|
|
|
| |
Change-Id: I1b6bb594740122c753d21eaa7a739a8e500ab57d
Signed-Off-By: Sarthak Aggarwal<sarthak@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There was stale data in the metadata buffers during
initial few FBDs before omx component was ready to
fill the data. Seeing this in face detection usecase
where a few false rectangles are being shown when
the app is first opened.
Signed-off-by: Tyler Luu <tluu@ti.com>
Change-Id: I442d90a2e81ed0439ea0257850abfa9e0d0da1b1
Signed-off-by: Sundar Raman <sunds@ti.com>
|
|
|
|
|
| |
Change-Id: Iac07645546e352c37170eb46602bd1b6555fe85a
Signed-Off-By:Sarthak Aggarwal<sarthak@ti.com>
|
|
|
|
|
|
|
| |
The patch moves 1d bitstream buffers needed by video codecs from MemMngr to ION.
Change-Id: I56f010f904a64ae0d36bbc8925498f3748a0ab42
Signed-Off-By:Sarthak Aggarwal<sarthak@ti.com>
|
|
|
|
|
| |
Change-Id: Ic6d53f51f150de6c8c1324aae7464b984eb6ee52
Signed-Off-by:Sarthak Aggarwal<sarthak@ti.com>
|
|
|
|
|
| |
Change-Id: Ib55f6a1dd3ef6e9c99798b1bffabeae63671efad
Signed-Off-By:Sarthak Aggarwal<sarthak@ti.com>
|
|
|
|
|
| |
Change-Id: Ia63104950fdfbaf41254187dd0ee516fde8eb7d2
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
Change-Id: I8f7a7eeece0e516efa486b77e9d97805c0e65d3e
Signed-off-by: Iliyan Malchev <malchev@google.com>
|