diff options
| author | Harm van der Heijden <hrm@users.sourceforge.net> | 2001-12-23 02:36:54 +0000 |
|---|---|---|
| committer | Harm van der Heijden <hrm@users.sourceforge.net> | 2001-12-23 02:36:54 +0000 |
| commit | 8b7b18f012709ff905c5664d2ec2695cae5b3e9e (patch) | |
| tree | 724ef7ec89c30692bdc3138b1ccac9a448fb52dc /src/dxr3/dxr3_video_out.h | |
| parent | e1627a68149cd386acee5ed28356ae03fe814da3 (diff) | |
| download | xine-lib-8b7b18f012709ff905c5664d2ec2695cae5b3e9e.tar.gz xine-lib-8b7b18f012709ff905c5664d2ec2695cae5b3e9e.tar.bz2 | |
lots of dxr3 tweaks and fixes
- mpeg playback optionally syncs (SETPTS) every frame; works only for
constant frame duration (PAL movie) not most NTSC movies.
metronom doesn't seem to dig varying durations, gives pts values that
upset the dxr3 hardware.
- detect repeat first field in mpeg, disable sync every frame if found.
- small dxr3 encoder fixes
- moved fame encoding from copy to display method; should help with
frame skip.
- added callback functions for some config/dxr3* variables
(those callbacks are cool BTW; only wish the xine-ui setup screen would
show which vars have callbacks)
- added Dan Hollis field swapping trick; not sure if it really does what
he wants; I don't have an NTSC tv, so his 720x480 test video will look
interlaced no matter what.
- merry xmas
CVS patchset: 1287
CVS date: 2001/12/23 02:36:54
Diffstat (limited to 'src/dxr3/dxr3_video_out.h')
| -rw-r--r-- | src/dxr3/dxr3_video_out.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dxr3/dxr3_video_out.h b/src/dxr3/dxr3_video_out.h index f62f9d57e..d3fa1c6b5 100644 --- a/src/dxr3/dxr3_video_out.h +++ b/src/dxr3/dxr3_video_out.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: dxr3_video_out.h,v 1.11 2001/12/16 19:05:44 hrm Exp $ + * $Id: dxr3_video_out.h,v 1.12 2001/12/23 02:36:55 hrm Exp $ * */ @@ -100,8 +100,11 @@ typedef struct dxr3_driver_s { double fps; /* frames per second */ int format; /* color format */ const char *file_out; + int swap_fields; /* swap fields */ + int add_bars; /* add black bars to correct a.r. */ /* height after adding black bars to correct a.r. */ int oheight; + int top_bar; /* number of lines in top black bar */ /* input height (before adding black bars) */ int video_iheight; /* output height (after adding bars) */ @@ -140,8 +143,7 @@ typedef struct dxr3_frame_s { int format; dxr3_driver_t *vo_instance; /* points to self, for use in dxr3_frame_copy */ int copy_calls; /* counts calls to dxr3_frame_copy function */ - unsigned char *mpeg; /* encoded mpeg data */ - unsigned int mpeg_size; /* length of data */ + int swap_fields; /* shifts Y buffer one line to exchange odd/even lines*/ } dxr3_frame_t; struct encoder_data_s { |
