Age | Commit message (Collapse) | Author |
|
Added SPDX-license-identifier-Apache-2.0 to:
libstagefrighthw/Android.mk
Added SPDX-license-identifier-BSD to:
libc2dcolorconvert/Android.mk
libplatformconfig/Android.mk
mm-video-v4l2/vidc/common/Android.mk
mm-video-v4l2/vidc/vdec/Android.mk
mm-video-v4l2/vidc/venc/Android.mk
Added SPDX-license-identifier-BSD SPDX-license-identifier-MIT to:
mm-core/Android.mk
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Iead7f221951694cd9da8358ce5d18ac9f34b52dd
|
|
'goog/qcom/release/LA.UM.7.8.9.C2.08.00.00.618.012' into rvc-dev
Conflicts:
mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
Bug: 149539244
Change-Id: I1f76b1a162e331bad8e6af6b259aca271a212460
|
|
When frameworks queries for output buffer size on
decoder via OMX_IndexParamPortDefinition, expectation
is to return metadata buffer size instead of YUV
buffer size in dynamic metadata mode.
Test: CtsMediaTestCases & CtsVideoTestCases pass
Bug: 147104052
Change-Id: Ica54841cbc81b29c4b3bfa0b58f94a0f82de300b
|
|
When frameworks queries for output buffer size on
decoder via OMX_IndexParamPortDefinition, expectation
is to return metadata buffer size instead of YUV
buffer size in dynamic metadata mode.
Change-Id: Ica54841cbc81b29c4b3bfa0b58f94a0f82de300b
|
|
pthread_join(msg_thread_id) is called after deleting
venc_dev object. So member variables from venc_dev class
is accessed in VencEncMsgThread. So changed the sequence
to ensure thread_join before deleting venc_dev obj.
Change-Id: I0b49d9d9051d1e4e01ee507fe87a6df88f2b986d
Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
|
|
Conflicts:
mm-video-v4l2/vidc/vdec/src/omx_vdec_v4l2.cpp
mm-video-v4l2/vidc/venc/src/omx_video_base.cpp
Bug: 124397977
Change-Id: I92df53d9ee300d501a9629355256364280fff595
|
|
Fix compilation error with logical OR operand usage
Change-Id: I4db58aecb8bea18c03262d60c75983e024b29fad
|
|
Conflicts:
mm-video-v4l2/vidc/venc/inc/video_encoder_device_v4l2.h
Bug: 121228685
Change-Id: I38dfda186f1d12cd2732808d1d8ebbda90946db4
|
|
insert 'break;' to avoid fall-through
to default case.
Change-Id: I23e4067d906e635559d79bcd6bfbe0d2be5ff6db
|
|
This code incorrectly uses || to combine a bunch of state constants,
fixes constant-logical-operand warning.
Test: m checkbuild
Change-Id: I51dedf2b34e270550e0e5f97ac30990f9a4669c6
|
|
6afc17b75f am: 223643dc0f
am: 1318f5939e
Change-Id: I206d8fed55e2c78cdf75512f115aa9ee07e3ac43
|
|
6afc17b75f
am: 223643dc0f
Change-Id: I2bbe05218a97ac34e59642c2695385e7477a63f3
|
|
It will be a global error by default.
Test: make checkbuild
Bug: 112564944
Change-Id: I379c618465365363536aecf3f34e5105ea72e53a
Exempt-From-Owner-Approval: do not block on new warnings
|
|
m_etb/ftb_q.pop_entry() will save the buffer header pointer
address in the value of the variable passed. Use the value of
this variable and not the address to typecast.
Change-Id: I53b78dc47486c0ce4e934dd579c9212f269859e9
Signed-off-by: shubham <shubgupt@codeaurora.org>
|
|
This code incorrectly uses || to combine a bunch of state constants. The
next Clang warns on this buggy pattern.
hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/omx_video_base.cpp:1097:40: error: use of logical '||' with constant operand [-Werror,-Wconstant-logical-operand]
if (eState == (OMX_StateLoaded || OMX_StateWaitForResources
^ ~~~~~~~~~~~~~~~~~~~~~~~~~
hardware/qcom/sdm845/media/mm-video-v4l2/vidc/venc/src/omx_video_base.cpp:1097:40: note: use '|' for a bitwise operation
if (eState == (OMX_StateLoaded || OMX_StateWaitForResources
^~
|
Bug: http://b/110779387
Test: Build with new toolchain.
Change-Id: If791d503a43740f83189f181964931a26cb77fe2
|
|
According to H265 spec, the color primaries should be in G,B,R
order. But in the exisisting code they are read in R, G, B order.
Correct the order of reading bitstream as per the specification.
(Cherry-picked from:
https://partner-android-review.googlesource.com/c/platform/hardware/qcom/sdm845/media/+/1120439)
Bug: 111799726
Change-Id: Ic6703dcf7878c27e3e18e437039ddb74cf8d32d6
(cherry picked from commit acb885f628ccf4731d887d47300e5d9ff58b72b4)
|
|
Use the "base" enum type when comparing against an extended
enum value.
CRs-Fixed: 2307726
Change-Id: I143194f4e688c747a487441c6c22e894176b4598
|
|
According to H265 spec, the color primaries should be in G,B,R
order. But in the exisisting code they are read in R, G, B order.
Correct the order of reading bitstream as per the specification.
(Cherry-picked from:
https://partner-android-review.googlesource.com/c/platform/hardware/qcom/sdm845/media/+/1120439)
Bug: 111799726
Change-Id: Ic6703dcf7878c27e3e18e437039ddb74cf8d32d6
|
|
According to H265 spec, the color primaries should be in G,B,R
order. But in the exisisting code they are read in R, G, B order.
Correct the order of reading bitstream as per the specification.
Change-Id: Ic6703dcf7878c27e3e18e437039ddb74cf8d32d6
|
|
When implicitly enabled B frames are disabled,
the number of P frames are set to new P frame count.
This should be set back to initial value before
implicitly enabling B frames.
Change-Id: Id91dbedda6e1c93fbceacd9045636a6413626428
|
|
Setting frame quality factor depends on CQ rate control, hence,
rate control needs to be set earlier.
Fix order of setting bitrate and rate ctrl params.
Change-Id: Id5e52e5b4fbc847f911a1c3e3460c78db90c49b9
CRs-Fixed: 2264722
Bug: 110283731
(cherry picked from commit 930afd7644c8ee73326ec8970a3a7c02c4b97a34)
|
|
|
|
|
|
Setting frame quality factor depends on CQ rate control, hence,
rate control needs to be set earlier.
Fix order of setting bitrate and rate ctrl params.
Change-Id: Id5e52e5b4fbc847f911a1c3e3460c78db90c49b9
CRs-Fixed: 2264722
|
|
Set the capture port dimensions to the driver before calling
start streaming when grid is set to true.
Change-Id: Ia8291b04ae8cc8886116bd6f1697f7f0dfa37515
|
|
'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.376' into pi-dev
Bug: 110126338
Change-Id: Icb2be3e7de033c894ec427db684a577e50b5d6af
|
|
video-userspace.lnx.7.3.9
|
|
|
|
Return gracefully when grid dimension is set for non-HEIC role.
HEIC session with tiling in framework uses HEVC role and should
be allowed to encode without setting grid dimension
Change-Id: I34d57a01f7831f3b9677a257d96823aa77e2a42d
CRs-Fixed: 2258393
|
|
Replace OMX_VIDEO_CodingHEIC and use OMX_VIDEO_CodingImageHEIC
Change-Id: I63bfb07f901310a3340223b6aed14d98a6966c0d
CRs-Fixed: 2250186
|
|
into pi-dev
|
|
Bug: 80321721
Test: Video recording and look at the output video.
Change-Id: I501de4899c94af8e8ef341b7f9546016d7b8b3e7
|
|
Change-Id: I5291a6f72a0b12bde937b839f3ab4908b38723cb
|
|
Protect buffer access for below scenarios:
*Increase the scope of buf_lock in free_buffer to avoid access
of freed buffer for both input and output buffers. Also, add check
before output buffer access.
*Disallow allocate buffer mode after client has called use buffer.
Allocate additional 512 bytes of memory for input buffers on top of
allocation size as per hardware requirement.
Change-Id: Ic570d8248806ee492f68b51cb73139cf5c5028e5
|
|
Bug: 80274434
Change-Id: I228bcd2c38016cc1298d253b88c1ef8e6e46645c
|
|
|
|
Enables HEIF encode with grid support in HW
Supports configuration of Quality-factor, Constant-quality
rate control, MainStill profile for HEVC and Grid-info params
Change-Id: I21c2660d5218363c9444f8bb023a4ae0ce852102
|
|
'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.267' into pi-dev
Bug: 78481303
Change-Id: I2ee41df2b7bd67f75d0e1626baaa400eb9b84221
|
|
'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.245' into pi-dev
Conflicts:
libstagefrighthw/QComOMXMetadata.h
mm-video-v4l2/vidc/vdec/Android.mk
mm-video-v4l2/vidc/vdec/inc/omx_vdec.h
mm-video-v4l2/vidc/vdec/inc/ts_parser.h
mm-video-v4l2/vidc/venc/Android.mk
Bug: 77871398
Change-Id: Iaade819caadef58cc7b1fdf64f0b549bec102eb9
|
|
After unified multiple port reconfigs, there might be no explicit
port reconfig event for crop info update, and didn't set the new
resolution to C2D before conversion started.
Add logic to update new resolution to C2D when port reconfig.
CRs-Fixed: 2154864
Change-Id: I256329a8619f8a1496a0306fb98ccd20bc8db6ba
|
|
Modified the color format check condition to allow C2D convert
from NV12_UBWC to YUV420SP.
Change-Id: I44d553d9eaed28cbc63c8e74b4cc2e588d372849
CRs-Fixed: 2171163
|
|
Update logic to update display refresh rate, keeping a
default max refresh rate of 60fps.
Change-Id: I12224f854e49b89b6b5aedd3766eaa3284a3656d
|
|
Add error check in buffer handler, to ensure buffers are
not queued to driver and streamon is not called repeatedly
when streamon fails initially.
Change-Id: Ic621dec6ae547bdb9da2bf41f0a6114176c50d7a
|
|
Add HEVC main10 profile in the supported profile list for client's
query.
Change-Id: I1e3a9d204b3340bad68a57bee9f23ff04052acd1
|
|
Initiate port reconfig on sequence changed sufficient
event with change in resolution, if downscalar is not
enabled and split mode is enabled, to ensure OPB
resolution is correctly set. This ensures output port
resolution is consistent in capture port format and
output extradata.
Change-Id: Ifda1915f9d49cabeb77529df980e3474f5372186
|
|
'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.217' into pi-dev
Bug: 76442208
Change-Id: Id4a4dd01227a4eaef472f6cd81f76f3581fe9384
|
|
When the vndk is enabled (BOARD_VNDK_VERSION=current),
vendor libraries must only link against vendor variants
in the build system. This also means that they receive
restricted sets of headers and that automatic global
headers are restricted.
Test: build libOmxSwVencMpeg4 with BOARD_VNDK_VERSION=current
Bug: 69574580
Change-Id: Ia9c00a575faf53ec2edff1c0dc9003ee1953cc7b
|
|
Missing media/hardware/*.h are resolved by adding media_plugin_headers
explicitly.
Missing system/graphics.h is resolved by switching system/window.h
to cutils/native_handle.h as in
I7214dcc1e57f2a0466fc28173dd5de5d54c9a721 for msm8998.
Missing hardware/gralloc.h is resolved by adding libhardware_headers
ui/ANativeObjectBase.h is not included as it isn't used.
Bug: 69574580
Test: m -j
Test: BOARD_VNDK_VERSION=current m -j libOmxVdec libOmxVenc
Change-Id: I10c903701842c1953eeb99f9651a64e1ffbbbad9
|
|
Add missing header libraries and change headers.
Bug: 69574580
Test: BOARD_VNDK_VERSION=current m -j libOmxVidcCommon
Change-Id: I59f2f7031bdaf5c3614359fe74b445a2c871634c
|
|
- Remove hardcode paths of aosp headers in vendor
make files.
- Add aosp header libraries to access aosp headers.
CRs-Fixed: 2206443
Change-Id: Ib2b4f1ddeb48397bbe2afdfb9ac54cc3cb3fd9ac
|