12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- /*------------------------------------------------------------------------------
- -- --
- -- This software is confidential and proprietary and may be used --
- -- only as expressly authorized by a licensing agreement from --
- -- --
- -- Hantro Products Oy. --
- -- --
- -- (C) COPYRIGHT 2006 HANTRO PRODUCTS OY --
- -- ALL RIGHTS RESERVED --
- -- --
- -- The entire notice above must be reproduced --
- -- on all copies and should not be removed. --
- -- --
- --------------------------------------------------------------------------------
- --
- -- Description : Encode picture
- --
- ------------------------------------------------------------------------------*/
- #ifndef __H264_CODE_FRAME_H__
- #define __H264_CODE_FRAME_H__
- /*------------------------------------------------------------------------------
- 1. Include headers
- ------------------------------------------------------------------------------*/
- #include "basetype.h"
- #include "H264Instance.h"
- #include "H264Slice.h"
- #include "H264RateControl.h"
- #include "encasiccontroller.h"
- /*------------------------------------------------------------------------------
- 2. External compiler flags
- --------------------------------------------------------------------------------
- --------------------------------------------------------------------------------
- 3. Module defines
- ------------------------------------------------------------------------------*/
- typedef enum
- {
- H264ENCODE_OK = 0,
- H264ENCODE_TIMEOUT = 1,
- H264ENCODE_DATA_ERROR = 2,
- H264ENCODE_HW_ERROR = 3,
- H264ENCODE_SYSTEM_ERROR = 4,
- H264ENCODE_HW_RESET = 5
- } h264EncodeFrame_e;
- /*------------------------------------------------------------------------------
- 4. Function prototypes
- ------------------------------------------------------------------------------*/
- h264EncodeFrame_e H264CodeFrame(h264Instance_s * inst);
- #endif
|