Commit f920d410 authored by Michel Lespinasse's avatar Michel Lespinasse

mpeg2_init_fbuf() and mpeg2_slice() are not currently useable as an API -

they depend on the caller knowing implementation details of the
mpeg2_decoder_t type. Move the function declarations to mpeg2_internal.h...
parent 72fbc23e
#! /bin/sh
# $Id: bootstrap 2005 2008-07-16 20:51:50Z sam $
# $Id$
# bootstrap: generic bootstrap/autogen.sh script for autotools projects
#
......
......@@ -261,6 +261,3 @@ Advanced Function Reference
mpeg2_convert
mpeg2_set_buf
mpeg2_custom_fbuf
mpeg2_init_fbuf
mpeg2_slice
......@@ -115,7 +115,6 @@ typedef struct mpeg2_info_s {
} mpeg2_info_t;
typedef struct mpeg2dec_s mpeg2dec_t;
typedef struct mpeg2_decoder_s mpeg2_decoder_t;
typedef enum {
STATE_BUFFER = 0,
......@@ -181,9 +180,6 @@ void mpeg2_slice_region (mpeg2dec_t * mpeg2dec, int start, int end);
void mpeg2_tag_picture (mpeg2dec_t * mpeg2dec, uint32_t tag, uint32_t tag2);
void mpeg2_init_fbuf (mpeg2_decoder_t * decoder, uint8_t * current_fbuf[3],
uint8_t * forward_fbuf[3], uint8_t * backward_fbuf[3]);
void mpeg2_slice (mpeg2_decoder_t * decoder, int code, const uint8_t * buffer);
int mpeg2_guess_aspect (const mpeg2_sequence_t * sequence,
unsigned int * pixel_width,
unsigned int * pixel_height);
......
......@@ -51,6 +51,8 @@
#define B_TYPE 3
#define D_TYPE 4
typedef struct mpeg2_decoder_s mpeg2_decoder_t;
typedef void mpeg2_mc_fct (uint8_t *, const uint8_t *, int, int);
typedef struct {
......@@ -293,6 +295,12 @@ void mpeg2_idct_alpha_init (void);
/* motion_comp.c */
void mpeg2_mc_init (uint32_t accel);
/* slice.c */
void mpeg2_init_fbuf (mpeg2_decoder_t * decoder, uint8_t * current_fbuf[3],
uint8_t * forward_fbuf[3], uint8_t * backward_fbuf[3]);
void mpeg2_slice (mpeg2_decoder_t * decoder, int code, const uint8_t * buffer);
typedef struct {
mpeg2_mc_fct * put [8];
mpeg2_mc_fct * avg [8];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment