In avcenc test application, when configuring VUI,
color aspects were set to 0. This causes issues when the
clips are decoded using reference decoder where this is treated
as RGB data. Set these to unspecified.
Bug: 242104405
Test: avcenc -c enc.cfg
Change-Id: I2f80250f94faccba52fe945502fc10b793def536
This CL adds support to report PSNR between incoming and resulting
encoded frames. Eventually be reported upstream as part of a feedback
mechanism.
Test: avcenc -c enc.cfg
Bug: b/235899898
Change-Id: Id520913ca5964965b5a86bc520240ccd1b28176c
Corrected checks for number of views and view id
when parsing SPS in MVC decode
Bug: 241865791
Bug: 241867454
Test: fuzzer poc in the bugs
Change-Id: I8241de5c28ddbfebdb639852cf647df5e0a9487b
For YUV 420 semi-planar input, second plane's width was
wrongly being checked to be equal to half of first plane's width.
Corrected this condition now to check that both these widths are
same.
Bug: 242103647
Test: avcenc -c enc.cfg
Change-Id: I3c06f6e40823ddbf00df0435bfbd1cd314c982e3
Added support for decoding 'Multiview High' profile, corresponding to
profile_idc of 118 in 'Rec. ITU-T H.264 (08/2021)'.
Bug: 232169767
Test: atest CtsMediaV2TestCases
Change-Id: I63256344a8a205e74f2bcebe555f5ba6cc3163d0
When u1_video_signal_type_present_flag and
u1_colour_description_present_flag were set, we did write all
fields relating to video signal and color description into
the VUI, even if all those fields were uninitialized (left
at the default cleared zero, which for most fields are
invalid/reserved value zero).
Instead have these flags default to zero, making it clear
that the VUI doesn't (yet) contain correctly set values
for those fields.
Bug: 240470605
Change-Id: I86628cff190c8a40e9c6fd12d3fc8e06419ece7c
The ih264e_vui_ip_t struct doesn't contain any input timestamps,
and the IVE_CMD_CTL_SET_VUI_PARAMS command didn't set these fields
at all (leaving them at their default initialized state 0,0).
At the start of ih264e_encode, pending configurations are
applied if their timestamp matches the timestamp of the frame
to be encoded, or applied unconditionally if the timestamps are
equal to -1.
Thus, the parameters set with IVE_CMD_CTL_SET_VUI_PARAMS
previously only got applied if encoding a frame with the specific
timestamp 0, but now they get applied unconditionally on the
next encoded frame.
Bug: 240466320
Change-Id: I12c50251d8485e3f171ac5c87132ddfbc80377d6
Input and output structures to decoder's functions are now zero
initialized. This way any new additional members in these structures
will be initialized correctly.
Bug: oss-fuzz:49322
Bug: 175179303
Test: avc_dec_fuzzer with memory sanitizer
Change-Id: Ic89625aaaededdef107c34bf8bdc793824b96f85
When decoding erroneous streams, decoder may run out of all buffers
used to hold reference pictures and MV data. In such cases, ignore
all frames till the next IDR frame and then release all buffers while
decoding the IDR frame.
Bug: 236102268
Test: multiple seek on the clip in bug
Change-Id: I14d107a5fdaf5c8d2133e59f48c2b947a5fee5ff
am skip reason: Merged-In Id6789b54da4d8ec1be6c7a60d8ba2e757d5d8801 with SHA-1 7faf1311eb is already in history
Original change: 2146379
Change-Id: If8ebc988323be754d33128b4317b674aeda6a06e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
So that consumers don't need to use raw paths via include_dirs
Sort export_include_dirs: [] lists
Bug: 201944383
Test: build
Merged-In: Id6789b54da4d8ec1be6c7a60d8ba2e757d5d8801
Change-Id: Id6789b54da4d8ec1be6c7a60d8ba2e757d5d8801
(cherry picked from commit 7faf1311eb)
am skip reason: Merged-In I1e7784d4d48325ed0b7ff5f902630d0824aced23 with SHA-1 0ccf8ac1c1 is already in history
Original change: 2125887
Change-Id: I2843fa6f010b31dd171e5e66943c527c3565b084
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I1e7784d4d48325ed0b7ff5f902630d0824aced23 with SHA-1 0ccf8ac1c1 is already in history
Original change: 2125887
Change-Id: I87e2c7b994daa9d24a3d448d3c42448fc7a913af
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I8e4f1f4c57fae1510835733173c505326f39e28f with SHA-1 f5513f5722 is already in history
Original change: 17545184
Change-Id: I5e5caf0bd623abcf192afa337073af2e75593a19
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
am skip reason: Merged-In I8e4f1f4c57fae1510835733173c505326f39e28f with SHA-1 f5513f5722 is already in history
Original change: 17545184
Change-Id: I1e7784d4d48325ed0b7ff5f902630d0824aced23
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>