Qualcomm GStreamer Plugins

Enable hardware supports on Qualcomm platform.

Qualcomm GStreamer Plugins是一系列高通平台下定制的开源插件,官网有插件的基本信息介绍,本章节将介绍其中几个在高通平台下进行音视频开发最常用的硬件相关的插件在开发过程中的一些坑,包括:qtivdecqtivtransformqtioverlayomxh264enc

这些插件的源码位于高通Linux源码的src/vendor/qcom/opensource/gst-plugins-qti-oss目录下,在Linux目录中,vendor目录下一般是各家厂商定制化的、非开源的内容,但假如在高通平台下使用dpkg --info查看对应插件库的信息,可以在Description中看到open-source,并且源码的开头是Linux内核所遵守的BSD许可协议。奇怪的是网上除了几个老旧的插件,能找到的就只有gst-plugins-mle-oss中的qtimlesnpeqtimletflite,使用gst-inspect-1.0查看库遵守BSD许可协议,因此本章节所有代码均遵守BSD许可协议:

 * Copyright (c) 1998, Regents of the University of California
 * All rights reserved.
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 *     * Redistributions of source code must retain the above copyright
 *       notice, this list of conditions and the following disclaimer.
 *     * Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer in the
 *       documentation and/or other materials provided with the distribution.
 *     * Neither the name of the University of California, Berkeley nor the
 *       names of its contributors may be used to endorse or promote products
 *       derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS "AS IS" AND ANY
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 * DISCLAIMED. IN NO EVENT SHALL THE REGENTS AND CONTRIBUTORS BE LIABLE FOR ANY
 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 

Last updated