Changeset bfc4f0f588c0c68c557a8f5cbadc19818ac9484f
- Timestamp:
- 10/24/02 01:17:45 (6 years ago)
- git-parent:
- Files:
-
- AUTHORS (modified) (1 diff)
- MAINTAINERS (modified) (2 diffs)
- STATUS (modified) (2 diffs)
- TODO (modified) (1 diff)
- configure.ac.in (modified) (3 diffs)
- include/input_ext-dec.h (modified) (2 diffs)
- modules/LIST (modified) (3 diffs)
- modules/codec/Modules.am (modified) (1 diff)
- modules/demux/Modules.am (modified) (1 diff)
- src/input/input_ext-dec.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
AUTHORS
re0c8e06 rbfc4f0f 49 49 D: mingw32 port, various win32 fixes 50 50 D: DirectX audio and video output, win32 WaveOut audio output 51 D: a52 decoder using liba52 51 D: a52 decoder using liba52 and vorbis decoder using libvorbis 52 D: ogg demultiplexer 52 53 D: Configuration file infrastructure 53 54 S: France MAINTAINERS
rd71af1d rbfc4f0f 1 # $Id: MAINTAINERS,v 1. 2 2002/08/16 14:30:39 bozoExp $1 # $Id: MAINTAINERS,v 1.3 2002/10/23 23:17:45 gbazin Exp $ 2 2 # 3 3 # VLC MAINTAINERS … … 80 80 - A/52 : [gibalou] ([meuuh]) 81 81 - SPU : [sam] 82 - Ogg/Vorbis : Xavier Maillard82 - Ogg/Vorbis : [gibalou] 83 83 84 84 * DOCUMENTATION STATUS
rd71af1d rbfc4f0f 1 # $Id: STATUS,v 1. 4 2002/08/16 14:30:39 bozoExp $1 # $Id: STATUS,v 1.5 2002/10/23 23:17:45 gbazin Exp $ 2 2 # 3 3 # VLC STATUS … … 47 47 - Xinerama fullscreen support 48 48 ETA : completed 49 - Ogg/Vorbis decoder plug-in50 ETA : soon51 49 52 50 Christophe Massiot <massiot@via.ecp.fr> : TODO
r2cbb6da rbfc4f0f 479 479 MP3 format. The system packets are quite different than the MPEG ones, so 480 480 adding support for it would require a lot of code rewrite. 481 Status: In the works (Xavier Maillard)481 Status: Done 24 Nov 2002 (gbazin) 482 482 483 483 Task: 0x23 configure.ac.in
r4e9d790 rbfc4f0f 1073 1073 1074 1074 dnl 1075 dnl ogg plugin 1076 dnl 1077 AC_ARG_ENABLE(ogg, 1078 [ --enable-ogg Ogg demux support (default enabled)]) 1079 if test "x${enable_ogg}" != "xno" 1080 then 1081 AC_CHECK_HEADERS(ogg/ogg.h, [ 1082 PLUGINS="${PLUGINS} ogg" 1083 LDFLAGS_ogg="${LDFLAGS_ogg} -logg" 1084 ],[]) 1085 fi 1086 1087 dnl 1075 1088 dnl Codec plugins 1076 1089 dnl … … 1357 1370 1358 1371 dnl 1359 dnl ogg vorbis plugin1360 dnl1361 AC_ARG_ENABLE(vorbis,1362 [ --enable-vorbis Ogg/Vorbis decoder support (default enabled)])1363 if test "x${enable_vorbis}" != "xno"1364 then1365 AC_CHECK_HEADERS(ogg/ogg.h, [1366 dnl disabled for the moment1367 #PLUGINS="${PLUGINS} ogg vorbis"1368 LDFLAGS_vorbis="${LDFLAGS_vorbis} -lvorbis"1369 ],[])1370 fi1371 1372 dnl1373 1372 dnl DV plugin 1374 1373 dnl … … 1380 1379 PLUGINS="${PLUGINS} dv" 1381 1380 LDFLAGS_dv="${LDFLAGS_dv} -ldv" 1381 ],[]) 1382 fi 1383 1384 dnl 1385 dnl Vorbis plugin 1386 dnl 1387 AC_ARG_ENABLE(vorbis, 1388 [ --enable-vorbis Vorbis decoder support (default enabled)]) 1389 if test "x${enable_vorbis}" != "xno" 1390 then 1391 AC_CHECK_HEADERS(vorbis/codec.h, [ 1392 PLUGINS="${PLUGINS} vorbis" 1393 LDFLAGS_vorbis="${LDFLAGS_vorbis} -lvorbis" 1382 1394 ],[]) 1383 1395 fi include/input_ext-dec.h
rc0cab76 rbfc4f0f 3 3 ***************************************************************************** 4 4 * Copyright (C) 1999-2001 VideoLAN 5 * $Id: input_ext-dec.h,v 1.7 2 2002/10/21 10:46:34 fenrirExp $5 * $Id: input_ext-dec.h,v 1.73 2002/10/23 23:17:45 gbazin Exp $ 6 6 * 7 7 * Authors: Christophe Massiot <massiot@via.ecp.fr> … … 210 210 VLC_EXPORT( void, InitBitstream, ( bit_stream_t *, decoder_fifo_t *, void ( * )( bit_stream_t *, vlc_bool_t ), void * p_callback_arg ) ); 211 211 VLC_EXPORT( vlc_bool_t, NextDataPacket, ( decoder_fifo_t *, data_packet_t ** ) ); 212 VLC_EXPORT( pes_packet_t *, GetPES, ( decoder_fifo_t * ) ); 213 VLC_EXPORT( pes_packet_t *, NextPES, ( decoder_fifo_t * ) ); 212 214 VLC_EXPORT( void, BitstreamNextDataPacket, ( bit_stream_t * ) ); 213 215 VLC_EXPORT( u32, UnalignedShowBits, ( bit_stream_t *, unsigned int ) ); modules/LIST
rba57d25 rbfc4f0f 1 1 List of vlc plugins 2 $Id: LIST,v 1. 2 2002/09/15 20:54:12 jpsaman Exp $2 $Id: LIST,v 1.3 2002/10/23 23:17:45 gbazin Exp $ 3 3 4 4 * a52_system: input module for A52 decapsulation. … … 126 126 * null: a module with no capabilities. 127 127 128 * ogg: input module for OGG decapsulation. 129 128 130 * qt: interface module using the Qt widget set. 129 131 … … 138 140 * vcd: input module for accessing Video CDs. 139 141 142 * vorbis: a vorbis audio decoder using the libvorbis library. 143 140 144 * waveout: simple audio output module for Windows. 141 145 modules/codec/Modules.am
r9a5df48 rbfc4f0f 2 2 SOURCES_lpcm = modules/codec/lpcm.c 3 3 SOURCES_araw = modules/codec/araw.c 4 SOURCES_vorbis = modules/codec/vorbis.c modules/demux/Modules.am
r8641281 rbfc4f0f 1 1 SOURCES_a52sys = modules/demux/a52sys.c 2 SOURCES_ogg = modules/demux/ogg.c src/input/input_ext-dec.c
rc0cab76 rbfc4f0f 3 3 ***************************************************************************** 4 4 * Copyright (C) 1998-2001 VideoLAN 5 * $Id: input_ext-dec.c,v 1.3 5 2002/10/21 10:46:34 fenrirExp $5 * $Id: input_ext-dec.c,v 1.36 2002/10/23 23:17:44 gbazin Exp $ 6 6 * 7 7 * Authors: Christophe Massiot <massiot@via.ecp.fr> … … 112 112 113 113 /***************************************************************************** 114 * GetPES: return the first PES from the fifo 115 *****************************************************************************/ 116 static inline pes_packet_t *_GetPES( decoder_fifo_t * p_fifo ) 117 { 118 pes_packet_t * p_pes; 119 120 vlc_mutex_lock( &p_fifo->data_lock ); 121 122 if( p_fifo->p_first == NULL ) 123 { 124 /* No PES in the FIFO. p_last is no longer valid. */ 125 p_fifo->pp_last = &p_fifo->p_first; 126 127 if( p_fifo->b_die ) 128 { 129 vlc_mutex_unlock( &p_fifo->data_lock ); 130 return NULL; 131 } 132 133 /* Signal the input thread we're waiting. This is only 134 * needed in case of slave clock (ES plug-in) but it won't 135 * harm. */ 136 vlc_cond_signal( &p_fifo->data_wait ); 137 138 /* Wait for the input to tell us when we receive a packet. */ 139 vlc_cond_wait( &p_fifo->data_wait, &p_fifo->data_lock ); 140 } 141 142 p_pes = p_fifo->p_first; 143 144 vlc_mutex_unlock( &p_fifo->data_lock ); 145 146 return p_pes; 147 } 148 149 pes_packet_t * GetPES( decoder_fifo_t * p_fifo ) 150 { 151 return( _GetPES( p_fifo ) ); 152 } 153 154 /***************************************************************************** 155 * NextPES: free the current PES and return the next one 156 *****************************************************************************/ 157 static inline pes_packet_t * _NextPES( decoder_fifo_t * p_fifo ) 158 { 159 pes_packet_t * p_next; 160 161 vlc_mutex_lock( &p_fifo->data_lock ); 162 163 /* Free the previous PES packet. */ 164 p_next = p_fifo->p_first->p_next; 165 p_fifo->p_first->p_next = NULL; 166 input_DeletePES( p_fifo->p_packets_mgt, p_fifo->p_first ); 167 p_fifo->p_first = p_next; 168 p_fifo->i_depth--; 169 170 vlc_mutex_unlock( &p_fifo->data_lock ); 171 172 return _GetPES( p_fifo ); 173 } 174 175 pes_packet_t * NextPES( decoder_fifo_t * p_fifo ) 176 { 177 return( _NextPES( p_fifo ) ); 178 } 179 180 /***************************************************************************** 114 181 * NextDataPacket: go to the data packet after *pp_data, return 1 if we 115 182 * changed PES … … 128 195 if( (*pp_data)->p_next == NULL ) 129 196 { 130 pes_packet_t * p_next;131 132 vlc_mutex_lock( &p_fifo->data_lock );133 134 /* Free the previous PES packet. */135 p_next = p_fifo->p_first->p_next;136 p_fifo->p_first->p_next = NULL;137 input_DeletePES( p_fifo->p_packets_mgt, p_fifo->p_first );138 p_fifo->p_first = p_next;139 p_fifo->i_depth--;140 141 if( p_fifo->p_first == NULL )142 {143 /* No PES in the FIFO. p_last is no longer valid. */144 p_fifo->pp_last = &p_fifo->p_first;145 146 /* Signal the input thread we're waiting. This is only147 * needed in case of slave clock (ES plug-in) but it won't148 * harm. */149 vlc_cond_signal( &p_fifo->data_wait );150 151 /* Wait for the input to tell us when we receive a packet. */152 vlc_cond_wait( &p_fifo->data_wait, &p_fifo->data_lock );153 }154 155 197 /* The next packet could be found in the next PES packet */ 156 *pp_data = p_fifo->p_first->p_first; 157 158 vlc_mutex_unlock( &p_fifo->data_lock ); 198 *pp_data = (_NextPES( p_fifo ))->p_first; 159 199 160 200 b_new_pes = 1;
