diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2015-12-30 11:36:45 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-12-30 11:37:59 +0200 |
commit | 45f2ad952f6ce065bb59c0805bde2f4c6a2382cd (patch) | |
tree | ee6e31e7e3d12369c87b8437dc556a4aab166888 /gst-libs/gst/codecparsers/vp9utils.h | |
parent | b245e0f16c63c798da3ae3f5a331fdc27c5dcb31 (diff) | |
download | gstreamer-plugins-bad-45f2ad952f6ce065bb59c0805bde2f4c6a2382cd.tar.gz |
vp9parser: Rename symbols to prevent symbol conflicts
Also make clamp() a static function for the same reason and use CLAMP (as
defined by GLib) in the GStreamer code.
Diffstat (limited to 'gst-libs/gst/codecparsers/vp9utils.h')
-rw-r--r-- | gst-libs/gst/codecparsers/vp9utils.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gst-libs/gst/codecparsers/vp9utils.h b/gst-libs/gst/codecparsers/vp9utils.h index 0a6feb1fe..20ef6bb32 100644 --- a/gst-libs/gst/codecparsers/vp9utils.h +++ b/gst-libs/gst/codecparsers/vp9utils.h @@ -16,11 +16,9 @@ #define QINDEX_RANGE 256 #define QINDEX_BITS 8 -int clamp(int value, int low, int high); +int16_t gst_vp9_dc_quant(int qindex, int delta, int bit_depth); -int16_t vp9_dc_quant(int qindex, int delta, int bit_depth); - -int16_t vp9_ac_quant(int qindex, int delta, int bit_depth); +int16_t gst_vp9_ac_quant(int qindex, int delta, int bit_depth); #endif //__VP9_QUANT_H__ |