Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
decoder.h
Package: vlc-1.0.5.zip [view]
Upload User: kjfoods
Upload Date: 2020-07-06
Package Size: 29949k
Code Size: 4k
Category:
midi program
Development Platform:
Unix_Linux
- /*****************************************************************************
- * decoder.h: Input decoder functions
- *****************************************************************************
- * Copyright (C) 1998-2008 the VideoLAN team
- * Copyright (C) 2008 Laurent Aimar
- * $Id: fe99b42e794eec0ccd8ecfdc51ad43b9959f97e2 $
- *
- * Authors: Laurent Aimar <fenrir@via.ecp.fr>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
- *****************************************************************************/
- #if defined(__PLUGIN__) || defined(__BUILTIN__) || !defined(__LIBVLC__)
- # error This header file can only be included from LibVLC.
- #endif
- #ifndef _INPUT_DECODER_H
- #define _INPUT_DECODER_H 1
- #include <vlc_common.h>
- #include <vlc_codec.h>
- #define BLOCK_FLAG_CORE_FLUSH (1 <<BLOCK_FLAG_CORE_PRIVATE_SHIFT)
- /**
- * This function changes the pause state.
- * The date parameter MUST hold the exact date at wich the change has been
- * done for proper vout/aout pausing.
- */
- void input_DecoderChangePause( decoder_t *, bool b_paused, mtime_t i_date );
- /**
- * This function changes the delay.
- */
- void input_DecoderChangeDelay( decoder_t *, mtime_t i_delay );
- /**
- * This function starts the buffering mode.
- */
- void input_DecoderStartBuffering( decoder_t * );
- /**
- * This function waits for the decoder to have buffered sufficient data.
- */
- void input_DecoderWaitBuffering( decoder_t * );
- /**
- * This function stops the buffering mode.
- */
- void input_DecoderStopBuffering( decoder_t * );
- /**
- * This function returns true if the decoder fifo is empty and false otherwise.
- */
- bool input_DecoderIsEmpty( decoder_t * );
- /**
- * This function activates the request closed caption channel.
- */
- int input_DecoderSetCcState( decoder_t *, bool b_decode, int i_channel );
- /**
- * This function returns an error if the requested channel does not exist and
- * set pb_decode to the channel status(active or not) otherwise.
- */
- int input_DecoderGetCcState( decoder_t *, bool *pb_decode, int i_channel );
- /**
- * This function set each pb_present entry to true if the corresponding channel
- * exists or false otherwise.
- */
- void input_DecoderIsCcPresent( decoder_t *, bool pb_present[4] );
- /**
- * This function force the display of the next picture and fills the stream
- * time consumed.
- */
- void input_DecoderFrameNext( decoder_t *p_dec, mtime_t *pi_duration );
- /**
- * This function will return true if the ES format or meta data have changed since
- * the last call. In which case, it will do a copy of the current es_format_t if p_fmt
- * is not NULL and will do a copy of the current description if pp_meta is non NULL.
- * The es_format_t MUST be freed by es_format_Clean and *pp_meta MUST be freed by
- * vlc_meta_Delete.
- * Otherwise it will return false and will not initialize p_fmt and *pp_meta.
- */
- bool input_DecoderHasFormatChanged( decoder_t *p_dec, es_format_t *p_fmt, vlc_meta_t **pp_meta );
- /**
- * This function returns the current size in bytes of the decoder fifo
- */
- size_t input_DecoderGetFifoSize( decoder_t *p_dec );
- #endif