📄 encvisualobject.h
字号:
/*------------------------------------------------------------------------------
-- --
-- This software is confidential and proprietary and may be used --
-- only as expressly authorized by a licensing agreement from --
-- --
-- Hantro Products Oy. --
-- --
-- In the event of publication, the following notice is applicable: --
-- --
-- (C) COPYRIGHT 2004 HANTRO PRODUCTS OY --
-- ALL RIGHTS RESERVED --
-- --
-- The entire notice above must be reproduced on all copies. --
-- --
--------------------------------------------------------------------------------
--
-- Description : Encoder internal
--
-------------------------------------------------------------------------------*/
/*------------------------------------------------------------------------------
Table of context
1. Include headers
2. External compiler flags
3. Module defines
4. Function prototypes
------------------------------------------------------------------------------*/
#ifndef __ENC_VISUAL_OBJECT_H__
#define __ENC_VISUAL_OBJECT_H__
/*------------------------------------------------------------------------------
1. Include headers
------------------------------------------------------------------------------*/
#include "basetype.h"
#include "EncSim.h"
#include "EncUserData.h"
#include "EncPutBits.h"
/*------------------------------------------------------------------------------
2. External compiler flags
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
3. Module defines
------------------------------------------------------------------------------*/
typedef enum {
VIDEO_ID = 1,
STILL_TEXTURE_ID = 2,
MESH_ID = 3,
FBA_ID = 4,
D3_MESH_ID = 5
} visualObjectType_e;
typedef struct {
true_e videoSignalType; /* YES/NO */
i32 videoFormat; /* Table 6-6 */
i32 videoRange;
true_e colourDescription; /* YES/NO */
i32 colourPrimaries; /* Table 6-7 */
i32 transferCharacteristics; /* Table 6-8 */
i32 matrixCoefficients; /* Table 6-9 */
} videoSignalType_s;
typedef struct {
true_e header;
true_e isVisualObjectIdentifier; /* YES/NO */
i32 visualObjectVerid; /* Table 6-4 */
i32 visualObjectPriority; /* [1,2...7] */
visualObjectType_e visualObjectType; /* Table 6-5 */
videoSignalType_s videoSignalType;
userData_s userData;
} visob_s;
/*------------------------------------------------------------------------------
4. Function prototypes
------------------------------------------------------------------------------*/
void EncVisObInit(visob_s *);
void EncVisObHdr(stream_s *, visob_s *);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -