mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 17:38:59 +00:00
[libvpx] Update to v1.8.1 from https://chromium.googlesource.com/webm/libvpx
This commit is contained in:
committed by
Andrey Volk
parent
34fcadbd53
commit
ceb051af4e
@@ -8,8 +8,8 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#ifndef VP8_ENCODER_ONYX_INT_H_
|
||||
#define VP8_ENCODER_ONYX_INT_H_
|
||||
#ifndef VPX_VP8_ENCODER_ONYX_INT_H_
|
||||
#define VPX_VP8_ENCODER_ONYX_INT_H_
|
||||
|
||||
#include <stdio.h>
|
||||
#include "vpx_config.h"
|
||||
@@ -57,6 +57,9 @@ extern "C" {
|
||||
|
||||
#define VP8_TEMPORAL_ALT_REF !CONFIG_REALTIME_ONLY
|
||||
|
||||
/* vp8 uses 10,000,000 ticks/second as time stamp */
|
||||
#define TICKS_PER_SEC 10000000
|
||||
|
||||
typedef struct {
|
||||
int kf_indicated;
|
||||
unsigned int frames_since_key;
|
||||
@@ -257,6 +260,7 @@ typedef struct {
|
||||
|
||||
int count_mb_ref_frame_usage[MAX_REF_FRAMES];
|
||||
|
||||
int last_q[2];
|
||||
} LAYER_CONTEXT;
|
||||
|
||||
typedef struct VP8_COMP {
|
||||
@@ -510,6 +514,7 @@ typedef struct VP8_COMP {
|
||||
|
||||
int force_maxqp;
|
||||
int frames_since_last_drop_overshoot;
|
||||
int last_pred_err_mb;
|
||||
|
||||
// GF update for 1 pass cbr.
|
||||
int gf_update_onepass_cbr;
|
||||
@@ -695,6 +700,8 @@ typedef struct VP8_COMP {
|
||||
|
||||
// Use the static threshold from ROI settings.
|
||||
int use_roi_static_threshold;
|
||||
|
||||
int ext_refresh_frame_flags_pending;
|
||||
} VP8_COMP;
|
||||
|
||||
void vp8_initialize_enc(void);
|
||||
@@ -714,8 +721,8 @@ void vp8_set_speed_features(VP8_COMP *cpi);
|
||||
#if CONFIG_DEBUG
|
||||
#define CHECK_MEM_ERROR(lval, expr) \
|
||||
do { \
|
||||
lval = (expr); \
|
||||
if (!lval) \
|
||||
(lval) = (expr); \
|
||||
if (!(lval)) \
|
||||
vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR, \
|
||||
"Failed to allocate " #lval " at %s:%d", __FILE__, \
|
||||
__LINE__); \
|
||||
@@ -723,8 +730,8 @@ void vp8_set_speed_features(VP8_COMP *cpi);
|
||||
#else
|
||||
#define CHECK_MEM_ERROR(lval, expr) \
|
||||
do { \
|
||||
lval = (expr); \
|
||||
if (!lval) \
|
||||
(lval) = (expr); \
|
||||
if (!(lval)) \
|
||||
vpx_internal_error(&cpi->common.error, VPX_CODEC_MEM_ERROR, \
|
||||
"Failed to allocate " #lval); \
|
||||
} while (0)
|
||||
@@ -733,4 +740,4 @@ void vp8_set_speed_features(VP8_COMP *cpi);
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
||||
#endif // VP8_ENCODER_ONYX_INT_H_
|
||||
#endif // VPX_VP8_ENCODER_ONYX_INT_H_
|
||||
|
Reference in New Issue
Block a user