AvTranscoder  0.9.4
C++APIforLibav/FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
IOutputStream.hpp
Go to the documentation of this file.
1 #ifndef _AV_TRANSCODER_STREAM_I_OUTPUT_STREAM_HPP_
2 #define _AV_TRANSCODER_STREAM_I_OUTPUT_STREAM_HPP_
3 
7 
8 namespace avtranscoder
9 {
10 
11 class AvExport IOutputStream
12 {
13 public:
14  /**
15  * @brief define wrapping result status
16  **/
18  {
19  eWrappingSuccess = 0,
22  };
23 
24  virtual ~IOutputStream(){};
25 
26  virtual size_t getStreamIndex() const = 0;
27 
28  /**
29  * @return The current duration of the stream, in seconds.
30  */
31  virtual float getStreamDuration() const = 0;
32 
33  /**
34  * @return The current number of frame of the stream.
35  */
36  virtual size_t getNbFrames() const = 0;
37 
38  /**
39  * @brief Wrap a packet of data
40  * @return the wrapping status after wrapping
41  * @see EWrappingStatus
42  **/
43  virtual EWrappingStatus wrap(const CodedData& data) = 0;
44 };
45 }
46 
47 #endif
EWrappingStatus
define wrapping result status
This class describes coded data.
Definition: CodedData.hpp:18
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy