root { module = "master"; codec_config_hdi_1_0 { match_attr = "codec_hdi1.0_capabilities"; use_openmax = false; // capsMask: 0x01, Adaptive playback; 0x02, Secure playback; 0x04, Tunnel playback. // allocateMask: 0x01, Input buffer allocated within the Codec module; // allocateMask: 0x02, Input buffer allocated by an external user; // allocateMask: 0x04, Output buffer allocated within the Codec module; // allocateMask: 0x08, Output buffer allocated by an external user. VideoHwEncoders { /* node name explaination -- HDF_video_hw_enc_avc_rk: ** ** HDF____________video__________________hw____________________enc____________avc_______rk ** | | | | | | ** HDF or OMX video or audio hardware or software encoder or decoder mime vendor */ HDF_video_hw_enc_avc_rk { mime = 1; type = 1; name = "codec.avc.hardware.encoder"; supportProfiles = [1, 32768, 2, 32768, 8, 32768]; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 40000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 1920; maxHeight = 1088; widthAlignment = 16; heightAlignment = 8; supportPixelFmts = [28, 24, 30, 22, 7, 3, 14, 13, 20, 26, 27, 12]; } } VideoHwDecoders { HDF_video_hw_dec_avc_rk { mime = 1; type = 0; name = "codec.avc.hardware.decoder"; supportProfiles = [1, 32768, 2, 32768, 8, 32768]; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 10000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 4096; maxHeight = 2160; widthAlignment = 8; heightAlignment = 8; supportPixelFmts = [24]; } HDF_video_hw_dec_mpeg2_rk { mime = 65531; type = 0; name = "HDF_video_hw_dec_mpeg2_rk"; supportProfiles = [0, 3, 1, 3]; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 10000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 1920; maxHeight = 1088; widthAlignment = 8; heightAlignment = 8; supportPixelFmts = [24]; } HDF_video_hw_dec_v8p_rk { mime = 65532; type = 0; name = "HDF_video_hw_dec_v8p_rk"; supportProfiles = []; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 10000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 1920; maxHeight = 1088; widthAlignment = 8; heightAlignment = 8; supportPixelFmts = [24]; } HDF_video_hw_dec_h263_rk { mime = 65533; type = 0; name = "HDF_video_hw_dec_h263_rk"; supportProfiles = [1, 1, 1, 2, 1, 4, 1, 16, 8, 1, 8, 2, 8, 4, 8, 16]; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 10000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 1920; maxHeight = 1088; widthAlignment = 8; heightAlignment = 8; supportPixelFmts = [24]; } HDF_video_hw_dec_m4v_rk { mime = 65534; type = 0; name = "HDF_video_hw_dec_m4v_rk"; supportProfiles = [1, 1, 1, 2, 1, 4, 1, 8, 1, 16]; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 10000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 1920; maxHeight = 1088; widthAlignment = 8; heightAlignment = 8; supportPixelFmts = [24]; } HDF_video_hw_dec_flv_rk { mime = 65535; type = 0; name = "HDF_video_hw_dec_flv_rk"; supportProfiles = []; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 10000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 1920; maxHeight = 1088; widthAlignment = 8; heightAlignment = 8; supportPixelFmts = [24]; } HDF_video_hw_dec_mjpeg_rk { mime = 0; type = 0; name = "HDF_video_hw_dec_mjpeg_rk"; supportProfiles = []; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 10000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 1920; maxHeight = 1088; widthAlignment = 8; heightAlignment = 8; supportPixelFmts = [24]; } HDF_video_hw_dec_hevc_rk { mime = 2; type = 0; name = "codec.hevc.hardware.decoder"; supportProfiles = [1, 1, 1, 4, 1, 16, 1, 64, 1, 256, 1, 1024, 1, 4096, 1, 16384, 1, 65536, 2, 65536]; isSoftwareCodec = false; processModeMask = []; capsMask = [0x01]; allocateMask = [0x010, 0x020]; minInputBufferNum = 4; maxInputBufferNum = 20; minOutputBufferNum = 4; maxOutputBufferNum = 20; minBitRate = 1; maxBitRate = 160000000; inputBufferSize = 20000000; outputBufferSize = 20000000; minWidth = 176; minHeight = 144; maxWidth = 1920; maxHeight = 1088; widthAlignment = 2; heightAlignment = 2; supportPixelFmts = [24]; } } VideoSwEncoders { } VideoSwDecoders { } AudioHwEncoders { } AudioHwDecoders { } AudioSwEncoders { } AudioSwDecoders { } } }