summaryrefslogtreecommitdiff
path: root/avconv.h
diff options
context:
space:
mode:
Diffstat (limited to 'avconv.h')
-rw-r--r--avconv.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/avconv.h b/avconv.h
index 87b85857d7..b4e2bdb427 100644
--- a/avconv.h
+++ b/avconv.h
@@ -197,6 +197,17 @@ typedef struct InputFilter {
struct InputStream *ist;
struct FilterGraph *graph;
uint8_t *name;
+
+ // parameters configured for this input
+ int format;
+
+ int width, height;
+ AVRational sample_aspect_ratio;
+
+ int sample_rate;
+ uint64_t channel_layout;
+
+ AVBufferRef *hw_frames_ctx;
} InputFilter;
typedef struct OutputFilter {
@@ -464,6 +475,9 @@ int filtergraph_is_simple(FilterGraph *fg);
int init_simple_filtergraph(InputStream *ist, OutputStream *ost);
int init_complex_filtergraph(FilterGraph *fg);
+int ifilter_parameters_from_frame(InputFilter *ifilter, const AVFrame *frame);
+int ifilter_parameters_from_decoder(InputFilter *ifilter, const AVCodecContext *avctx);
+
int avconv_parse_options(int argc, char **argv);
int vdpau_init(AVCodecContext *s);