Merge "commonsys-intf-display: add support for early notify metadata"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
82b6c5ed22
@@ -27,6 +27,10 @@
|
|||||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* Changes from Qualcomm Innovation Center are provided under the following license:
|
||||||
|
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __QTIGRALLOC_H__
|
#ifndef __QTIGRALLOC_H__
|
||||||
@@ -101,6 +105,9 @@ static const MetadataType MetadataType_VideoTranscodeStats = {VENDOR_QTI,
|
|||||||
|
|
||||||
static const MetadataType MetadataType_VideoTimestampInfo = {VENDOR_QTI, QTI_VIDEO_TS_INFO};
|
static const MetadataType MetadataType_VideoTimestampInfo = {VENDOR_QTI, QTI_VIDEO_TS_INFO};
|
||||||
|
|
||||||
|
static const MetadataType MetadataType_VideoEarlyNotifyLineCount = {VENDOR_QTI,
|
||||||
|
QTI_EARLYNOTIFY_LINECOUNT};
|
||||||
|
|
||||||
static const MetadataType MetadataType_FD = {VENDOR_QTI, QTI_FD};
|
static const MetadataType MetadataType_FD = {VENDOR_QTI, QTI_FD};
|
||||||
|
|
||||||
static const MetadataType MetadataType_PrivateFlags = {VENDOR_QTI, QTI_PRIVATE_FLAGS};
|
static const MetadataType MetadataType_PrivateFlags = {VENDOR_QTI, QTI_PRIVATE_FLAGS};
|
||||||
|
|||||||
@@ -27,6 +27,10 @@
|
|||||||
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
||||||
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
||||||
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
*
|
||||||
|
* Changes from Qualcomm Innovation Center are provided under the following license:
|
||||||
|
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
|
* SPDX-License-Identifier: BSD-3-Clause-Clear
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __QTIGRALLOCMETADATA_H__
|
#ifndef __QTIGRALLOCMETADATA_H__
|
||||||
@@ -73,6 +77,8 @@
|
|||||||
#define QTI_CUSTOM_CONTENT_METADATA 10029
|
#define QTI_CUSTOM_CONTENT_METADATA 10029
|
||||||
// Video transcode metadata stat
|
// Video transcode metadata stat
|
||||||
#define QTI_VIDEO_TRANSCODE_STATS 10030
|
#define QTI_VIDEO_TRANSCODE_STATS 10030
|
||||||
|
// Early Notify line count
|
||||||
|
#define QTI_EARLYNOTIFY_LINECOUNT 10031
|
||||||
// Used to indicate to framework that internal definitions are used instead
|
// Used to indicate to framework that internal definitions are used instead
|
||||||
#define COMPRESSION_QTI_UBWC 20001
|
#define COMPRESSION_QTI_UBWC 20001
|
||||||
#define INTERLACED_QTI 20002
|
#define INTERLACED_QTI 20002
|
||||||
|
|||||||
@@ -145,6 +145,7 @@ struct MetaData_t {
|
|||||||
uint32_t timedRendering;
|
uint32_t timedRendering;
|
||||||
/* Video transcode stat populated by video decoder */
|
/* Video transcode stat populated by video decoder */
|
||||||
struct VideoTranscodeStatsMetadata video_transcode_stats;
|
struct VideoTranscodeStatsMetadata video_transcode_stats;
|
||||||
|
int32_t videoEarlyNotifyLineCount;
|
||||||
};
|
};
|
||||||
|
|
||||||
namespace qtigralloc {
|
namespace qtigralloc {
|
||||||
|
|||||||
Reference in New Issue
Block a user