diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-22 09:45:34 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-22 09:45:34 +0000 |
commit | fdcee83d90c415df6cb570af14073407071fb6bf (patch) | |
tree | abdb012d32c5c53825264a45ef9e2bcb963544d1 /libmpdemux/mpeg_packetizer.h | |
parent | 4cbc615ca4031ebf35ac8c44b41812b103f262f9 (diff) | |
download | mpv-fdcee83d90c415df6cb570af14073407071fb6bf.tar.bz2 mpv-fdcee83d90c415df6cb570af14073407071fb6bf.tar.xz |
simplified mpeg packetizer used by hw mpeg decoders/vo - first round
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19153 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/mpeg_packetizer.h')
-rw-r--r-- | libmpdemux/mpeg_packetizer.h | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/libmpdemux/mpeg_packetizer.h b/libmpdemux/mpeg_packetizer.h index 4e8334eed0..ce68ef6c5c 100644 --- a/libmpdemux/mpeg_packetizer.h +++ b/libmpdemux/mpeg_packetizer.h @@ -25,19 +25,12 @@ #ifndef _MPEG_PACKETIZER_H_ #define _MPEG_PACKETIZER_H_ -/* Send MPEG 1 PES packet */ -int send_mpeg1_pes_packet (unsigned char *data, int len, int id, uint64_t pts, +/* Send MPEG 1/2 PES packet */ +int send_mpeg_pes_packet (unsigned char *data, int len, int id, uint64_t pts, int type, int my_write (unsigned char *data, int len)); -/* Send MPEG 1 PS packet */ -int send_mpeg1_ps_packet (unsigned char *data, int len, int id, uint64_t pts, - int my_write (unsigned char *data, int len)); -/* Send MPEG 2 PES packet */ -int send_mpeg2_pes_packet (unsigned char *data, int len, int id, uint64_t pts, - int my_write (unsigned char *data, int len)); - -/* Send MPEG 2 PS packet */ -int send_mpeg2_ps_packet (unsigned char *data, int len, int id, uint64_t pts, +/* Send MPEG 1/2 PS packet */ +int send_mpeg_ps_packet (unsigned char *data, int len, int id, uint64_t pts, int type, int my_write (unsigned char *data, int len)); /* Send MPEG LPCM packet */ |