summaryrefslogtreecommitdiff
path: root/av/avCodec.h
diff options
context:
space:
mode:
authorTim Redfern <tim@herge.(none)>2013-08-08 13:32:46 +0100
committerTim Redfern <tim@herge.(none)>2013-08-08 13:32:46 +0100
commita2254447b138af7fc0719e5a107816487255736b (patch)
treefc72463364bd158b5a042ac821766f466efdfcb0 /av/avCodec.h
parent1f8aca919df6ab2d2636cddaa30de1e388b4c09d (diff)
basic speed control for video_loader
Diffstat (limited to 'av/avCodec.h')
-rw-r--r--av/avCodec.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/av/avCodec.h b/av/avCodec.h
deleted file mode 100644
index 7e1815a..0000000
--- a/av/avCodec.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// libav includes
-// from /usr/include
-
-extern "C" {
- #ifndef __STDC_CONSTANT_MACROS
- # define __STDC_CONSTANT_MACROS
- #endif
-
- #ifndef UINT64_C
- #define UINT64_C(c) (c ## ULL)
- #endif
-
- #include <math.h>
-
- #include "libavcodec/avcodec.h"
-
- #include "libavutil/opt.h"
- #include "libavutil/channel_layout.h"
- #include "libavutil/common.h"
- #include "libavutil/imgutils.h"
- #include "libavutil/mathematics.h"
- #include "libavutil/samplefmt.h"
-}
-
-namespace avCodec {
- static int check_sample_fmt(AVCodec *codec, enum AVSampleFormat sample_fmt);
- static int select_sample_rate(AVCodec *codec);
- static int select_channel_layout(AVCodec *codec);
- static void audio_encode_example(const char *filename);
- static void audio_decode_example(const char *outfilename, const char *filename);
- static void video_encode_example(const char *filename, int codec_id);
- static void pgm_save(unsigned char *buf, int wrap, int xsize, int ysize,char *filename);
- static int decode_write_frame(const char *outfilename, AVCodecContext *avctx,AVFrame *frame, int *frame_count, AVPacket *pkt, int last);
- static void video_decode_example(const char *outfilename, const char *filename);
-} \ No newline at end of file