aboutsummaryrefslogtreecommitdiff
path: root/lib/DllAvUtil.h
diff options
context:
space:
mode:
authorfritsch <peter.fruehberger@gmail.com>2013-07-25 19:39:44 +0200
committerRainer Hochecker <fernetmenta@online.de>2013-08-01 10:36:04 +0200
commitbdfb3e79cf01bcbfcbf79c4b55f3163d9eae8025 (patch)
tree650840809574db15a112d6f0b6f84a02b507f6f3 /lib/DllAvUtil.h
parent5d468dd1f12b29f8775676100e9c18b435eed392 (diff)
ffmpeg: add av_opt_set_int and av_opt_set_double for intrumenting swr
Diffstat (limited to 'lib/DllAvUtil.h')
-rw-r--r--lib/DllAvUtil.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/DllAvUtil.h b/lib/DllAvUtil.h
index bbe9be2bdd..521263f7d9 100644
--- a/lib/DllAvUtil.h
+++ b/lib/DllAvUtil.h
@@ -82,6 +82,8 @@ public:
virtual const AVCRC* av_crc_get_table(AVCRCId crc_id)=0;
virtual uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t length)=0;
virtual int av_opt_set(void *obj, const char *name, const char *val, int search_flags)=0;
+ virtual int av_opt_set_double(void *obj, const char *name, double val, int search_flags)=0;
+ virtual int av_opt_set_int(void *obj, const char *name, int64_t val, int search_flags)=0;
virtual AVFifoBuffer *av_fifo_alloc(unsigned int size) = 0;
virtual void av_fifo_free(AVFifoBuffer *f) = 0;
virtual void av_fifo_reset(AVFifoBuffer *f) = 0;
@@ -119,6 +121,8 @@ public:
virtual const AVCRC* av_crc_get_table(AVCRCId crc_id) { return ::av_crc_get_table(crc_id); }
virtual uint32_t av_crc(const AVCRC *ctx, uint32_t crc, const uint8_t *buffer, size_t length) { return ::av_crc(ctx, crc, buffer, length); }
virtual int av_opt_set(void *obj, const char *name, const char *val, int search_flags) { return ::av_opt_set(obj, name, val, search_flags); }
+ virtual int av_opt_set_double(void *obj, const char *name, double val, int search_flags) { return ::av_opt_set_double(obj, name, val, search_flags); }
+ virtual int av_opt_set_int(void *obj, const char *name, int64_t val, int search_flags) { return ::av_opt_set_int(obj, name, val, search_flags); }
virtual AVFifoBuffer *av_fifo_alloc(unsigned int size) {return ::av_fifo_alloc(size); }
virtual void av_fifo_free(AVFifoBuffer *f) { ::av_fifo_free(f); }
virtual void av_fifo_reset(AVFifoBuffer *f) { ::av_fifo_reset(f); }
@@ -172,6 +176,8 @@ class DllAvUtilBase : public DllDynamic, DllAvUtilInterface
DEFINE_METHOD5(int, av_crc_init, (AVCRC *p1, int p2, int p3, uint32_t p4, int p5));
DEFINE_METHOD4(uint32_t, av_crc, (const AVCRC *p1, uint32_t p2, const uint8_t *p3, size_t p4));
DEFINE_METHOD4(int, av_opt_set, (void *p1, const char *p2, const char *p3, int p4));
+ DEFINE_METHOD4(int, av_opt_set_double, (void *p1, const char *p2, double p3, int p4))
+ DEFINE_METHOD4(int, av_opt_set_int, (void *p1, const char *p2, int64_t p3, int p4))
DEFINE_METHOD1(AVFifoBuffer*, av_fifo_alloc, (unsigned int p1))
DEFINE_METHOD1(void, av_fifo_free, (AVFifoBuffer *p1))
DEFINE_METHOD1(void, av_fifo_reset, (AVFifoBuffer *p1))
@@ -203,6 +209,8 @@ class DllAvUtilBase : public DllDynamic, DllAvUtilInterface
RESOLVE_METHOD(av_crc_get_table)
RESOLVE_METHOD(av_crc)
RESOLVE_METHOD(av_opt_set)
+ RESOLVE_METHOD(av_opt_set_double)
+ RESOLVE_METHOD(av_opt_set_int)
RESOLVE_METHOD(av_fifo_alloc)
RESOLVE_METHOD(av_fifo_free)
RESOLVE_METHOD(av_fifo_reset)