virtual int encode_activate();
virtual int decode_activate();
+ virtual int write_packet(FFPacket &pkt);
int read_packet();
int seek(int64_t no, double rate);
- int write_packet(FFPacket &pkt);
int flush();
int decode(AVFrame *frame);
void load_markers(IndexMarks &marks, double rate);
int write(const float *fp, long len);
int zero(long len);
int write(const double *dp, long len, int ch);
+ int write_packet(FFPacket &pkt);
public:
FFAudioStream(FFMPEG *ffmpeg, AVStream *strm, int idx, int fidx);
virtual ~FFAudioStream();
};
class FFVideoStream : public FFStream, public FFVideoConvert {
+ int write_packet(FFPacket &pkt);
public:
FFVideoStream(FFMPEG *ffmpeg, AVStream *strm, int idx, int fidx);
virtual ~FFVideoStream();
const char *ff_video_format(int stream);
int64_t ff_video_frames(int stream);
int ff_video_pid(int stream);
+ int ff_video_mpeg_color_range(int stream);
int ff_cpus();
void dump_context(AVCodecContext *ctx);