summaryrefslogtreecommitdiff
path: root/mm-video-v4l2/vidc/venc/Android.mk
AgeCommit message (Collapse)Author
2021-10-28Replace is-board-platform[-in-list] with is-board-platform[-in-list]2Sasha Smundak
Bug: 201477826 Test: treehugger This change has been generated by the following script: ``` #! /bin/bash declare -r files="$(grep -rlP '^[^#]*call +is-board-platform' --include '*.mk' --exclude 'utils_test.mk' --exclude 'utils_sample_usage.mk')" [[ -z "$files" ]] || sed -i -r -f <(cat <<"EOF" s/ifeq +\(\$\(call is-board-platform,(.*)\), *true\)/ifneq (,$(call is-board-platform2,\1))/ s/ifeq +\(\$\(call is-board-platform,(.*)\), *\)/ifeq (,$(call is-board-platform2,\1))/ s/ifneq +\(\$\(call is-board-platform,(.*)\), *true\)/ifeq (,$(call is-board-platform2,\1))/ s/ifeq +\(\$\(call is-board-platform-in-list,(.*)\), *true\)/ifneq (,$(call is-board-platform-in-list2,\1))/ s/ifeq +\(\$\(call is-board-platform-in-list,(.*)\), *\)/ifeq (,$(call is-board-platform-in-list2,\1))/ s/ifeq +\(\$\(call is-board-platform-in-list,(.*)\), *false\)/ifeq (,T) # TODO: remove useless check/ s/ifneq +\(\$\(call is-board-platform-in-list,(.*)\), *true\)/ifeq (,$(call is-board-platform-in-list2,\1))/ s/\$\(call is-board-platform,(.*)\)/$(call is-board-platform2,\1)/ EOF ) $files ``` Change-Id: I5696bd9bcce29e5f87ebec7780b991d6d7d37585
2021-02-12[LSC] Add LOCAL_LICENSE_KINDS to hardware/qcom/sdm845/mediaBob Badour
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
2018-10-29Allow implicit-fallthrough warnings in video_encoder_device_v4l2.cpp.android-wear-8.0.0_r2Chih-Hung Hsieh
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
2018-06-14Merge remote-tracking branch ↵Aaron Ding
'goog/qcom/release/LA.UM.7.3.9.08.00.00.385.376' into pi-dev Bug: 110126338 Change-Id: Icb2be3e7de033c894ec427db684a577e50b5d6af
2018-05-30Rename sdm670 to sdm710.Shibin George
Change-Id: I5291a6f72a0b12bde937b839f3ab4908b38723cb
2018-04-10Merge remote-tracking branch ↵Daniel Mentz
'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
2018-03-29Make libOmxSwVencMpeg4 build with the VNDK.Steven Moreland
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
2018-03-28Build libOmxVdec and libOmxVenc with VNDKJiyong Park
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
2018-03-27media: change way of accessing aosp project headersManikanta Kanamarlapudi
- Remove hardcode paths of aosp headers in vendor make files. - Add aosp header libraries to access aosp headers. CRs-Fixed: 2206443 Change-Id: Ib2b4f1ddeb48397bbe2afdfb9ac54cc3cb3fd9ac
2018-01-17Merge remote-tracking branch 'goog/qcom/release/LA.UM.7.3.9.00009.1'Daniel Mentz
Conflicts: mm-video-v4l2/vidc/vdec/Android.mk mm-video-v4l2/vidc/venc/Android.mk Change-Id: I1fda9a359a5ccb8ddf57288c2db5aa58d1f9c189
2017-12-05Remove dependency on swvdec, Mpeg4SwEncoder.Roopesh Rajashekharaiah Nataraja
- Add header path - Add dependent libraries Change-Id: Ifb5bfb9cd050730c7d63402d8f4277ebc8ec070e
2017-11-16mm-core: Add support for qcs605 targetMansur Alisha Shaik
- Add registry files and corresponding makefile changes for qcs605 - Enable ubwc for qcs605 - Enable sw vdec and venc for qcs605 Change-Id: I556faa32b467e5415dbc5ac7d8e19e1508517542 CRs-Fixed: 2148196
2017-11-08Merge remote-tracking branch 'goog/qcom/release/LA.UM.6.3.R1.003751.1'Alexey Polyudov
Change-Id: Id53d8be955990958fba5cb7522f548ddce866e29
2017-11-01Merge remote-tracking branch 'goog/qcom/release/LA.UM.6.3.R1.00355.2'Alexey Polyudov
Change-Id: Ie1e0cfe4406ebe71066dc8325d8a310039db04f4
2017-10-12Merge remote-tracking branch 'team/qcom/release/LA.UM.6.3.r1.00333.1a'Alexey Polyudov
Change-Id: I8829299569930985af105e2dfe0eaebebd352eae
2017-10-09mm-video-v4l2: venc: add av-timer timestamp support for sw codecCong Jiajia
use timestamp sent form VT client in gralloc source type, when it is enabled by setting vendor extension "qti-ext-enc-timestamp-source -avtimer" Change-Id: I1d3b62f7d4afe5c6157b19ba7ea4d64963ff4c5a
2017-10-03mm-video-v4l2: add rotation support for H263 sw encoderDikshita Agarwal
Change-Id: I45ecbf3eece2a52ffd25b39c319154eee5a7ebe1
2017-09-28Fix qcom hardware pathsAlexey Polyudov
Change-Id: I93ff2ff550965b5d383ad46dbc3a52bc4aeb10e8
2017-09-26mm-core: Add support for sdm670 targetManikanta Kanamarlapudi
- Add registry files and corresponding makefile changes for sdm670 - Enable ubwc for sdm670 - Enable sw vdec and venc for sdm670 Change-Id: Ic35f867110b40545c945f0f0cb858e995e22d257 CRs-Fixed: 2105675
2017-09-08mm-core: Add support for msmpeafowl targetManikanta Kanamarlapudi
- Add registry files and corresponding makefile changes for msmpeafowl - Enable ubwc for msmpeafowl - Enable sw vdec and venc for msmpeafowl CRs-Fixed: 2105675 Change-Id: I16c4a57ca178649fe2b38abd66984a682ce1054f
2017-08-17mm-video-v4l2: venc: remove PQ feature from napali HALShi Zhongbo
Remove GPU-based PQ feature (codes under _PQ_) from napali HAL, no affect on h/w PQ. Change-Id: I219d9635f1878c3ad1e346b4218b3e107c66b800
2017-06-29media: Consolidates and implements XML based config readingAmit Shekhar
Consolidates system/session properties into platform specific configs which can be parsed during media codec process start and the property values can be used during component initialization. This can also be used to switch properties between video sessions - based on PL/test- scenario requirements by making modifications to the config file and "restarting" media codec process Change-Id: Ia16accec5716b2337722c1e2e276702c75775d75 CRs-Fixed: 2066348
2017-06-26mm-video-v4l2: remove compile flag TARGET_USES_MEDIA_EXTENSIONSPraveen Chavan
This flag was used to conditionally disable features not backwards compatible with older android versions. This is not needed anymore. Moreover, this was disabling the required features in builds where this flag was not defined. Bug: 62276042 CRs-Fixed: 2064239 Change-Id: Ie4d1754ee01b644aaafc4cd958ea858ebc5507ac
2017-05-31mm-video-v4l2: Redesign C2D interfaceKarthikeyan Periasamy
Removed dynamic linking of the intermediate library. Added more input/output color format support. CRs-Fixed: 2038471 Change-Id: Idbd6ad8c6f29b8257f8c8ddb5c7c55db4d3b61cb
2017-05-18media: Move Video HAL libraries to vendor image.Uma Mehta
Move video HAL libraries to vendor image with flag LOCAL_VENDOR_MODULE Change-Id: Ie9058b9bfc1148bed53e4496c58a874698f1f6d1
2017-05-10media: Remove linkage to non-VNDK libsPraveen Chavan
Remove linkages to libraries not in the VNDK set and also libraries that in turn link to non-VNDK libs. Also remove inclusion of framework headers CRs-Fixed: 2042926 Change-Id: I476ec9067329b2e1954a20f660e7c88c2fe484e0
2017-05-05mm-video-v4l2: Enables SwCodecs for NapaliAnubhav Phukan
-Support Encoding upto 720p for MPEG4 and FWVGA for H263 -Correct Chroma-offset for omx-test-app -Declare few structures,macros and member variables to resolve compilation issue -Remove heap pointer as a part of O-upgrade CRs-Fixed: 2032064 Change-Id: I05c27c58bba6dd53bf0c91ca7c72d683a9fd8289
2017-05-02media: Move Video HAL libraries to vendor imageUma Mehta
Move video HAL libraries from system/lib/ to /system/vendor/lib. Change-Id: I6a91af6ce3b310b92483c440cb6ee5a0f3096412 CRs-Fixed: 2037809
2017-05-01media: Move Video HAL libraries to vendor imageUma Mehta
Move video HAL libraries from system/lib/ to /system/vendor/lib. Remove libbinder instances from Video HAL. Change-Id: I7f2674fee7fc978281f777c25e26a0927a3964c8 CRs-Fixed: 2037809
2017-04-27mm-video-v4l2: Update MB size calculation for Intra RefreshSaurabh Kothawade
Update macroblock size calculation for HEVC based on new firmware behavior for Intra Refresh. CRs-Fixed: 2039290 Change-Id: Iccd6c0de1426a7da68a865ed2ee03cc449ee72dc
2017-04-20mm-video-v4l2: vidc: Enable UBWC for video componentsMaheshwar Ajja
Enable UBWC on video encoder and decoder components for sdm845. CRs-Fixed: 2036002 Change-Id: I4d2c70f32ec7a85e44a1f9745a108c27ffa8f733
2017-02-17mm-video-v4l2: vidc: Remove featurizationPraneeth Paladugu
Remove following featurization. - MAX_RES_720P - MAX_RES_1080P - _MSM8974_ Change-Id: Id3bb3238b63f469452e29d9324b1d72ef0216a6c
2016-12-29mm-video-v4l2: venc: Rename msmfalcon to sdm660Santhosh Behara
Update the code name from msmfalcon to sdm660. As part of this, update the filename containing "falcon" and files content containing "falcon". Change-Id: I0b7b461f800d8b95a1cf751527dd513240f1c35c
2016-12-12mm-video-v4l2: venc: enable PQ for msmfalconDeepak Kushwah
Add msmfalcon to the TARGETS_THAT_SUPPORT_PQ Change-Id: I061ef64d6d22a40cfcfb67aa38309f3753758118
2016-11-21 mm-video-v4l2: Replace msmcobalt to msm8998Chinmay Sawarkar
Mainline builds will use the new compilation tag "msm8998" instead of "msmcobalt". Hence need to replace msmcobalt to msm8998. CRs-Fixed: 1088521 Change-Id: I1e512ac1a7eab3b3662a3ea2efa893914916de97
2016-11-07mm-video-v4l2: venc: Add a utility to modify/access HAL1 meta-bufferPraveen Chavan
Extract the utility methods to access/modify fds/ints in meta-buffer payload from BatchInfo class and move to an external class. This provides for a common and uniform way to access the meta-buffer-payload for all clients (omx-venc, camera-HAL1 and framework-extensions). Furthermore, generalize the access for batch and non-batch mode in omx-venc by using these utility methods. CRs-Fixed: 1083833 Change-Id: I6eb4f8061d1eec309bfec2c25ee9d368620050d6
2016-09-15mm-video: remove hevc sw decoder and encoder filesManikanta Sivapala
- remove hevc sw decoder and encoder files - remove hevc hybrid decoder omx files. Change-Id: I6ec418f77df2a986e0ab90ee561b6e9f106a733e
2016-08-29mm-video-v4l2: vidc: venc: Fix PQ issuesAmit Shekhar
This change has following modifications- - Enable PQ for 8996, 8998 - Add VPE condition to decide PQ - Use fd list size to enumerate fds CRs-Fixed: 957844, 1025326 Change-Id: Ia9c90c15b3103340e7f4c5a48257689bc42d540d
2016-08-29mm-video-v4l2: vidc: venc: Add Adaptive QP supportAmit Shekhar
Add support for adaptive QP which is used to enhance the encoder quality. This QP information is sent to Venus through input extradata. This change also consolidates all extradata handling at one place. CRs-Fixed: 1025326, 957844 Change-Id: I95d473c23e17d2905793157db0d6b590195c5076
2016-08-17mm-video-v4l2: vidc: Fix read/write colorspace from/to gralloc-handlePraveen Chavan
Encoder: Read the colorspace from metadata in gralloc-handle and set the appropriate colorspace to the driver. Recommend color-aspects based on the colorspace of destination-YUV that C2D/Venus convert in case input is RGBA8888 Leave the unspecified aspects with client's-defaults, rather than setting them to enuemarated "unspecified" values. Decoder: Default the colorspace as indicated by client in case there is no color info in bitstream. Since VP8 encoder does not support encoding colot-info, default everything to 601-LR for now. Bug: 29550317 Change-Id: I603cd592647b3f9b81c4da714a72aae871ced25a
2016-06-15mm-video-v4l2: vidc: Enable VQZIP for msmcobaltChinmay Sawarkar
Set flag to enable VQZIP for msmcobalt. CRs-Fixed: 1027176 Change-Id: I77fd939df4472315c01210fe24d618c54cf5dd48
2016-06-15mm-video-v4l2: vidc: Enable UBWC for msmcobaltChinmay Sawarkar
Sets flag to enable UBWC for msmcobalt. CRs-Fixed: 1027176 Change-Id: I805c5daaaeca677b3df0cac921ffe915458a5b77
2016-06-09mm-video-v4l2: Enable compilation of libOmxSwVencMpeg4 for 8937Uma Mehta
adding 8937 to TARGETS_THAT_NEED_SW_VENC_MPEG4 to enable compilation of libOmxSwVencMpeg4 for h263 and mpeg4 recording Change-Id: If4f6d7cf33559d386cce07ce0188321dd24c70b6
2016-05-12mm-video-v4l2: vidc: CLANG compiler fixesSanthosh Behara
Fix CLANG compiler issues related to format specifiers, NULL checks etc. CRs-Fixed: 963720 Change-Id: I396a9c884b292db0b3be60e989e821aad80843bc
2016-05-12Merge branch 'av-userspace.lnx.1.0-dev.1.0' into 'av-userspace.lnx.2.0-dev'Santhosh Behara
Change-Id: I691bb031c55405569c332f01d479b93d83d2bea6
2016-05-12Revert "mm-video-v4l2: vidc: CLANG compiler fixes"Santhosh Behara
This reverts commit 314bb00442c4202b6cc386bea463c3a286a342bc. Change-Id: I75ab28dafdf9ffba5d1a65b6141f7ef4ebd4aea6
2016-04-28mm-video-v4l2: vidc: Add support for OMX_IndexConfigAndroidIntraRefreshArun Menon
OMX Component will support OMX_IndexConfigAndroidIntraRefresh only in loaded state. Change-Id: I213fed57842b94c333843871d6c555e1fb8784e5
2016-04-28mm-video-v4l2: vidc: CLANG compiler fixesAbdulla Anam
Fix CLANG compiler issues related to format specifiers, NULL checks etc. CRs-Fixed: 963720 Change-Id: Ib0b236cf75da2e4da3a93278a64f0d98efb6e04f
2016-04-20mm-video-v4l2: venc: update metadata-type used for HAL1 based recordingPraveen Chavan
Update metadata buffer type from kMetadataBufferTypeCameraSource to kMetadataBufferTypeNativeHandleSource as the latter is used by camera-HALv1 that resides in a separate process. Surface recording uses a different metadata as compared to legacy camera metadata (HAL1). Cast the gralloc-meta to appropriate struct to extract the handle Since buffer-size is not known conclusively at the allocation time of meta-handles, allow the least size to be allocated. But check the buffer size before accessing in ETB Bug: 26268807 Change-Id: I2cb40889517b4d740763bbde09e2fa4646b919e1
2016-04-11mm-video: vidc: Squashed changes for OMX componentAbdulla Anam
This commit has following squashed changes 411152d mm-video-v4l2: vidc: vdec: handle ftbs during reconfig and port disable f13191a mm-video-v4l2: vidc: vdec: Pass more data to clients 4054d33 mm-video-v4l2: vidc: vdec: Add property to disable UBWC for OPB 010bf01 mm-video-v4l2: vidc: Do not queue output buffer if flush is in progress 740a8bf mm-video-v4l2: vdec: Increase buffer count to support high fps 6d18827 mm-video-v4l2: vidc: vdec: Add support for S3D metadata ee76b77 mm-video: vidc: Reliably stop the message thread 8677c19 mm-video-v4l2: vidc: venc: Fix B-Frame handling 21024ac mm-video-v4l2: vidc: venc: Fix rotation issue for 180 degrees 56f749d mm-video-v4l2: vidc: venc: Fix profile and level setting issue 52e8cc4 mm-video-v4l2: vidc: venc: Bug fixes for VZIP 6f0e392 mm-video-v4l2: vidc: Enhance VQZIP checks 1bc2956 mm-video-v4l2: vidc: Ensure async_message_thread always exits 565211e5 mm-video-v4l2: vidc: venc: Fix issues with Hier P 8538cef2 mm-video-v4l2: vidc: venc: Synchronize ETB and config commands a11b610e mm-video: Add extensions to enable and configure ROI QP info (try 2) 0f38e8f8 mm-video-v4l2: Revert a couple of extradata commits as part of re-write 56a3bf04 mm-video-v4l2: vidc: vdec: Add support for low latency mode 1bdcc0362 mm-video-v4l2: vidc: venc: featurize VQZIP code 1c071d8fe mm-video-v4l2: vidc: venc: Fix Level calculation 1cf4aeaa8 mm-video-v4l2: vidc: venc: Set default POC type 10f18b978 mm-video-v4l2: vdec: Return buffers back to client for qbuf failure 1e65b50e7 mm-video-v4l2: vdec: Use global setprop to disable UBWC mode c7a6591ed mm-video-v4l2: vidc: venc: Fix VQZIP issues CRs-Fixed: 958673 Change-Id: I316d6491d79af21fb4494c9b824ed4237ce5f90d