sm6375-common: Use the veux 64-bit Codec2 for the legacy video driver
This commit is contained in:
1 parent
7d07c7d7cd
commit
3830a00cfc
16 files changed
+300
-498
No files matched your search
+17
-51
@@ -6,8 +6,6 @@
|
||||
"Video": {
|
||||
// feature list used for enable/disable
|
||||
"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.
|
||||
// custom matrix is defined in kernel driver
|
||||
// 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
|
||||
// don't support rotate feature in video core. TODO - Rename as enc_vpss_rotation
|
||||
"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,
|
||||
// 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
|
||||
// support.
|
||||
"enc_vpss_flip": false,
|
||||
// this enables RGB conversion with image convertor
|
||||
"rgb_image_converter": 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
|
||||
// This is used to limit secure usecase buffer count. Changes dynamic to static count
|
||||
"dec_secure_static_count": true
|
||||
},
|
||||
"Presets": {
|
||||
// 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
|
||||
// 0x2: 8 bit: compressed format. 10 bit: linear format
|
||||
// 0x3: 8 bit: linear format. 10 bit: linear format
|
||||
"dec_linear_color_format": 3,
|
||||
// maximum MB/sec for default single non-ref b-frame enablement case
|
||||
"enc_single_nonref_b_max_mbs_per_sec": 0,
|
||||
// maximum MB/frame for default adaptive b-frame enablement case
|
||||
"enc_single_nonref_b_max_mbs_per_frame": 0,
|
||||
// maximum width for default adaptive b-frame enablement case
|
||||
"enc_single_nonref_b_max_width": 0,
|
||||
"dec_linear_color_format": 0,
|
||||
// this control enables default b frame encoding
|
||||
// if it is within capability of B frame encode case
|
||||
// this is used only in MediaRecorder path
|
||||
// max B frame count between two P
|
||||
"enc_default_bframe_count": 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
|
||||
// player sets max refresh rate
|
||||
"max_supported_render_rate": 120,
|
||||
@@ -101,17 +76,12 @@
|
||||
// 0x1: 8 bit: enable. 10 bit: disable
|
||||
// 0x2: 8 bit: disable. 10 bit: enable
|
||||
// 0x3: 8 bit: enable. 10 bit: enable
|
||||
"enc_bitrate_savings": 0,
|
||||
"enc_bitrate_savings": 1,
|
||||
// minimum encoder bitrate boost
|
||||
"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)
|
||||
// 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
|
||||
"default_primaries_override" : 0,
|
||||
|
||||
@@ -119,12 +89,7 @@
|
||||
// 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.
|
||||
// below are various capability used
|
||||
"num_vpp_pipes": 1,
|
||||
// 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,
|
||||
// maximum LTR cont for encoder
|
||||
"ltr_max_count": 2,
|
||||
@@ -132,8 +97,10 @@
|
||||
"preprocess_max_downscale_factor": 0,
|
||||
// encoder support rotation as preprocessing
|
||||
"preprocess_rotation": 1,
|
||||
// Allowed encoder Hier-P maximum layer count: [0 - 6]
|
||||
"enc_hier_p_max_temporal_layer_count": 6
|
||||
// encoder maxium Hier-P 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
|
||||
@@ -146,8 +113,7 @@
|
||||
"c2.qti.hevc.decoder.low_latency",
|
||||
"c2.qti.hevc.decoder.secure",
|
||||
"c2.qti.vp9.decoder",
|
||||
"c2.qti.vp9.decoder.secure",
|
||||
"c2.qti.vp9.decoder.low_latency"
|
||||
"c2.qti.vp9.decoder.secure"
|
||||
],
|
||||
"encoders": [
|
||||
"c2.qti.avc.encoder",
|
||||
|
||||
+15
-42
@@ -90,16 +90,16 @@
|
||||
</Settings>
|
||||
<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"/>
|
||||
<Limit name="size" min="96x96" max="1920x1088" />
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<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="concurrent-instances" max="16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
@@ -110,12 +110,12 @@
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<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="concurrent-instances" max="16" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
@@ -128,10 +128,10 @@
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.hevc.decoder" type="video/hevc" >
|
||||
@@ -140,10 +140,9 @@
|
||||
<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-120000000" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
<Limit name="performance-point-1280x720" value="120" />
|
||||
@@ -154,10 +153,9 @@
|
||||
<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-120000000" />
|
||||
<Limit name="bitrate" range="1-60000000" />
|
||||
<Limit name="frame-rate" range="1-120" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
@@ -172,7 +170,6 @@
|
||||
<Limit name="bitrate" range="1-35000000" />
|
||||
<Limit name="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
@@ -187,22 +184,7 @@
|
||||
<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" />
|
||||
<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="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="60" />
|
||||
</MediaCodec>
|
||||
<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="frame-rate" range="1-60" />
|
||||
<Feature name="adaptive-playback" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<Feature name="secure-playback" required="true" />
|
||||
<Feature name="low-latency" />
|
||||
<Limit name="concurrent-instances" max="3" />
|
||||
<Limit name="performance-point-1920x1080" value="30" />
|
||||
</MediaCodec>
|
||||
@@ -266,16 +246,11 @@
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<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="concurrent-instances" max="16" />
|
||||
<Feature name="intra-refresh" />
|
||||
<Feature name="can-swap-width-height" required="true" />
|
||||
<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-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
@@ -285,13 +260,11 @@
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<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="concurrent-instances" max="16" />
|
||||
<Feature name="bitrate-modes" value="VBR,CBR" />
|
||||
<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-1280x720" value="120" />
|
||||
</MediaCodec>
|
||||
@@ -301,12 +274,12 @@
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<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="concurrent-instances" max="16" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="CQ" />
|
||||
<Limit name="performance-point-512x512" value="2025" />
|
||||
<Limit name="performance-point-512x512" value="3825" />
|
||||
</MediaCodec>
|
||||
<MediaCodec name="c2.qti.heic.encoder" type="image/vnd.android.heic">
|
||||
<Alias name="OMX.qcom.video.encoder.heic"/>
|
||||
@@ -314,9 +287,9 @@
|
||||
<Limit name="alignment" value="2x2" />
|
||||
<Limit name="block-size" value="16x16" />
|
||||
<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="concurrent-instances" max="6" />
|
||||
<Limit name="concurrent-instances" max="16" />
|
||||
<Limit name="quality" range="0-100" default="80" />
|
||||
<Feature name="bitrate-modes" value="CQ" />
|
||||
<Limit name="performance-point-8192x4320" value="3" />
|
||||
|
||||
Reference in new issue
Block a user