summaryrefslogtreecommitdiff
path: root/tools/mpeg.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/mpeg.h')
-rw-r--r--tools/mpeg.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/tools/mpeg.h b/tools/mpeg.h
deleted file mode 100644
index 8a9b6493..00000000
--- a/tools/mpeg.h
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * mpeg.h: MPEG definitions
- *
- * See the main source file 'xineliboutput.c' for copyright information and
- * how to reach the author.
- *
- * $Id: mpeg.h,v 1.6 2009-02-16 16:03:18 phintuka Exp $
- *
- */
-
-#ifndef XINELIBOUTPUT_MPEG_H_
-#define XINELIBOUTPUT_MPEG_H_
-
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-#define SC_PICTURE 0x00 /* picture atart code */
-#define SC_SEQUENCE 0xb3 /* sequence header */
-
-/* Picture types */
-#define NO_PICTURE 0
-#define I_FRAME 1
-#define P_FRAME 2
-#define B_FRAME 3
-
-typedef struct mpeg_rational_s {
- int num;
- int den;
-} mpeg_rational_t;
-
-typedef struct video_size_s {
- uint16_t width;
- uint16_t height;
- mpeg_rational_t pixel_aspect;
-} video_size_t;
-
-extern const char * const picture_type_str[];
-
-/*
- * input: start of MPEG video data (not PES)
- */
-int mpeg2_get_picture_type(const uint8_t *buf, int len);
-
-/*
- * input: start of MPEG video data (not PES)
- */
-int mpeg2_get_video_size(const uint8_t *buf, int len, video_size_t *size);
-
-
-#ifdef __cplusplus
-} /* extern "C" { */
-#endif
-
-
-#endif