diff --git a/peridot-vendor.mk b/peridot-vendor.mk index 42b70dd..9fdba17 100644 --- a/peridot-vendor.mk +++ b/peridot-vendor.mk @@ -1395,10 +1395,8 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/peridot/proprietary/vendor/etc/libnfc-qrd-SN100.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-qrd-SN100.conf \ vendor/xiaomi/peridot/proprietary/vendor/etc/libnfc-qrd-SN100_38_4MHZ.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-qrd-SN100_38_4MHZ.conf \ vendor/xiaomi/peridot/proprietary/vendor/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ - vendor/xiaomi/peridot/proprietary/vendor/etc/media_cliffs_v0/video_system_specs.json:$(TARGET_COPY_OUT_VENDOR)/etc/media_cliffs_v0/video_system_specs.json \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2_audio.xml \ - vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_cliffs_v0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_cliffs_v0.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_dolby_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_dolby_audio.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_google_c2.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_c2.xml \ @@ -1407,7 +1405,6 @@ PRODUCT_COPY_FILES += \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml \ - vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_performance_cliffs_v0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_cliffs_v0.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_codecs_vendor_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_vendor_audio.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \ vendor/xiaomi/peridot/proprietary/vendor/etc/media_profiles_V1_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \ diff --git a/proprietary/vendor/etc/media_cliffs_v0/video_system_specs.json b/proprietary/vendor/etc/media_cliffs_v0/video_system_specs.json deleted file mode 100644 index 5509140..0000000 --- a/proprietary/vendor/etc/media_cliffs_v0/video_system_specs.json +++ /dev/null @@ -1,109 +0,0 @@ -// If you modify this file, -// 1. Push it to /vendor/etc/media_pineapple/video_system_specs.json on the device -// 2. Kill media.hwcodec to get the new changed values. -// Note: Please do not use hexadecimal values 0x in this file. -{ - "Video": { - // feature list used for enable/disable - "Features": { - // This is used for encoder color space conversion with custom matrix. - // custom matrix is defined in kernel driver - // this triggers to enable CSC to 709LR with custom matrix - "enc_csc_custom_matrix": false, - // encoder csc enable - "enc_csc_enable": false - }, - "Presets": { - // control to force enable linear color format for encoder - // if this is enable, then encoder will ask camera via - // consumer flag to inform usage of linear color format. - // it is used only for camera path. can't be used for non-camera producer case - // it is bitmask: - // 0: no override, - // 1: enable 8 bit: linear format. 10 bit: compressed format - // 2: 8 bit: compressed format. 10 bit: linear format - // 3: 8 bit: linear format. 10 bit: linear format - "enc_linear_color_format": 0, - // override chroma qp offset value for 8 and 10 bits: - // default: 0 - // allowed override value: -12 - "enc_chroma_qp_offset_10_bit": -12, - "enc_chroma_qp_offset_8_bit": 0, - // video certified version capability used for MediaCodec - MLVEC - "vt_certified_version": 0, - //encoder bitrate savings control (CAC) - content adaptive coding feature - // it is bitmask. - // 0x0: disable CAC - // 0x1: 8 bit: enable. 10 bit: disable - // 0x2: 8 bit: disable. 10 bit: enable - // 0x3: 8 bit: enable. 10 bit: enable - "enc_bitrate_savings": 3, - // max input work count, max output work done in one dump file - // if frame count in dump file is larger than max work count, - // will dump in a new file - // if set to 0, this feature is not enabled, all frames will dump - // into one file. - //This is debug feature, can slow down performance, work only for non secure case. - "max_input_work_count_for_dump": 0, - // Set max input dump count, max output work donw to limit dump file size. - // It specifies number of input or output worked dumped. - // Only keep last two dump files, remove all others. - // No IDR cut for new file. If a few frames mosaic at beginning, it is expected. - // A txt file is generated to record frame index, - // frame size and frame type for every frame. - // Name of txt file is like 20230512_142335_18.txt, 15 bytes system time, last session id. - "max_output_work_done_for_dump": 0, - // dump will begin from this timestamp, in us - // like 3004355, this means dump from 3.004355s - "timestamp_begin_to_dump": 0, - // dump location, if not set, will use default location - // dump location like /data/vendor/media/qc2/, absolute path - // max dump location length should less than 128 bytes. - "dump_location": 0 - }, - - "ProsightModeBitrateTable": [ - // 2D-array of [min_mb, max_mb, bitrate] - [3600, 8100, 120], - [8100, 8640, 160], - [8640, 32420, 245] - ], - - "DolbyVision": { - "profiles": [4, 5, 8], - "max_main_tier_level": 12, - "max_high_tier_level": 12 - }, - - // list of codec plugin libraries to be loaded into codec registry - "QC2CodecPlugins": [ - "libqc2vppfilter.so", - "libqcodec2_imgtxrfilter.so", - //dolby post process - "libqcodec2_dolbydecoderfilter.so", - "libqcodec2_srfilter.so" - ], - - "QC2PreProcessingFilters": [ - "libqcodec2_imgtxrfilter.so", - "libqcodec2_cvpfilter.so", - "libqcodec2_streaminteg_filter.so" - ], - - "QC2PostProcessingFilters": { - "vppFilter": [ - "c2.mi.filter.sr" - ] - }, - // - // Put below optional codecs under "OptionalCodecs" to enable it - // "c2.qti.dv.decoder", - // "c2.qti.dv.decoder.secure", - // "c2.qti.dv.encoder" - // - "OptionalCodecs": [ - "c2.qti.dv.decoder", - "c2.qti.dv.decoder.secure" - ] - } -} diff --git a/proprietary/vendor/etc/media_codecs_cliffs_v0.xml b/proprietary/vendor/etc/media_codecs_cliffs_v0.xml deleted file mode 100644 index cd3d926..0000000 --- a/proprietary/vendor/etc/media_codecs_cliffs_v0.xml +++ /dev/null @@ -1,442 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/proprietary/vendor/etc/media_codecs_performance_cliffs_v0.xml b/proprietary/vendor/etc/media_codecs_performance_cliffs_v0.xml deleted file mode 100644 index 205a218..0000000 --- a/proprietary/vendor/etc/media_codecs_performance_cliffs_v0.xml +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -