Age | Commit message (Collapse) | Author |
|
Investigation purpose, For ECO service 1.0 spec, the support
input frame size of ECO is limited <= 720P
https://source.corp.google.com/aosp-android11/hardware/google/av/media/eco/ECOSession.cpp;l=59?q=createECOSession
We could remove limitation here and do the some evaluation.
Test: GCA
Bug: 187359844
Change-Id: I97a1c96def7a800ce0b079029af5d3314a43961f
|
|
Bug: 117877984
Test: Camera recording.
Change-Id: I36a655dd905c1e14aec052f95af17f9b4e771910
|
|
Bug: 117877984
Test: Unit test.
Change-Id: I9475310bd0ec321bba27262eee4da84bc476a38f
|
|
Bug: 133208312
Test: Unit test
Change-Id: Ie292b91ccabfd25173cd11359abc0d43d67d688f
|
|
Bug: 117877984
Test: Camera recording.
Change-Id: Ic65bed1258b0423b82a3ba5b8a799b5ad61cb976
|
|
Bug: 117877984
Test: Unit test.
Change-Id: Iaa3c6425c0cbebdc09af035a42358c452cb163c5
|
|
Bug: 117877984
Test: Unit test.
Change-Id: I7e4d14e2b1b0a9426bfaeca46bde4b5a3a520d25
|
|
Bug: 117877984
Test: Unit test.
Change-Id: I1739b4898eb3e1967c02a8fdbfb3a3dc84c379e3
|
|
Run "adb shell /vendor/bin/dumpsys media.ecoservice"
DUMP OF SERVICE media.ecoservice:
== ECO Service info: ==
Number of ECOServices: 1
== Session Info: ==
Width: 1280 Height: 720 isCameraRecording: 1, target-bitrate: 12000000 bps codetype: 1 profile: 8 level: 32768
Provider: QTIEncoder
===================
Bug:117877984
Test: Unit test
Change-Id: I9f578620a02ad6b71feadd063b0ca8d797f89e85
|
|
If a listener subscribe to ECOSession after the provider sending the
first session info, ECOSession should send the listener the latest
session info right after adding it to internal.
Also add a fix for the failrue in ECOSessionTest due to changing
FrameType from int32_t to int8_t.
Bug:117877984
Test: Unit test
Change-Id: Ib982c6d9bfadb625eb85e0653941e2608158c054
|
|
|
|
Bug: 117877984
Test: Unit test.
Change-Id: If8d0423f5610a435931af9ea7ece3da3263a5b27
|
|
The ECOData could now be dumped to a std::string. Sample output:
processSessionStats ECOData(type = Stats) = {
int32_t encoder-target-bitrate-bps = 22000000, int32_t encoder-level = 65536, float encoder-framerate-fps = 30.000000, int32_t encoder-profile = 8, int32_t encoder-kfi-frames = 30, int32_t encoder-type = 1, string stats-type = stats-type-session}
Bug: 117877984
Test: Unit test.
Change-Id: Ia6e018f2b46b64d4f8a1e00b1c4e41d123061ddb
|
|
adb shell setprop media.ecoservice.log.level 1 for debug log.
adb shell setprop media.ecoservice.log.level 2 for verbose log.
adb shell setprop media.ecoservice.log.level 3 for both debug log and
verbose log.
Bug: 117877984
Test: Unit test.
Change-Id: If047476cd7957d0ef10940dbadc2bd36eeb320a1
|
|
|
|
1) Fixed data types in ECOUtils.
2) Account dimension for portrait and landscape mode in ECOSession.
Test: Unit test.
Bug: 124805646
Change-Id: Idfd6877bc39b77968d73ee1e95a2573a1439f435
|
|
Also add several more things:
1) Add key handling inside the ecosession.
2) Add the sessionlock to protect the access to ecosession.
3) Change some log from ALOGD to ALOGI to avoid log spam.
Bug: 117877984
Test: Unit test.
Change-Id: Ib02dcd278dfa528745fb9599afde22931849ef20
|
|
Also add 4 new keys in ECODataKey.
Bug: 117877984
Test: Unit test.
Change-Id: I66c075a78168320bb33b863b1c03651861385bcc
|
|
Also add unit test for it.
Bug: 117877984
Test: Unit test.
Change-Id: I5900c2bc628d850278bf8d742d09fb15cff3c078
|
|
Also add FakeECOServiceStatsProvider and FakeECOServiceInfoListener
to test ECOSession and ECOService.
Bug: 117877984
Test: Unit test.
Change-Id: Ia6bd576ea36c29cfeff3d3450b08a2a5fffc047b
|