blob: 671b279d0422fcd4f393cf04f3b1371544870a85 [file] [log] [blame]
Copyright 2011 Intel Corporation All Rights Reserved.
The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material contains trade secrets and proprietary and confidential information of Intel or its suppliers and licensors. The Material is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel’s prior express written permission.
No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing.
#ifndef __VIDEO_ENCODER_VP8_H__
#define __VIDEO_ENCODER_VP8_H__
#include "VideoEncoderBase.h"
* VP8 Encoder class, derived from VideoEncoderBase
class VideoEncoderVP8: public VideoEncoderBase {
virtual ~VideoEncoderVP8();
virtual Encode_Status start(void);
virtual Encode_Status stop(void);
virtual Encode_Status sendEncodeCommand(EncodeTask *task);
virtual Encode_Status derivedSetParams(VideoParamConfigSet *videoEncParams);
virtual Encode_Status derivedGetParams(VideoParamConfigSet *videoEncParams);
virtual Encode_Status derivedGetConfig(VideoParamConfigSet *videoEncConfig);
virtual Encode_Status derivedSetConfig(VideoParamConfigSet *videoEncConfig);
virtual Encode_Status getExtFormatOutput(VideoEncOutputBuffer *outBuffer) {
// Local Methods
enum {
LRF = 0,
GRF = 1,
ARF = 2,
RCF = 3,
Encode_Status renderSequenceParams();
Encode_Status renderPictureParams(EncodeTask *task);
VideoConfigVP8 mVideoConfigVP8;
VideoParamsVP8 mVideoParamsVP8;
VASurfaceID mVP8InternalFrames[VP8_INTERNAL_FRAME_LAST];
#endif /* __VIDEO_ENCODER_VP8_H__ */