mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
fftools/ffmpeg: move decoding code to ffmpeg_dec
This commit is contained in:
@@ -811,6 +811,17 @@ int hwaccel_decode_init(AVCodecContext *avctx);
|
||||
|
||||
int dec_open(InputStream *ist);
|
||||
|
||||
/**
|
||||
* Submit a packet for decoding
|
||||
*
|
||||
* When pkt==NULL and no_eof=0, there will be no more input. Flush decoders and
|
||||
* mark all downstreams as finished.
|
||||
*
|
||||
* When pkt==NULL and no_eof=1, the stream was reset (e.g. after a seek). Flush
|
||||
* decoders and await further input.
|
||||
*/
|
||||
int dec_packet(InputStream *ist, const AVPacket *pkt, int no_eof);
|
||||
|
||||
int enc_alloc(Encoder **penc, const AVCodec *codec);
|
||||
void enc_free(Encoder **penc);
|
||||
|
||||
@@ -885,6 +896,7 @@ OutputStream *ost_iter(OutputStream *prev);
|
||||
|
||||
void close_output_stream(OutputStream *ost);
|
||||
int trigger_fix_sub_duration_heartbeat(OutputStream *ost, const AVPacket *pkt);
|
||||
int process_subtitle(InputStream *ist, AVSubtitle *subtitle, int *got_output);
|
||||
void update_benchmark(const char *fmt, ...);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user