Spacewar: Initial import
This commit is contained in:
119
proprietary/vendor/etc/media/video_system_specs.json
vendored
Normal file
119
proprietary/vendor/etc/media/video_system_specs.json
vendored
Normal file
@@ -0,0 +1,119 @@
|
||||
// If you modify this file,
|
||||
// 1. Push it to /vendor/etc/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,
|
||||
// this enables adaptive blur if possible by encoder.
|
||||
// this is preprocessing of encoder input YUV buffers
|
||||
"enc_auto_blur": true,
|
||||
// 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": false,
|
||||
// target supports cvp for all encode usecases.
|
||||
"enc_cvp_enable": true,
|
||||
// It is used to enable fastCV engine for flip support in the absence of VPSS hardware
|
||||
// support.
|
||||
"enc_vpss_flip": true
|
||||
},
|
||||
"Presets": {
|
||||
// this is used for secure decoding performance boost handling
|
||||
// prefech sizes of internal & output buffers
|
||||
// internal : 200 MB (200 X 1)
|
||||
// output : 200 MB (12.5 X 16)
|
||||
"dec_sec_prefetch_size_internal": 209715200,
|
||||
"dec_sec_prefetch_size_output": 13434880,
|
||||
// control to force enable linear color format for decoder
|
||||
// if this is enable, then decoder will produce linear color format output.
|
||||
// it is bitmask:
|
||||
// 0x0: no override,
|
||||
// 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": 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": 1,
|
||||
// maximum MB/sec for default B frame enablement case
|
||||
// With B-frame enabled, Hana allows resolutions up to 1920x1088@60fps
|
||||
"enc_max_b_frame_mbs_per_sec": 489600,
|
||||
// maximum decoder output rate if it is Nuplayer path and
|
||||
// player sets max refresh rate
|
||||
"max_supported_render_rate": 60,
|
||||
// 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:
|
||||
// 0x0: no override,
|
||||
// 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
|
||||
"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": 0,
|
||||
"enc_chroma_qp_offset_8_bit": 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,
|
||||
// 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": 0,
|
||||
|
||||
// WARNING:
|
||||
// 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
|
||||
// video driver version capability used for skype MediaCodec
|
||||
"vt_driver_version": 534123018,
|
||||
// maximum LTR cont for encoder
|
||||
"ltr_max_count": 2,
|
||||
// Encoder preprocessing: maximum encoder downscalar factor possible in width or height or both direction
|
||||
"preprocess_max_downscale_factor": 8,
|
||||
// encoder support rotation as preprocessing
|
||||
"preprocess_rotation": 1,
|
||||
// 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": 4
|
||||
},
|
||||
// list of codec plugin libraries to be loaded into codec registry
|
||||
"QC2CodecPlugins": [
|
||||
"libqc2vppfilter.so"
|
||||
],
|
||||
|
||||
// List of HW codecs enabled for this target
|
||||
"codecs-available": {
|
||||
"decoders": [
|
||||
"c2.qti.avc.decoder",
|
||||
"c2.qti.avc.decoder.secure",
|
||||
"c2.qti.hevc.decoder",
|
||||
"c2.qti.hevc.decoder.secure",
|
||||
"c2.qti.vp8.decoder",
|
||||
"c2.qti.vp9.decoder",
|
||||
"c2.qti.vp9.decoder.secure",
|
||||
"c2.qti.mpeg2.decoder",
|
||||
"c2.qti.mpeg2.decoder.secure"
|
||||
],
|
||||
"encoders": [
|
||||
"c2.qti.avc.encoder",
|
||||
"c2.qti.hevc.encoder",
|
||||
"c2.qti.vp8.encoder"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user