Home
last modified time | relevance | path

Searched refs:AVCodecContext (Results 1 – 25 of 890) sorted by relevance

12345678910>>...36

/third_party/ffmpeg/libavcodec/
Dthread.h36 AVCodecContext *owner[2];
48 void ff_thread_flush(AVCodecContext *avctx);
60 int ff_thread_decode_frame(AVCodecContext *avctx, AVFrame *picture,
71 void ff_thread_finish_setup(AVCodecContext *avctx);
108 enum AVPixelFormat ff_thread_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt);
121 int ff_thread_get_buffer(AVCodecContext *avctx, ThreadFrame *f, int flags);
134 void ff_thread_release_buffer(AVCodecContext *avctx, ThreadFrame *f);
138 int ff_thread_init(AVCodecContext *s);
139 int ff_slice_thread_execute_with_mainfunc(AVCodecContext *avctx,
140 int (*action_func2)(AVCodecContext *c, void *arg, int jobnr, int threadnr),
[all …]
Davcodec.h536 typedef struct AVCodecContext { struct
771 void (*draw_horiz_band)(struct AVCodecContext *s, argument
788 enum AVPixelFormat (*get_format)(struct AVCodecContext *s, const enum AVPixelFormat * fmt); argument
1351 int (*get_buffer2)(struct AVCodecContext *s, AVFrame *frame, int flags); argument
1514 void (*rtp_callback)(struct AVCodecContext *avctx, void *data, int size, int mb_nb); argument
1824 …int (*execute)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg), void *… argument
1844 …int (*execute2)(struct AVCodecContext *c, int (*func)(struct AVCodecContext *c2, void *arg, int jo… argument
2384 int (*get_encode_buffer)(struct AVCodecContext *s, AVPacket *pkt, int flags); argument
2385 } AVCodecContext; typedef
2393 AVRational av_codec_get_pkt_timebase (const AVCodecContext *avctx);
[all …]
Dcodec.h190 struct AVCodecContext;
260 int (*update_thread_context)(struct AVCodecContext *dst, const struct AVCodecContext *src);
276 int (*init)(struct AVCodecContext *);
277 int (*encode_sub)(struct AVCodecContext *, uint8_t *buf, int buf_size,
289 int (*encode2)(struct AVCodecContext *avctx, struct AVPacket *avpkt,
303 int (*decode)(struct AVCodecContext *avctx, void *outdata,
305 int (*close)(struct AVCodecContext *);
311 int (*receive_packet)(struct AVCodecContext *avctx, struct AVPacket *avpkt);
318 int (*receive_frame)(struct AVCodecContext *avctx, struct AVFrame *frame);
323 void (*flush)(struct AVCodecContext *);
Dnvdec.h71 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,
Dinternal.h272 int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int64_t min_size);
277 static av_always_inline int64_t ff_samples_to_time_base(AVCodecContext *avctx, in ff_samples_to_time_base()
310 int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags);
317 int ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame, int flags);
319 int ff_thread_can_start_frame(AVCodecContext *avctx);
321 int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx);
333 int ff_set_dimensions(AVCodecContext *s, int width, int height);
339 int ff_set_sar(AVCodecContext *avctx, AVRational sar);
358 int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt);
363 AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx);
[all …]
Dpixblockdsp.h46 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,
Dpthread_slice.c39 typedef int (action_func)(AVCodecContext *c, void *arg);
40 typedef int (action_func2)(AVCodecContext *c, void *arg, int jobnr, int threadnr);
41 typedef int (main_func)(AVCodecContext *c);
60 AVCodecContext *avctx = priv; in main_function()
67 AVCodecContext *avctx = priv; in worker_func()
77 void ff_slice_thread_free(AVCodecContext *avctx) in ff_slice_thread_free()
95 static int thread_execute(AVCodecContext *avctx, action_func* func, void *arg, int *ret, int job_co… in thread_execute()
114 static int thread_execute2(AVCodecContext *avctx, action_func2* func2, void *arg, int *ret, int job… in thread_execute2()
121 int ff_slice_thread_execute_with_mainfunc(AVCodecContext *avctx, action_func2* func2, main_func *ma… in ff_slice_thread_execute_with_mainfunc()
129 int ff_slice_thread_init(AVCodecContext *avctx) in ff_slice_thread_init()
[all …]
Dvaapi_decode.h80 int ff_vaapi_decode_make_param_buffer(AVCodecContext *avctx,
86 int ff_vaapi_decode_make_slice_buffer(AVCodecContext *avctx,
93 int ff_vaapi_decode_issue(AVCodecContext *avctx,
95 int ff_vaapi_decode_cancel(AVCodecContext *avctx,
98 int ff_vaapi_decode_init(AVCodecContext *avctx);
99 int ff_vaapi_decode_uninit(AVCodecContext *avctx);
101 int ff_vaapi_common_frame_params(AVCodecContext *avctx,
Dmediacodecdec_common.h39 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,
Dvt_internal.h47 int ff_videotoolbox_alloc_frame(AVCodecContext *avctx, AVFrame *frame);
48 int ff_videotoolbox_uninit(AVCodecContext *avctx);
49 int ff_videotoolbox_h264_start_frame(AVCodecContext *avctx,
52 int ff_videotoolbox_h264_decode_slice(AVCodecContext *avctx,
55 CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx);
56 CFDataRef ff_videotoolbox_hvcc_extradata_create(AVCodecContext *avctx);
Dvaapi_encode.h381 int (*configure)(AVCodecContext *avctx);
394 int (*init_sequence_params)(AVCodecContext *avctx);
395 int (*init_picture_params)(AVCodecContext *avctx,
397 int (*init_slice_params)(AVCodecContext *avctx,
410 int (*write_sequence_header)(AVCodecContext *avctx,
412 int (*write_picture_header)(AVCodecContext *avctx,
415 int (*write_slice_header)(AVCodecContext *avctx,
424 int (*write_extra_buffer)(AVCodecContext *avctx,
432 int (*write_extra_header)(AVCodecContext *avctx,
439 int ff_vaapi_encode_receive_packet(AVCodecContext *avctx, AVPacket *pkt);
[all …]
Doptions.c40 AVCodecContext *avc= ptr; in context_to_name()
50 AVCodecContext *s = obj; in codec_child_next()
87 AVCodecContext* avctx = ptr; in get_category()
97 .log_level_offset_offset = offsetof(AVCodecContext, log_level_offset),
107 static int init_context_defaults(AVCodecContext *s, const AVCodec *codec) in init_context_defaults()
110 memset(s, 0, sizeof(AVCodecContext)); in init_context_defaults()
167 int avcodec_get_context_defaults3(AVCodecContext *s, const AVCodec *codec) in avcodec_get_context_defaults3()
173 AVCodecContext *avcodec_alloc_context3(const AVCodec *codec) in avcodec_alloc_context3()
175 AVCodecContext *avctx= av_malloc(sizeof(AVCodecContext)); in avcodec_alloc_context3()
188 void avcodec_free_context(AVCodecContext **pavctx) in avcodec_free_context()
[all …]
Didctdsp.h107 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,
Dme_cmp.h82 void ff_me_cmp_init(MECmpContext *c, AVCodecContext *avctx);
83 void ff_me_cmp_init_alpha(MECmpContext *c, AVCodecContext *avctx);
84 void ff_me_cmp_init_arm(MECmpContext *c, AVCodecContext *avctx);
85 void ff_me_cmp_init_ppc(MECmpContext *c, AVCodecContext *avctx);
86 void ff_me_cmp_init_x86(MECmpContext *c, AVCodecContext *avctx);
87 void ff_me_cmp_init_mips(MECmpContext *c, AVCodecContext *avctx);
Dfmtconvert.h69 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);
Dvdpau.h60 struct AVCodecContext;
63 typedef int (*AVVDPAU_Render2)(struct AVCodecContext *, struct AVFrame *,
126 int av_vdpau_bind_context(AVCodecContext *avctx, VdpDevice device,
146 int av_vdpau_get_surface_parameters(AVCodecContext *avctx, VdpChromaType *type,
171 int av_vdpau_get_profile(AVCodecContext *avctx, VdpDecoderProfile *profile);
Dvideotoolbox.c111 int ff_videotoolbox_alloc_frame(AVCodecContext *avctx, AVFrame *frame) in ff_videotoolbox_alloc_frame()
143 CFDataRef ff_videotoolbox_avcc_extradata_create(AVCodecContext *avctx) in ff_videotoolbox_avcc_extradata_create()
182 CFDataRef ff_videotoolbox_hvcc_extradata_create(AVCodecContext *avctx) in ff_videotoolbox_hvcc_extradata_create()
334 int ff_videotoolbox_h264_start_frame(AVCodecContext *avctx, in ff_videotoolbox_h264_start_frame()
348 static int videotoolbox_h264_decode_params(AVCodecContext *avctx, in videotoolbox_h264_decode_params()
371 static int videotoolbox_common_decode_slice(AVCodecContext *avctx, in videotoolbox_common_decode_slice()
394 int ff_videotoolbox_h264_decode_slice(AVCodecContext *avctx, in ff_videotoolbox_h264_decode_slice()
406 int ff_videotoolbox_uninit(AVCodecContext *avctx) in ff_videotoolbox_uninit()
421 static AVVideotoolboxContext *videotoolbox_get_context(AVCodecContext *avctx) in videotoolbox_get_context()
433 static int videotoolbox_buffer_create(AVCodecContext *avctx, AVFrame *frame) in videotoolbox_buffer_create()
[all …]
Dmpegvideoencdsp.h48 AVCodecContext *avctx);
50 AVCodecContext *avctx);
52 AVCodecContext *avctx);
54 AVCodecContext *avctx);
56 AVCodecContext *avctx);
Dmfenc.c55 static int mf_choose_output_type(AVCodecContext *avctx);
56 static int mf_setup_context(AVCodecContext *avctx);
62 static int mf_wait_events(AVCodecContext *avctx) in mf_wait_events()
101 static AVRational mf_get_tb(AVCodecContext *avctx) in mf_get_tb()
110 static LONGLONG mf_to_mf_time(AVCodecContext *avctx, int64_t av_pts) in mf_to_mf_time()
117 static void mf_sample_set_pts(AVCodecContext *avctx, IMFSample *sample, int64_t av_pts) in mf_sample_set_pts()
124 static int64_t mf_from_mf_time(AVCodecContext *avctx, LONGLONG stime) in mf_from_mf_time()
129 static int64_t mf_sample_get_pts(AVCodecContext *avctx, IMFSample *sample) in mf_sample_get_pts()
138 static int mf_enca_output_type_get(AVCodecContext *avctx, IMFMediaType *type) in mf_enca_output_type_get()
178 static int mf_encv_output_type_get(AVCodecContext *avctx, IMFMediaType *type) in mf_encv_output_type_get()
[all …]
Dpthread_internal.h28 int ff_slice_thread_init(AVCodecContext *avctx);
29 void ff_slice_thread_free(AVCodecContext *avctx);
31 int ff_frame_thread_init(AVCodecContext *avctx);
32 void ff_frame_thread_free(AVCodecContext *avctx, int thread_count);
/third_party/ffmpeg/libavcodec/arm/
Dneontest.c25 wrap(avcodec_open2(AVCodecContext *avctx, in wrap()
33 wrap(avcodec_decode_audio4(AVCodecContext *avctx, in wrap()
42 wrap(avcodec_decode_video2(AVCodecContext *avctx, in wrap()
51 wrap(avcodec_encode_audio2(AVCodecContext *avctx, in wrap()
60 wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, in wrap()
67 wrap(avcodec_decode_subtitle2(AVCodecContext *avctx, in wrap()
76 wrap(avcodec_encode_subtitle(AVCodecContext *avctx, in wrap()
83 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in wrap()
88 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in wrap()
93 wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) in wrap()
[all …]
/third_party/ffmpeg/libavcodec/x86/
Dw64xmmtest.c25 wrap(avcodec_open2(AVCodecContext *avctx, in wrap()
33 wrap(avcodec_decode_audio4(AVCodecContext *avctx, in wrap()
42 wrap(avcodec_decode_video2(AVCodecContext *avctx, in wrap()
51 wrap(avcodec_encode_audio2(AVCodecContext *avctx, in wrap()
60 wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, in wrap()
67 wrap(avcodec_decode_subtitle2(AVCodecContext *avctx, in wrap()
76 wrap(avcodec_encode_subtitle(AVCodecContext *avctx, in wrap()
83 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in wrap()
88 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in wrap()
93 wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) in wrap()
[all …]
/third_party/ffmpeg/libavcodec/aarch64/
Dneontest.c25 wrap(avcodec_open2(AVCodecContext *avctx, in wrap()
33 wrap(avcodec_decode_audio4(AVCodecContext *avctx, in wrap()
42 wrap(avcodec_decode_video2(AVCodecContext *avctx, in wrap()
51 wrap(avcodec_encode_audio2(AVCodecContext *avctx, in wrap()
60 wrap(avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, in wrap()
67 wrap(avcodec_decode_subtitle2(AVCodecContext *avctx, in wrap()
76 wrap(avcodec_encode_subtitle(AVCodecContext *avctx, in wrap()
83 wrap(avcodec_send_packet(AVCodecContext *avctx, const AVPacket *avpkt)) in wrap()
88 wrap(avcodec_receive_packet(AVCodecContext *avctx, AVPacket *avpkt)) in wrap()
93 wrap(avcodec_send_frame(AVCodecContext *avctx, const AVFrame *frame)) in wrap()
[all …]
/third_party/gstreamer/gst_libav/ext/libav/
Dgstavcodecmap.h42 AVCodecContext *context,
51 gst_ffmpeg_codectype_to_audio_caps (AVCodecContext *context,
56 gst_ffmpeg_codectype_to_video_caps (AVCodecContext *context,
69 AVCodecContext *context);
80 AVCodecContext *context);
90 AVCodecContext *context);
94 AVCodecContext *context);
98 AVCodecContext *context);
/third_party/ffmpeg/doc/examples/
Dtranscode_aac.c60 AVCodecContext **input_codec_context) in open_input_file()
62 AVCodecContext *avctx; in open_input_file()
140 AVCodecContext *input_codec_context, in open_output_file()
142 AVCodecContext **output_codec_context) in open_output_file()
144 AVCodecContext *avctx = NULL; in open_output_file()
283 static int init_resampler(AVCodecContext *input_codec_context, in init_resampler()
284 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()
443 AVCodecContext *output_codec_context, in init_converted_samples()
[all …]

12345678910>>...36