/third_party/ffmpeg/libavcodec/ |
H A D | thread.h | 40 void ff_thread_flush(AVCodecContext *avctx); 52 int ff_thread_decode_frame(AVCodecContext *avctx, AVFrame *picture, 63 void ff_thread_finish_setup(AVCodecContext *avctx); 74 enum AVPixelFormat ff_thread_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt); 87 int ff_thread_get_buffer(AVCodecContext *avctx, AVFrame *f, int flags); 100 void ff_thread_release_buffer(AVCodecContext *avctx, AVFrame *f); 102 int ff_thread_init(AVCodecContext *s); 103 int ff_slice_thread_execute_with_mainfunc(AVCodecContext *avctx, 104 int (*action_func2)(AVCodecContext *c, void *arg, int jobnr, int threadnr), 105 int (*main_func)(AVCodecContext * [all...] |
H A D | avcodec.h | 97 * - Set up and open the AVCodecContext as usual. 204 These flags can be passed in AVCodecContext.flags before initialization. 343 These flags can be passed in AVCodecContext.export_side_data before initialization. 387 * sizeof(AVCodecContext) must not be used outside libav*. 389 typedef struct AVCodecContext { struct 624 void (*draw_horiz_band)(struct AVCodecContext *s, 653 enum AVPixelFormat (*get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt); 1101 * AVCodecContext. This callback must use the frame values, not the codec 1167 int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags); 1514 int (*execute)(struct AVCodecContext * 2057 } AVCodecContext; global() typedef [all...] |
H A D | codec_internal.h | 87 struct AVCodecContext; 142 int (*update_thread_context)(struct AVCodecContext *dst, const struct AVCodecContext *src); 147 int (*update_thread_context_for_user)(struct AVCodecContext *dst, const struct AVCodecContext *src); 163 int (*init)(struct AVCodecContext *); 178 int (*decode)(struct AVCodecContext *avctx, struct AVFrame *frame, 186 int (*decode_sub)(struct AVCodecContext *avctx, struct AVSubtitle *sub, 195 int (*receive_frame)(struct AVCodecContext *avctx, struct AVFrame *frame); 207 int (*encode)(struct AVCodecContext *avct [all...] |
H A D | vt_internal.h | 52 int ff_videotoolbox_alloc_frame(AVCodecContext *avctx, AVFrame *frame); 53 int ff_videotoolbox_common_init(AVCodecContext *avctx); 54 int ff_videotoolbox_frame_params(AVCodecContext *avctx, 59 int ff_videotoolbox_uninit(AVCodecContext *avctx); 60 int ff_videotoolbox_h264_start_frame(AVCodecContext *avctx, 63 int ff_videotoolbox_h264_decode_slice(AVCodecContext *avctx, 66 int ff_videotoolbox_common_end_frame(AVCodecContext *avctx, AVFrame *frame); 67 CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx); 68 CFDataRef ff_videotoolbox_hvcc_extradata_create(AVCodecContext *avctx); 69 CFDataRef ff_videotoolbox_vpcc_extradata_create(AVCodecContext *avct [all...] |
H A D | nvdec.h | 71 int ff_nvdec_decode_init(AVCodecContext *avctx); 72 int ff_nvdec_decode_uninit(AVCodecContext *avctx); 73 int ff_nvdec_start_frame(AVCodecContext *avctx, AVFrame *frame); 74 int ff_nvdec_start_frame_sep_ref(AVCodecContext *avctx, AVFrame *frame, int has_sep_ref); 75 int ff_nvdec_end_frame(AVCodecContext *avctx); 76 int ff_nvdec_simple_end_frame(AVCodecContext *avctx); 77 int ff_nvdec_simple_decode_slice(AVCodecContext *avctx, const uint8_t *buffer, 79 int ff_nvdec_frame_params(AVCodecContext *avctx,
|
H A D | pixblockdsp.h | 46 void ff_pixblockdsp_init(PixblockDSPContext *c, AVCodecContext *avctx); 47 void ff_pixblockdsp_init_aarch64(PixblockDSPContext *c, AVCodecContext *avctx, 49 void ff_pixblockdsp_init_alpha(PixblockDSPContext *c, AVCodecContext *avctx, 51 void ff_pixblockdsp_init_arm(PixblockDSPContext *c, AVCodecContext *avctx, 53 void ff_pixblockdsp_init_ppc(PixblockDSPContext *c, AVCodecContext *avctx, 55 void ff_pixblockdsp_init_x86(PixblockDSPContext *c, AVCodecContext *avctx, 57 void ff_pixblockdsp_init_mips(PixblockDSPContext *c, AVCodecContext *avctx,
|
H A D | internal.h | 108 * for the parent AVCodecContext. 171 * Rescale from sample rate to AVCodecContext.time_base. 173 static av_always_inline int64_t ff_samples_to_time_base(AVCodecContext *avctx, in ff_samples_to_time_base() 203 * AVCodecContext.get_buffer() and should be used instead calling get_buffer() 206 int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags); 213 int ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame, int flags); 215 int ff_thread_can_start_frame(AVCodecContext *avctx); 217 int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx); 225 int ff_set_dimensions(AVCodecContext *s, int width, int height); 231 int ff_set_sar(AVCodecContext *avct [all...] |
H A D | vaapi_encode.h | 209 // size (AVCodecContext.width|height) aligned up to whatever 398 int (*get_encoder_caps)(AVCodecContext *avctx); 403 int (*configure)(AVCodecContext *avctx); 416 int (*init_sequence_params)(AVCodecContext *avctx); 417 int (*init_picture_params)(AVCodecContext *avctx, 419 int (*init_slice_params)(AVCodecContext *avctx, 432 int (*write_sequence_header)(AVCodecContext *avctx, 434 int (*write_picture_header)(AVCodecContext *avctx, 437 int (*write_slice_header)(AVCodecContext *avctx, 446 int (*write_extra_buffer)(AVCodecContext *avct [all...] |
H A D | idctdsp.h | 107 void ff_idctdsp_init(IDCTDSPContext *c, AVCodecContext *avctx); 109 void ff_idctdsp_init_aarch64(IDCTDSPContext *c, AVCodecContext *avctx, 111 void ff_idctdsp_init_alpha(IDCTDSPContext *c, AVCodecContext *avctx, 113 void ff_idctdsp_init_arm(IDCTDSPContext *c, AVCodecContext *avctx, 115 void ff_idctdsp_init_ppc(IDCTDSPContext *c, AVCodecContext *avctx, 117 void ff_idctdsp_init_x86(IDCTDSPContext *c, AVCodecContext *avctx, 119 void ff_idctdsp_init_mips(IDCTDSPContext *c, AVCodecContext *avctx, 121 void ff_idctdsp_init_loongarch(IDCTDSPContext *c, AVCodecContext *avctx,
|
H A D | me_cmp.h | 82 void ff_me_cmp_init(MECmpContext *c, AVCodecContext *avctx); 83 void ff_me_cmp_init_aarch64(MECmpContext *c, AVCodecContext *avctx); 84 void ff_me_cmp_init_alpha(MECmpContext *c, AVCodecContext *avctx); 85 void ff_me_cmp_init_arm(MECmpContext *c, AVCodecContext *avctx); 86 void ff_me_cmp_init_ppc(MECmpContext *c, AVCodecContext *avctx); 87 void ff_me_cmp_init_x86(MECmpContext *c, AVCodecContext *avctx); 88 void ff_me_cmp_init_mips(MECmpContext *c, AVCodecContext *avctx);
|
H A D | mediacodecdec_common.h | 39 AVCodecContext *avctx; 75 int ff_mediacodec_dec_init(AVCodecContext *avctx, 80 int ff_mediacodec_dec_send(AVCodecContext *avctx, 85 int ff_mediacodec_dec_receive(AVCodecContext *avctx, 90 int ff_mediacodec_dec_flush(AVCodecContext *avctx, 93 int ff_mediacodec_dec_close(AVCodecContext *avctx, 96 int ff_mediacodec_dec_is_flushing(AVCodecContext *avctx,
|
H A D | vaapi_decode.h | 67 int ff_vaapi_decode_make_param_buffer(AVCodecContext *avctx, 73 int ff_vaapi_decode_make_slice_buffer(AVCodecContext *avctx, 80 int ff_vaapi_decode_issue(AVCodecContext *avctx, 82 int ff_vaapi_decode_cancel(AVCodecContext *avctx, 85 int ff_vaapi_decode_init(AVCodecContext *avctx); 86 int ff_vaapi_decode_uninit(AVCodecContext *avctx); 88 int ff_vaapi_common_frame_params(AVCodecContext *avctx,
|
H A D | pthread_slice.c | 40 typedef int (action_func)(AVCodecContext *c, void *arg); 41 typedef int (action_func2)(AVCodecContext *c, void *arg, int jobnr, int threadnr); 42 typedef int (main_func)(AVCodecContext *c); 65 AVCodecContext *avctx = priv; in main_function() 72 AVCodecContext *avctx = priv; in worker_func() 82 void ff_slice_thread_free(AVCodecContext *avctx) in ff_slice_thread_free() 100 static int thread_execute(AVCodecContext *avctx, action_func* func, void *arg, int *ret, int job_count, int job_size) in thread_execute() 119 static int thread_execute2(AVCodecContext *avctx, action_func2* func2, void *arg, int *ret, int job_count) in thread_execute2() 126 int ff_slice_thread_execute_with_mainfunc(AVCodecContext *avctx, action_func2* func2, main_func *mainfunc, void *arg, int *ret, int job_count) in ff_slice_thread_execute_with_mainfunc() 134 int ff_slice_thread_init(AVCodecContext *avct [all...] |
H A D | options.c | 24 * Options definition for AVCodecContext. 42 AVCodecContext *avc= ptr; in context_to_name() 52 AVCodecContext *s = obj; in codec_child_next() 70 AVCodecContext* avctx = ptr; in get_category() 78 .class_name = "AVCodecContext", 82 .log_level_offset_offset = offsetof(AVCodecContext, log_level_offset), 89 static int init_context_defaults(AVCodecContext *s, const AVCodec *codec) in init_context_defaults() 93 memset(s, 0, sizeof(AVCodecContext)); in init_context_defaults() 149 AVCodecContext *avcodec_alloc_context3(const AVCodec *codec) in avcodec_alloc_context3() 151 AVCodecContext *avct in avcodec_alloc_context3() [all...] |
H A D | encode.h | 38 int ff_encode_get_frame(AVCodecContext *avctx, AVFrame *frame); 42 * AVCodecContext.get_encode_buffer() and should be used instead calling get_encode_buffer() 45 int ff_get_encode_buffer(AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int flags); 50 int ff_encode_alloc_frame(AVCodecContext *avctx, AVFrame *frame); 58 * @param avctx the AVCodecContext of the encoder 65 int ff_alloc_packet(AVCodecContext *avctx, AVPacket *avpkt, int64_t size); 71 int ff_encode_preinit(AVCodecContext *avctx);
|
H A D | fmtconvert.h | 69 void ff_fmt_convert_init(FmtConvertContext *c, AVCodecContext *avctx); 71 void ff_fmt_convert_init_aarch64(FmtConvertContext *c, AVCodecContext *avctx); 72 void ff_fmt_convert_init_arm(FmtConvertContext *c, AVCodecContext *avctx); 73 void ff_fmt_convert_init_ppc(FmtConvertContext *c, AVCodecContext *avctx); 74 void ff_fmt_convert_init_x86(FmtConvertContext *c, AVCodecContext *avctx);
|
H A D | mpegvideoencdsp.h | 48 AVCodecContext *avctx); 50 AVCodecContext *avctx); 52 AVCodecContext *avctx); 54 AVCodecContext *avctx); 56 AVCodecContext *avctx);
|
H A D | mpegvideodec.h | 48 void ff_mpv_decode_init(MpegEncContext *s, AVCodecContext *avctx); 52 int ff_mpv_frame_start(MpegEncContext *s, AVCodecContext *avctx); 57 int ff_mpeg_update_thread_context(AVCodecContext *dst, const AVCodecContext *src); 59 void ff_mpeg_flush(AVCodecContext *avctx);
|
H A D | mpegpicture.h | 99 int ff_alloc_picture(AVCodecContext *avctx, Picture *pic, MotionEstContext *me, 105 int ff_mpeg_framesize_alloc(AVCodecContext *avctx, MotionEstContext *me, 108 int ff_mpeg_ref_picture(AVCodecContext *avctx, Picture *dst, Picture *src); 109 void ff_mpeg_unref_picture(AVCodecContext *avctx, Picture *picture); 111 void ff_mpv_picture_free(AVCodecContext *avctx, Picture *pic); 114 int ff_find_unused_picture(AVCodecContext *avctx, Picture *picture, int shared);
|
H A D | mfenc.c | 59 static int mf_choose_output_type(AVCodecContext *avctx); 60 static int mf_setup_context(AVCodecContext *avctx); 66 static int mf_wait_events(AVCodecContext *avctx) in mf_wait_events() 105 static AVRational mf_get_tb(AVCodecContext *avctx) in mf_get_tb() 112 static LONGLONG mf_to_mf_time(AVCodecContext *avctx, int64_t av_pts) in mf_to_mf_time() 119 static void mf_sample_set_pts(AVCodecContext *avctx, IMFSample *sample, int64_t av_pts) in mf_sample_set_pts() 126 static int64_t mf_from_mf_time(AVCodecContext *avctx, LONGLONG stime) in mf_from_mf_time() 131 static int64_t mf_sample_get_pts(AVCodecContext *avctx, IMFSample *sample) in mf_sample_get_pts() 140 static int mf_enca_output_type_get(AVCodecContext *avctx, IMFMediaType *type) in mf_enca_output_type_get() 180 static int mf_encv_output_type_get(AVCodecContext *avct [all...] |
H A D | vdpau_internal.h | 120 int ff_vdpau_common_init(AVCodecContext *avctx, VdpDecoderProfile profile, 122 int ff_vdpau_common_uninit(AVCodecContext *avctx); 126 int ff_vdpau_common_end_frame(AVCodecContext *avctx, AVFrame *frame, 128 int ff_vdpau_mpeg_end_frame(AVCodecContext *avctx); 131 int ff_vdpau_common_frame_params(AVCodecContext *avctx,
|
/third_party/ffmpeg/libavcodec/arm/ |
H A D | neontest.c | 25 wrap(avcodec_open2(AVCodecContext *avctx, in avcodec_open2() 32 wrap(avcodec_decode_subtitle2(AVCodecContext *avctx, in avcodec_decode_subtitle2() 41 wrap(avcodec_encode_subtitle(AVCodecContext *avctx, in avcodec_encode_subtitle() 48 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in avcodec_send_packet() 53 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in avcodec_receive_packet() 58 wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) in avcodec_send_frame() 63 wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) in avcodec_receive_frame()
|
/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | neontest.c | 25 wrap(avcodec_open2(AVCodecContext *avctx, in avcodec_open2() 32 wrap(avcodec_decode_subtitle2(AVCodecContext *avctx, in avcodec_decode_subtitle2() 41 wrap(avcodec_encode_subtitle(AVCodecContext *avctx, in avcodec_encode_subtitle() 48 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in avcodec_send_packet() 53 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in avcodec_receive_packet() 58 wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) in avcodec_send_frame() 63 wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) in avcodec_receive_frame()
|
/third_party/ffmpeg/libavcodec/x86/ |
H A D | w64xmmtest.c | 25 wrap(avcodec_open2(AVCodecContext *avctx, in avcodec_open2() 32 wrap(avcodec_decode_subtitle2(AVCodecContext *avctx, in avcodec_decode_subtitle2() 41 wrap(avcodec_encode_subtitle(AVCodecContext *avctx, in avcodec_encode_subtitle() 48 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in avcodec_send_packet() 53 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in avcodec_receive_packet() 58 wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) in avcodec_send_frame() 63 wrap(avcodec_receive_frame(AVCodecContext *avctx, AVFrame *frame)) in avcodec_receive_frame()
|
/third_party/ffmpeg/doc/examples/ |
H A D | transcode_aac.c | 61 AVCodecContext **input_codec_context) in open_input_file() 63 AVCodecContext *avctx; in open_input_file() 147 AVCodecContext *input_codec_context, in open_output_file() 149 AVCodecContext **output_codec_context) in open_output_file() 151 AVCodecContext *avctx = NULL; in open_output_file() 286 static int init_resampler(AVCodecContext *input_codec_context, in init_resampler() 287 AVCodecContext *output_codec_context, in init_resampler() 330 static int init_fifo(AVAudioFifo **fifo, AVCodecContext *output_codec_context) in init_fifo() 372 AVCodecContext *input_codec_context, in decode_audio_frame() 445 AVCodecContext *output_codec_contex in init_converted_samples() [all...] |