| Index: source/libvpx/vpx/vp8cx.h | 
| =================================================================== | 
| --- source/libvpx/vpx/vp8cx.h	(revision 96967) | 
| +++ source/libvpx/vpx/vp8cx.h	(working copy) | 
| @@ -22,7 +22,7 @@ | 
| */ | 
| #ifndef VP8CX_H | 
| #define VP8CX_H | 
| -#include "vpx/vpx_codec_impl_top.h" | 
| +#include "vpx_codec_impl_top.h" | 
|  | 
| /*!\name Algorithm interface for VP8 | 
| * | 
| @@ -138,7 +138,7 @@ | 
| * onyx_if.c:vp8_set_speed_features(). | 
| * \todo List highlights of the changes at various levels. | 
| * | 
| -     * \note Valid range: -16..16 or {-16..-4, 4..16} w/CONFIG_REALTIME_ONLY | 
| +     * \note Valid range: -16..16 | 
| */ | 
| VP8E_SET_CPUUSED           = 13, | 
| VP8E_SET_ENABLEAUTOALTREF,       /**< control function to enable vp8 to automatic set and use altref frame */ | 
| @@ -164,6 +164,20 @@ | 
| * \note Valid range: 0..63 | 
| */ | 
| VP8E_SET_CQ_LEVEL, | 
| + | 
| +    /*!\brief Max data rate for Intra frames | 
| +     * | 
| +     * This value controls additional clamping on the maximum size of a | 
| +     * keyframe. It is expressed as a percentage of the average | 
| +     * per-frame bitrate, with the special (and default) value 0 meaning | 
| +     * unlimited, or no additional clamping beyond the codec's built-in | 
| +     * algorithm. | 
| +     * | 
| +     * For example, to allocate no more than 4.5 frames worth of bitrate | 
| +     * to a keyframe, set this to 450. | 
| +     * | 
| +     */ | 
| +    VP8E_SET_MAX_INTRA_BITRATE_PCT, | 
| }; | 
|  | 
| /*!\brief vpx 1-D scaling mode | 
| @@ -295,6 +309,9 @@ | 
| VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER,     int *) | 
| VPX_CTRL_USE_TYPE(VP8E_GET_LAST_QUANTIZER_64,  int *) | 
|  | 
| +VPX_CTRL_USE_TYPE(VP8E_SET_MAX_INTRA_BITRATE_PCT, unsigned int) | 
| + | 
| + | 
| /*! @} - end defgroup vp8_encoder */ | 
| -#include "vpx/vpx_codec_impl_bottom.h" | 
| +#include "vpx_codec_impl_bottom.h" | 
| #endif | 
|  |