sm6375-common: Use the veux 64-bit Codec2 for the legacy video driver

This commit is contained in:
TheImposter65 committed 2026-11-13 15:40:58 +00:00
1 parent 7d07c7d7cd
commit 3830a00cfc
16 files changed
+300 -498

No files matched your search

+254 -391
View File
@@ -10494,70 +10494,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libqc2colorconvertfilter",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqc2colorconvertfilter.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_mockfilter",
"libqc2filter",
"libqcodec2_basecodec",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqc2filter",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqc2filter.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libqcbor", name: "libqcbor",
owner: "motorola", owner: "motorola",
@@ -10684,333 +10620,6 @@ cc_prebuilt_library_shared {
soc_specific: true, soc_specific: true,
} }
cc_prebuilt_library_shared {
name: "libqcodec2_base",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_base.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_basecodec",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_basecodec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_platform",
"qti.video.utils.videobufferlayout",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_core",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_core.so",
],
shared_libs: [
"libcodec2_shim",
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_hooks",
"libqcodec2_utils",
"libqcodec2_platform",
"libqcodec2_basecodec",
"qti.video.utils.videobufferlayout",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_filterbase",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_filterbase.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_basecodec",
"qti.video.utils.videobufferlayout",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_hooks",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_hooks.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_mockfilter",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_mockfilter.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libqcodec2_base",
"libqcodec2_platform",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libcodec2_vndk",
"libqcodec2_v4l2codec",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_mockqc2filter",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_mockqc2filter.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libqcodec2_filterbase",
"qti.video.utils.videobufferlayout",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_platform",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_platform.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libjsoncpp",
"qti.video.utils.videobufferlayout",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_utils",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_utils.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_platform",
"libhidlbase",
"libgrallocutils",
"libgralloctypes",
"libgralloc.qti",
"libbinder_ndk",
"vendor.qti.hardware.display.config-V5-ndk",
"android.hardware.graphics.mapper@3.0",
"android.hardware.graphics.mapper@4.0",
"libnativewindow",
"libvideotxr",
"qti.video.utils.videobufferlayout",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_v4l2codec",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_v4l2codec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libqcodec2_base",
"libqcodec2_platform",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libcodec2_vndk",
"libvmmem",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared { cc_prebuilt_library_shared {
name: "libqconfigclient", name: "libqconfigclient",
owner: "motorola", owner: "motorola",
@@ -17946,3 +17555,257 @@ install_symlink {
installed_location: "lib64/libq3dtools_adreno.so", installed_location: "lib64/libq3dtools_adreno.so",
symlink_target: "/vendor/lib64/egl/libq3dtools_adreno.so", symlink_target: "/vendor/lib64/egl/libq3dtools_adreno.so",
} }
cc_prebuilt_library_shared {
name: "libqcodec2_base",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_base.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_basecodec",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_basecodec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_utils",
"libqcodec2_platform",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_core",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_core.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_hooks",
"libqcodec2_utils",
"libqcodec2_platform",
"libqcodec2_basecodec",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_hooks",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_hooks.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_mockfilter",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_mockfilter.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libqcodec2_base",
"libqcodec2_platform",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libcodec2_vndk",
"libqcodec2_v4l2codec",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_platform",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_platform.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libjsoncpp",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_utils",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_utils.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libcodec2_vndk",
"libqcodec2_base",
"libqcodec2_platform",
"libhidlbase",
"libgrallocutils",
"libgralloctypes",
"libgralloc.qti",
"libdisplayconfig.qti",
"android.hardware.graphics.mapper@3.0",
"android.hardware.graphics.mapper@4.0",
"libnativewindow",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
cc_prebuilt_library_shared {
name: "libqcodec2_v4l2codec",
owner: "motorola",
strip: {
none: true,
},
target: {
android_arm64: {
srcs: [
"proprietary/vendor/lib64/libqcodec2_v4l2codec.so",
],
shared_libs: [
"libutils",
"libcutils",
"liblog",
"libqcodec2_base",
"libqcodec2_platform",
"libqcodec2_utils",
"libqcodec2_basecodec",
"libcodec2_vndk",
"libc++",
"libc",
"libm",
"libdl",
],
},
},
compile_multilib: "64",
prefer: true,
soc_specific: true,
}
+17 -51
View File
@@ -6,8 +6,6 @@
"Video": { "Video": {
// feature list used for enable/disable // feature list used for enable/disable
"Features": { "Features": {
// This enables single buffer multi-offset feature for decoder input buffer
"api_same_input_buffer_support": true,
// This is used for encoder color space conversion with custom matrix. // This is used for encoder color space conversion with custom matrix.
// custom matrix is defined in kernel driver // custom matrix is defined in kernel driver
// this triggers to enable CSC to 709LR with custom matrix // this triggers to enable CSC to 709LR with custom matrix
@@ -18,36 +16,12 @@
// this enables encoding rotate by C2D. it is used for some low tier end chipsets which // this enables encoding rotate by C2D. it is used for some low tier end chipsets which
// don't support rotate feature in video core. TODO - Rename as enc_vpss_rotation // don't support rotate feature in video core. TODO - Rename as enc_vpss_rotation
"enc_c2d_rotation": true, "enc_c2d_rotation": true,
// target supports cvp for all encode usecases.
"enc_cvp_enable": false,
// encoder csc enable
"enc_csc_enable": false,
"platform_disable_ubwc": true, "platform_disable_ubwc": true,
// this enables pipeline code for querying capabilities and creating codecs
"pipelining": false,
// this enables pre-processing pipeline
"pre_processing_pipelining": false,
// It is used to enable fastCV engine for flip support in the absence of VPSS hardware // It is used to enable fastCV engine for flip support in the absence of VPSS hardware
// support. // support.
"enc_vpss_flip": false, "enc_vpss_flip": false,
// this enables RGB conversion with image convertor // This is used to limit secure usecase buffer count. Changes dynamic to static count
"rgb_image_converter": true, "dec_secure_static_count": true
// perf controller support for decoder and encoder
"perf_control_enable": true,
// this will enable the graphics pipeline for
// CSC and converting images to other format and
// Rotating the frame etc
"vtxr_enable": true,
// this will enable software I/O chache coherency
"sw_cache_coherency": true,
// - this enables sw fence for playback usecases.
// - this is used for debugging purpose only.
// - this requires "debug_private_dec_picture_order"
// to be set to true as well to enable SW fence feature
"debug_private_dec_sw_fence": false,
// - this enables picture order for playback usecases
// - this is used for debugging purpose only.
"debug_private_dec_picture_order": false
}, },
"Presets": { "Presets": {
// platform value to force HDR disable. if this value is enabled // platform value to force HDR disable. if this value is enabled
@@ -70,13 +44,14 @@
// 0x1: enable 8 bit: linear format. 10 bit: compressed format // 0x1: enable 8 bit: linear format. 10 bit: compressed format
// 0x2: 8 bit: compressed format. 10 bit: linear format // 0x2: 8 bit: compressed format. 10 bit: linear format
// 0x3: 8 bit: linear format. 10 bit: linear format // 0x3: 8 bit: linear format. 10 bit: linear format
"dec_linear_color_format": 3, "dec_linear_color_format": 0,
// maximum MB/sec for default single non-ref b-frame enablement case // this control enables default b frame encoding
"enc_single_nonref_b_max_mbs_per_sec": 0, // if it is within capability of B frame encode case
// maximum MB/frame for default adaptive b-frame enablement case // this is used only in MediaRecorder path
"enc_single_nonref_b_max_mbs_per_frame": 0, // max B frame count between two P
// maximum width for default adaptive b-frame enablement case "enc_default_bframe_count": 0,
"enc_single_nonref_b_max_width": 0, // maximum MB/sec for default B frame enablement case
"enc_max_b_frame_mbs_per_sec": 0,
// maximum decoder output rate if it is Nuplayer path and // maximum decoder output rate if it is Nuplayer path and
// player sets max refresh rate // player sets max refresh rate
"max_supported_render_rate": 120, "max_supported_render_rate": 120,
@@ -101,17 +76,12 @@
// 0x1: 8 bit: enable. 10 bit: disable // 0x1: 8 bit: enable. 10 bit: disable
// 0x2: 8 bit: disable. 10 bit: enable // 0x2: 8 bit: disable. 10 bit: enable
// 0x3: 8 bit: enable. 10 bit: enable // 0x3: 8 bit: enable. 10 bit: enable
"enc_bitrate_savings": 0, "enc_bitrate_savings": 1,
// minimum encoder bitrate boost // minimum encoder bitrate boost
"enc_bitrate_boost": 15, "enc_bitrate_boost": 15,
// maximum and minimum QPs for Encoders
// default: 10 - 40
// allowed override value: 0 - 51
"enc_qp_min": 10,
"enc_qp_max": 40,
// time threshold of output buffer allocation loop since last input buffer queued(ms) // time threshold of output buffer allocation loop since last input buffer queued(ms)
// 0 --> no such limitation (loop until allocation done) // 0 --> no such limitation (loop until allocation done)
"max_retry_alloc_output_timeout": 10000, //IKSWW-101928:set time threshold to freeze app at background "max_retry_alloc_output_timeout": 0,
// override default primaries to BT709 for >=UHD decode // override default primaries to BT709 for >=UHD decode
"default_primaries_override" : 0, "default_primaries_override" : 0,
@@ -119,12 +89,7 @@
// Please DON'T change these values, if you don't know what you are doing. // Please DON'T change these values, if you don't know what you are doing.
// These are the Video HAL capabilities. Video HAL may not function properly with wrong values. // These are the Video HAL capabilities. Video HAL may not function properly with wrong values.
// below are various capability used // below are various capability used
"num_vpp_pipes": 1,
// video driver version capability used for skype MediaCodec // video driver version capability used for skype MediaCodec
// Hex Value : 0xPPPPYYMM
// PPPP [2 Bytes] - Product ID
// YY [1 Byte ] - Year (last two digits of year {00..99})
// MM [1 Byte ] - Month (01..12)
"vt_driver_version": 534123018, "vt_driver_version": 534123018,
// maximum LTR cont for encoder // maximum LTR cont for encoder
"ltr_max_count": 2, "ltr_max_count": 2,
@@ -132,8 +97,10 @@
"preprocess_max_downscale_factor": 0, "preprocess_max_downscale_factor": 0,
// encoder support rotation as preprocessing // encoder support rotation as preprocessing
"preprocess_rotation": 1, "preprocess_rotation": 1,
// Allowed encoder Hier-P maximum layer count: [0 - 6] // encoder maxium Hier-P layer count: 6
"enc_hier_p_max_temporal_layer_count": 6 "max_temporal_layer_pframe_count": 6,
// encoder maximum Hier-B layer count: 0
"max_temporal_layer_bframe_count": 0
}, },
// List of HW codecs enabled for this target // List of HW codecs enabled for this target
@@ -146,8 +113,7 @@
"c2.qti.hevc.decoder.low_latency", "c2.qti.hevc.decoder.low_latency",
"c2.qti.hevc.decoder.secure", "c2.qti.hevc.decoder.secure",
"c2.qti.vp9.decoder", "c2.qti.vp9.decoder",
"c2.qti.vp9.decoder.secure", "c2.qti.vp9.decoder.secure"
"c2.qti.vp9.decoder.low_latency"
], ],
"encoders": [ "encoders": [
"c2.qti.avc.encoder", "c2.qti.avc.encoder",
+15 -42
View File
@@ -90,16 +90,16 @@
</Settings> </Settings>
<Decoders> <Decoders>
<!-- C2 decoders --> <!-- C2 decoders -->
<MediaCodec name="c2.qti.avc.decoder" type="video/avc" > <MediaCodec name="c2.qti.avc.decoder" type="video/avc">
<Alias name="OMX.qcom.video.decoder.avc"/> <Alias name="OMX.qcom.video.decoder.avc"/>
<Limit name="size" min="96x96" max="1920x1088" /> <Limit name="size" min="96x96" max="1920x1088" />
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" range="36-489600" /> <Limit name="blocks-per-second" range="36-489600" />
<Limit name="bitrate" range="1-120000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-120" /> <Limit name="frame-rate" range="1-120" />
<Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1080" value="60" /> <Limit name="performance-point-1920x1080" value="60" />
<Limit name="performance-point-1280x720" value="120" /> <Limit name="performance-point-1280x720" value="120" />
@@ -110,12 +110,12 @@
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" range="36-489600" /> <Limit name="blocks-per-second" range="36-489600" />
<Limit name="bitrate" range="1-120000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-120" /> <Limit name="frame-rate" range="1-120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" />
<Feature name="low-latency" /> <Feature name="low-latency" />
<Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1080" value="60" /> <Limit name="performance-point-1920x1080" value="60" />
<Limit name="performance-point-1280x720" value="120" /> <Limit name="performance-point-1280x720" value="120" />
</MediaCodec> </MediaCodec>
@@ -128,10 +128,10 @@
<Limit name="bitrate" range="1-35000000" /> <Limit name="bitrate" range="1-35000000" />
<Limit name="frame-rate" range="1-60" /> <Limit name="frame-rate" range="1-60" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" />
<Feature name="low-latency" /> <Feature name="low-latency" />
<Feature name="secure-playback" required="true" /> <Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="3" /> <Limit name="concurrent-instances" max="3" />
<Limit name="concurrent-instances" max="3" />
<Limit name="performance-point-1920x1080" value="30" /> <Limit name="performance-point-1920x1080" value="30" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" > <MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
@@ -140,10 +140,9 @@
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="36" max="489600" /> <Limit name="blocks-per-second" min="36" max="489600" />
<Limit name="bitrate" range="1-120000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-120" /> <Limit name="frame-rate" range="1-120" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1080" value="60" /> <Limit name="performance-point-1920x1080" value="60" />
<Limit name="performance-point-1280x720" value="120" /> <Limit name="performance-point-1280x720" value="120" />
@@ -154,10 +153,9 @@
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="36" max="489600" /> <Limit name="blocks-per-second" min="36" max="489600" />
<Limit name="bitrate" range="1-120000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-120" /> <Limit name="frame-rate" range="1-120" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" />
<Feature name="low-latency" /> <Feature name="low-latency" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="performance-point-1920x1080" value="60" /> <Limit name="performance-point-1920x1080" value="60" />
@@ -172,7 +170,6 @@
<Limit name="bitrate" range="1-35000000" /> <Limit name="bitrate" range="1-35000000" />
<Limit name="frame-rate" range="1-60" /> <Limit name="frame-rate" range="1-60" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" />
<Feature name="low-latency" /> <Feature name="low-latency" />
<Feature name="secure-playback" required="true" /> <Feature name="secure-playback" required="true" />
<Limit name="concurrent-instances" max="3" /> <Limit name="concurrent-instances" max="3" />
@@ -187,22 +184,7 @@
<Limit name="bitrate" range="1-60000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-60" /> <Limit name="frame-rate" range="1-60" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" /> <Limit name="concurrent-instances" max="3" />
<Limit name="concurrent-instances" max="6" />
<Limit name="performance-point-1920x1080" value="60" />
</MediaCodec>
<MediaCodec name="c2.qti.vp9.decoder.low_latency" type="video/x-vnd.on2.vp9" >
<Alias name="OMX.qcom.video.decoder.vp9.low_latency"/>
<Limit name="size" min="96x96" max="1920x1088" />
<Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="36" max="489600" />
<Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-60" />
<Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" />
<Feature name="low-latency" />
<Limit name="concurrent-instances" max="6" />
<Limit name="performance-point-1920x1080" value="60" /> <Limit name="performance-point-1920x1080" value="60" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" > <MediaCodec name="c2.qti.vp9.decoder.secure" type="video/x-vnd.on2.vp9" >
@@ -214,9 +196,7 @@
<Limit name="bitrate" range="1-35000000" /> <Limit name="bitrate" range="1-35000000" />
<Limit name="frame-rate" range="1-60" /> <Limit name="frame-rate" range="1-60" />
<Feature name="adaptive-playback" /> <Feature name="adaptive-playback" />
<Feature name="can-swap-width-height" required="true" />
<Feature name="secure-playback" required="true" /> <Feature name="secure-playback" required="true" />
<Feature name="low-latency" />
<Limit name="concurrent-instances" max="3" /> <Limit name="concurrent-instances" max="3" />
<Limit name="performance-point-1920x1080" value="30" /> <Limit name="performance-point-1920x1080" value="30" />
</MediaCodec> </MediaCodec>
@@ -266,16 +246,11 @@
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="64" max="489600" /> <Limit name="blocks-per-second" min="64" max="489600" />
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-120" /> <Limit name="frame-rate" range="1-120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="intra-refresh" /> <Feature name="intra-refresh" />
<Feature name="can-swap-width-height" required="true" />
<Feature name="bitrate-modes" value="VBR,CBR" /> <Feature name="bitrate-modes" value="VBR,CBR" />
<Tuning name="vq-target-bpp-1920x1080" value="3.80" />
<Tuning name="vq-target-bpp-1280x720" value="4.50" />
<Tuning name="vq-target-bpp-960x540" value="4.63" />
<Tuning name="vq-target-bpp-640x480" value="5.25" />
<Limit name="performance-point-1920x1080" value="60" /> <Limit name="performance-point-1920x1080" value="60" />
<Limit name="performance-point-1280x720" value="120" /> <Limit name="performance-point-1280x720" value="120" />
</MediaCodec> </MediaCodec>
@@ -285,13 +260,11 @@
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="64" max="489600" /> <Limit name="blocks-per-second" min="64" max="489600" />
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-120" /> <Limit name="frame-rate" range="1-120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Feature name="bitrate-modes" value="VBR,CBR" /> <Feature name="bitrate-modes" value="VBR,CBR" />
<Feature name="intra-refresh" /> <Feature name="intra-refresh" />
<Feature name="can-swap-width-height" required="true" />
<Tuning name="vq-target-bpp-1920x1080" value="3" />
<Limit name="performance-point-1920x1080" value="60" /> <Limit name="performance-point-1920x1080" value="60" />
<Limit name="performance-point-1280x720" value="120" /> <Limit name="performance-point-1280x720" value="120" />
</MediaCodec> </MediaCodec>
@@ -301,12 +274,12 @@
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="64" max="786432" /> <Limit name="blocks-per-second" min="64" max="786432" />
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-120" /> <Limit name="frame-rate" range="1-120" />
<Limit name="concurrent-instances" max="16" /> <Limit name="concurrent-instances" max="16" />
<Limit name="quality" range="0-100" default="80" /> <Limit name="quality" range="0-100" default="80" />
<Feature name="bitrate-modes" value="CQ" /> <Feature name="bitrate-modes" value="CQ" />
<Limit name="performance-point-512x512" value="2025" /> <Limit name="performance-point-512x512" value="3825" />
</MediaCodec> </MediaCodec>
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic"> <MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
<Alias name="OMX.qcom.video.encoder.heic"/> <Alias name="OMX.qcom.video.encoder.heic"/>
@@ -314,9 +287,9 @@
<Limit name="alignment" value="2x2" /> <Limit name="alignment" value="2x2" />
<Limit name="block-size" value="16x16" /> <Limit name="block-size" value="16x16" />
<Limit name="blocks-per-second" min="64" max="786432" /> <Limit name="blocks-per-second" min="64" max="786432" />
<Limit name="bitrate" range="1-100000000" /> <Limit name="bitrate" range="1-60000000" />
<Limit name="frame-rate" range="1-20" /> <Limit name="frame-rate" range="1-20" />
<Limit name="concurrent-instances" max="6" /> <Limit name="concurrent-instances" max="16" />
<Limit name="quality" range="0-100" default="80" /> <Limit name="quality" range="0-100" default="80" />
<Feature name="bitrate-modes" value="CQ" /> <Feature name="bitrate-modes" value="CQ" />
<Limit name="performance-point-8192x4320" value="3" /> <Limit name="performance-point-8192x4320" value="3" />
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+14 -14
View File
@@ -470,8 +470,6 @@ PRODUCT_COPY_FILES += \
vendor/motorola/sm6375-common/proprietary/vendor/etc/init/wfdvndservice.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/wfdvndservice.rc \ vendor/motorola/sm6375-common/proprietary/vendor/etc/init/wfdvndservice.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/wfdvndservice.rc \
vendor/motorola/sm6375-common/proprietary/vendor/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \ vendor/motorola/sm6375-common/proprietary/vendor/etc/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
vendor/motorola/sm6375-common/proprietary/vendor/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \ vendor/motorola/sm6375-common/proprietary/vendor/etc/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
vendor/motorola/sm6375-common/proprietary/vendor/etc/media_blair/video_system_specs.json:$(TARGET_COPY_OUT_VENDOR)/etc/media_blair/video_system_specs.json \
vendor/motorola/sm6375-common/proprietary/vendor/etc/media_codecs_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_blair.xml \
vendor/motorola/sm6375-common/proprietary/vendor/etc/media_codecs_performance_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_blair.xml \ vendor/motorola/sm6375-common/proprietary/vendor/etc/media_codecs_performance_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance_blair.xml \
vendor/motorola/sm6375-common/proprietary/vendor/etc/media_profiles_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_blair.xml \ vendor/motorola/sm6375-common/proprietary/vendor/etc/media_profiles_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_blair.xml \
vendor/motorola/sm6375-common/proprietary/vendor/etc/microphone_characteristics.xml:$(TARGET_COPY_OUT_VENDOR)/etc/microphone_characteristics.xml \ vendor/motorola/sm6375-common/proprietary/vendor/etc/microphone_characteristics.xml:$(TARGET_COPY_OUT_VENDOR)/etc/microphone_characteristics.xml \
@@ -642,22 +640,10 @@ PRODUCT_PACKAGES += \
libpdmapper \ libpdmapper \
libpdnotifier \ libpdnotifier \
libperipheral_client \ libperipheral_client \
libqc2colorconvertfilter \
libqc2filter \
libqcbor \ libqcbor \
libqcc_file_agent \ libqcc_file_agent \
libqcc_sdk \ libqcc_sdk \
libqcci_legacy \ libqcci_legacy \
libqcodec2_base \
libqcodec2_basecodec \
libqcodec2_core \
libqcodec2_filterbase \
libqcodec2_hooks \
libqcodec2_mockfilter \
libqcodec2_mockqc2filter \
libqcodec2_platform \
libqcodec2_utils \
libqcodec2_v4l2codec \
libqconfigclient \ libqconfigclient \
libqdcm-algo \ libqdcm-algo \
libqdcm-json-mode-parser \ libqdcm-json-mode-parser \
@@ -942,3 +928,17 @@ PRODUCT_PACKAGES += \
PRODUCT_BOOT_JARS += \ PRODUCT_BOOT_JARS += \
WfdCommon WfdCommon
PRODUCT_COPY_FILES += \
vendor/motorola/sm6375-common/proprietary/vendor/etc/media_blair/video_system_specs.json:$(TARGET_COPY_OUT_VENDOR)/etc/media_blair/video_system_specs.json \
vendor/motorola/sm6375-common/proprietary/vendor/etc/media_codecs_blair.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_blair.xml
PRODUCT_PACKAGES += \
libqcodec2_base \
libqcodec2_basecodec \
libqcodec2_core \
libqcodec2_hooks \
libqcodec2_mockfilter \
libqcodec2_platform \
libqcodec2_utils \
libqcodec2_v4l2codec