/third_party/ffmpeg/libavutil/ |
H A D | frame.h | 42 * @defgroup lavu_frame AVFrame 46 * AVFrame is an abstraction for reference-counted raw multimedia data. 226 * Structure to hold side data for an AVFrame. 298 * AVFrame must be allocated using av_frame_alloc(). Note that this only 299 * allocates the AVFrame itself, the buffers for the data must be managed 301 * AVFrame must be freed with av_frame_free(). 303 * AVFrame is typically allocated once and then reused multiple times to hold 304 * different data (e.g. a single AVFrame to hold frames received from a 309 * The data described by an AVFrame is usually reference counted through the 310 * AVBuffer API. The underlying buffer references are stored in AVFrame 325 typedef struct AVFrame { global() struct 705 } AVFrame; global() typedef [all...] |
H A D | hwcontext_internal.h | 83 int (*frames_get_buffer)(AVHWFramesContext *ctx, AVFrame *frame); 87 int (*transfer_data_to)(AVHWFramesContext *ctx, AVFrame *dst, 88 const AVFrame *src); 89 int (*transfer_data_from)(AVHWFramesContext *ctx, AVFrame *dst, 90 const AVFrame *src); 92 int (*map_to)(AVHWFramesContext *ctx, AVFrame *dst, 93 const AVFrame *src, int flags); 94 int (*map_from)(AVHWFramesContext *ctx, AVFrame *dst, 95 const AVFrame *src, int flags); 136 AVFrame *sourc [all...] |
H A D | frame.c | 55 static void get_frame_defaults(AVFrame *frame) in get_frame_defaults() 87 static void wipe_side_data(AVFrame *frame) in wipe_side_data() 99 AVFrame *av_frame_alloc(void) in av_frame_alloc() 101 AVFrame *frame = av_malloc(sizeof(*frame)); in av_frame_alloc() 111 void av_frame_free(AVFrame **frame) in av_frame_free() 120 static int get_video_buffer(AVFrame *frame, int align) in get_video_buffer() 189 static int get_audio_buffer(AVFrame *frame, int align) in get_audio_buffer() 254 int av_frame_get_buffer(AVFrame *frame, int align) in av_frame_get_buffer() 274 static int frame_copy_props(AVFrame *dst, const AVFrame *sr [all...] |
H A D | hwcontext_drm.c | 80 static int drm_get_buffer(AVHWFramesContext *hwfc, AVFrame *frame) in drm_get_buffer() 121 AVFrame *dst, const AVFrame *src, int flags) in drm_map_frame() 223 AVFrame *dst, const AVFrame *src) in drm_transfer_data_from() 225 AVFrame *map; in drm_transfer_data_from() 254 AVFrame *dst, const AVFrame *src) in drm_transfer_data_to() 256 AVFrame *map; in drm_transfer_data_to() 285 static int drm_map_from(AVHWFramesContext *hwfc, AVFrame *ds [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | af_afir.h | 43 AVFrame *sumin; 44 AVFrame *sumout; 45 AVFrame *blockin; 46 AVFrame *blockout; 47 AVFrame *buffer; 48 AVFrame *coeff; 49 AVFrame *input; 50 AVFrame *output; 89 AVFrame *in; 90 AVFrame *i [all...] |
H A D | vf_xfade.c | 102 AVFrame *xf[2]; 107 void (*transitionf)(AVFilterContext *ctx, const AVFrame *a, const AVFrame *b, AVFrame *out, float progress, 117 const AVFrame *xf[2]; 118 AVFrame *out; 210 const AVFrame *a, const AVFrame *b, AVFrame *out, \ 269 const AVFrame * [all...] |
H A D | avf_showcqt.h | 49 AVFrame *axis_frame; 50 AVFrame *sono_frame; 84 void (*draw_bar)(AVFrame *out, const float *h, const float *rcp_h, 86 void (*draw_axis)(AVFrame *out, AVFrame *axis, const ColorFloat *c, int off); 87 void (*draw_sono)(AVFrame *out, AVFrame *sono, int off, int idx); 88 void (*update_sono)(AVFrame *sono, const ColorFloat *c, int idx);
|
H A D | yadif.h | 59 AVFrame *cur; 60 AVFrame *next; 61 AVFrame *prev; 62 AVFrame *out; 64 void (*filter)(AVFilterContext *ctx, AVFrame *dstpic, int parity, int tff); 91 int ff_yadif_filter_frame(AVFilterLink *link, AVFrame *frame);
|
H A D | dnn_interface.h | 71 AVFrame *in_frame; 72 AVFrame *out_frame; 80 typedef int (*FramePrePostProc)(AVFrame *frame, DNNData *model, AVFilterContext *filter_ctx); 81 typedef int (*DetectPostProc)(AVFrame *frame, DNNData *output, uint32_t nb, AVFilterContext *filter_ctx); 82 typedef int (*ClassifyPostProc)(AVFrame *frame, DNNData *output, uint32_t bbox_index, AVFilterContext *filter_ctx); 89 // Stores FilterContext used for the interaction between AVFrame and DNNData 99 // set the pre process to transfer data from AVFrame to DNNData 102 // set the post process to transfer data from DNNData to AVFrame 118 DNNAsyncStatusType (*get_result)(const DNNModel *model, AVFrame **in, AVFrame **ou [all...] |
H A D | bufferqueue.h | 26 * FFBufQueue: simple AVFrame queue API 50 AVFrame *queue[FF_BUFQUEUE_SIZE]; 72 AVFrame *buf) in ff_bufqueue_add() 87 static inline AVFrame *ff_bufqueue_peek(struct FFBufQueue *queue, in ff_bufqueue_peek() 98 static inline AVFrame *ff_bufqueue_get(struct FFBufQueue *queue) in ff_bufqueue_get() 100 AVFrame *ret = queue->queue[queue->head]; in ff_bufqueue_get() 114 AVFrame *buf = ff_bufqueue_get(queue); in ff_bufqueue_discard_all()
|
H A D | vf_signalstats.c | 47 AVFrame *frame_prev; 56 AVFrame *frame_sat; 57 AVFrame *frame_hue; 61 const AVFrame *in; 62 AVFrame *out; 66 const AVFrame *src; 67 AVFrame *dst_sat, *dst_hue; 135 static AVFrame *alloc_frame(enum AVPixelFormat pixfmt, int w, int h) in alloc_frame() 137 AVFrame *frame = av_frame_alloc(); in alloc_frame() 193 static void burn_frame8(const SignalstatsContext *s, AVFrame * [all...] |
H A D | vf_floodfill.c | 45 int (*is_same)(const AVFrame *frame, int x, int y, 47 void (*set_pixel)(AVFrame *frame, int x, int y, 49 void (*pick_pixel)(const AVFrame *frame, int x, int y, 60 static int is_same4(const AVFrame *frame, int x, int y, in is_same4() 73 static int is_same4_16(const AVFrame *frame, int x, int y, in is_same4_16() 86 static int is_same3(const AVFrame *frame, int x, int y, in is_same3() 98 static int is_same3_16(const AVFrame *frame, int x, int y, in is_same3_16() 110 static int is_same1(const AVFrame *frame, int x, int y, in is_same1() 120 static int is_same1_16(const AVFrame *frame, int x, int y, in is_same1_16() 130 static void set_pixel1(AVFrame *fram [all...] |
H A D | af_silenceremove.c | 76 AVFrame *start_holdoff; 77 AVFrame *start_silence_hold; 84 AVFrame *stop_holdoff; 85 AVFrame *stop_silence_hold; 92 AVFrame *window; 102 void (*update)(struct SilenceRemoveContext *s, AVFrame *frame, int ch, int offset); 103 double (*compute)(struct SilenceRemoveContext *s, AVFrame *frame, int ch, int offset); 104 void (*copy)(struct SilenceRemoveContext *s, AVFrame *out, AVFrame *in, 135 static void copy_double(SilenceRemoveContext *s, AVFrame *ou [all...] |
H A D | filters.h | 53 int ff_inlink_process_commands(AVFilterLink *link, const AVFrame *frame); 61 int ff_inlink_evaluate_timeline_at_frame(AVFilterLink *link, const AVFrame *frame); 101 int ff_inlink_consume_frame(AVFilterLink *link, AVFrame **rframe); 116 AVFrame **rframe); 123 AVFrame *ff_inlink_peek_frame(AVFilterLink *link, size_t idx); 130 int ff_inlink_make_frame_writable(AVFilterLink *link, AVFrame **rframe);
|
H A D | dnn_filter_common.h | 58 int ff_dnn_execute_model(DnnContext *ctx, AVFrame *in_frame, AVFrame *out_frame); 59 int ff_dnn_execute_model_classification(DnnContext *ctx, AVFrame *in_frame, AVFrame *out_frame, const char *target); 60 DNNAsyncStatusType ff_dnn_get_result(DnnContext *ctx, AVFrame **in_frame, AVFrame **out_frame);
|
H A D | video.c | 36 AVFrame *ff_null_get_video_buffer(AVFilterLink *link, int w, int h) in ff_null_get_video_buffer() 41 AVFrame *ff_default_get_video_buffer2(AVFilterLink *link, int w, int h, int align) in ff_default_get_video_buffer2() 43 AVFrame *frame = NULL; in ff_default_get_video_buffer2() 96 AVFrame *ff_default_get_video_buffer(AVFilterLink *link, int w, int h) in ff_default_get_video_buffer() 101 AVFrame *ff_get_video_buffer(AVFilterLink *link, int w, int h) in ff_get_video_buffer() 103 AVFrame *ret = NULL; in ff_get_video_buffer()
|
H A D | framesync.h | 101 AVFrame *frame; 106 AVFrame *frame_next; 256 int ff_framesync_get_frame(FFFrameSync *fs, unsigned in, AVFrame **rframe, 288 int ff_framesync_dualinput_get(FFFrameSync *fs, AVFrame **f0, AVFrame **f1); 293 int ff_framesync_dualinput_get_writable(FFFrameSync *fs, AVFrame **f0, AVFrame **f1);
|
H A D | video.h | 26 AVFrame *ff_default_get_video_buffer(AVFilterLink *link, int w, int h); 27 AVFrame *ff_default_get_video_buffer2(AVFilterLink *link, int w, int h, int align); 28 AVFrame *ff_null_get_video_buffer(AVFilterLink *link, int w, int h); 37 * @return on success, an AVFrame owned by the caller, NULL on error 39 AVFrame *ff_get_video_buffer(AVFilterLink *link, int w, int h);
|
H A D | vf_normalize.c | 121 void (*find_min_max)(struct NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]); 122 void (*process)(struct NormalizeContext *s, AVFrame *in, AVFrame *out); 140 static void find_min_max(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) in find_min_max() 156 static void process(NormalizeContext *s, AVFrame *in, AVFrame *out) in process() 173 static void find_min_max_planar(NormalizeContext *s, AVFrame *in, NormalizeLocal min[3], NormalizeLocal max[3]) in find_min_max_planar() 193 static void process_planar(NormalizeContext *s, AVFrame *in, AVFrame *out) in process_planar() 214 static void find_min_max_16(NormalizeContext *s, AVFrame *i [all...] |
H A D | vf_threshold.c | 70 AVFrame *in; 71 AVFrame *threshold; 72 AVFrame *min; 73 AVFrame *max; 74 AVFrame *out; 81 AVFrame *min = td->min; in filter_slice() 82 AVFrame *max = td->max; in filter_slice() 83 AVFrame *threshold = td->threshold; in filter_slice() 84 AVFrame *in = td->in; in filter_slice() 85 AVFrame *ou in filter_slice() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | wrapped_avframe.c | 2 * AVFrame wrapper 24 * Simple wrapper to store an AVFrame and forward it as AVPacket. 38 AVFrame *frame = (AVFrame *)data; in wrapped_avframe_release_buffer() 44 const AVFrame *frame, int *got_packet) in wrapped_avframe_encode() 46 AVFrame *wrapped = av_frame_clone(frame); in wrapped_avframe_encode() 68 av_frame_move_ref((AVFrame*)data, wrapped); in wrapped_avframe_encode() 79 static int wrapped_avframe_decode(AVCodecContext *avctx, AVFrame *out, in wrapped_avframe_decode() 82 AVFrame *in; in wrapped_avframe_decode() 90 if (pkt->size < sizeof(AVFrame)) in wrapped_avframe_decode() [all...] |
H A D | interplayvideo.c | 58 AVFrame *second_last_frame; 59 AVFrame *last_frame; 62 AVFrame *cur_decode_frame; 63 AVFrame *prev_decode_frame; 80 static int copy_from(IpvideoContext *s, AVFrame *src, AVFrame *dst, int delta_x, int delta_y) in copy_from() 107 static int ipvideo_decode_block_opcode_0x0(IpvideoContext *s, AVFrame *frame) in ipvideo_decode_block_opcode_0x0() 112 static int ipvideo_decode_block_opcode_0x1(IpvideoContext *s, AVFrame *frame) in ipvideo_decode_block_opcode_0x1() 117 static int ipvideo_decode_block_opcode_0x2(IpvideoContext *s, AVFrame *frame) in ipvideo_decode_block_opcode_0x2() 141 static int ipvideo_decode_block_opcode_0x3(IpvideoContext *s, AVFrame *fram [all...] |
H A D | internal.h | 104 AVFrame *in_frame; 131 AVFrame *buffer_frame; 161 void ff_color_frame(AVFrame *frame, const int color[4]); 206 int ff_get_buffer(AVCodecContext *avctx, AVFrame *frame, int flags); 213 int ff_reget_buffer(AVCodecContext *avctx, AVFrame *frame, int flags); 236 int ff_side_data_update_matrix_encoding(AVFrame *frame, 258 * Check AVFrame for S12M timecode side data and allocate and fill TC SEI message with timecode info 270 int ff_alloc_timecode_sei(const AVFrame *frame, AVRational rate, size_t prefix_len,
|
/third_party/ffmpeg/libswresample/ |
H A D | swresample_frame.c | 27 int swr_config_frame(SwrContext *s, const AVFrame *out, const AVFrame *in) in swr_config_frame() 84 const AVFrame *out, const AVFrame *in) in config_changed() 133 AVFrame *out, const AVFrame *in) in convert_frame() 164 static inline int available_samples(AVFrame *out) in available_samples() 185 AVFrame *out, const AVFrame *in) in swr_convert_frame()
|
/third_party/ffmpeg/libavfilter/dnn/ |
H A D | dnn_io_proc.h | 23 * DNN input&output process between AVFrame and DNNData. 33 int ff_proc_from_frame_to_dnn(AVFrame *frame, DNNData *input, void *log_ctx); 34 int ff_proc_from_dnn_to_frame(AVFrame *frame, DNNData *output, void *log_ctx); 35 int ff_frame_to_dnn_detect(AVFrame *frame, DNNData *input, void *log_ctx); 36 int ff_frame_to_dnn_classify(AVFrame *frame, DNNData *input, uint32_t bbox_index, void *log_ctx);
|