[FFmpeg-devel] [PATCH 10/12] avcodec: add MediaCodec encoder

Tomas Härdin git at haerdin.se
Thu Oct 27 00:17:23 EEST 2022


mån 2022-10-24 klockan 11:16 +0800 skrev Zhao Zhili:
> 
> +typedef struct MediaCodecEncContext {
> +    AVClass *avclass;
> +    FFAMediaCodec *codec;
> +    int use_ndk_codec;
> +    FFANativeWindow *window;
> +
> +    int fps;
> +    int width;
> +    int height;
> +
> +    uint8_t *extradata;
> +    int extradata_size;

Why not extradata in AVCodecContext?

Some tests would be nice

/Tomas



More information about the ffmpeg-devel mailing list