FFmpeg
|
#include <mfx/mfxvideo.h>
#include <stdio.h>
#include <string.h>
#include "libavutil/avstring.h"
#include "libavutil/common.h"
#include "libavutil/hwcontext.h"
#include "libavutil/hwcontext_qsv.h"
#include "libavutil/internal.h"
#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "libavutil/time.h"
#include "libavfilter/qsvvpp.h"
#include "avfilter.h"
#include "formats.h"
#include "internal.h"
#include "video.h"
Go to the source code of this file.
Data Structures | |
struct | QSVFrame |
struct | QSVDeintContext |
Macros | |
#define | OFFSET(x) offsetof(QSVDeintContext, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Enumerations | |
enum | { QSVDEINT_MORE_OUTPUT = 1, QSVDEINT_MORE_INPUT } |
Functions | |
static av_cold void | qsvdeint_uninit (AVFilterContext *ctx) |
static int | qsvdeint_query_formats (AVFilterContext *ctx) |
static mfxStatus | frame_alloc (mfxHDL pthis, mfxFrameAllocRequest *req, mfxFrameAllocResponse *resp) |
static mfxStatus | frame_free (mfxHDL pthis, mfxFrameAllocResponse *resp) |
static mfxStatus | frame_lock (mfxHDL pthis, mfxMemId mid, mfxFrameData *ptr) |
static mfxStatus | frame_unlock (mfxHDL pthis, mfxMemId mid, mfxFrameData *ptr) |
static mfxStatus | frame_get_hdl (mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) |
static int | init_out_session (AVFilterContext *ctx) |
static int | qsvdeint_config_props (AVFilterLink *outlink) |
static void | clear_unused_frames (QSVDeintContext *s) |
static int | get_free_frame (QSVDeintContext *s, QSVFrame **f) |
static int | submit_frame (AVFilterContext *ctx, AVFrame *frame, mfxFrameSurface1 **surface) |
static int | process_frame (AVFilterContext *ctx, const AVFrame *in, mfxFrameSurface1 *surf_in) |
static int | qsvdeint_filter_frame (AVFilterLink *link, AVFrame *in) |
static int | qsvdeint_request_frame (AVFilterLink *outlink) |
Variables | |
static const mfxHandleType | handle_types [] |
static const AVOption | options [] |
static const AVClass | qsvdeint_class |
static const AVFilterPad | qsvdeint_inputs [] |
static const AVFilterPad | qsvdeint_outputs [] |
AVFilter | ff_vf_deinterlace_qsv |
deinterlace video filter - QSV
Definition in file vf_deinterlace_qsv.c.
#define OFFSET | ( | x | ) | offsetof(QSVDeintContext, x) |
Definition at line 554 of file vf_deinterlace_qsv.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 555 of file vf_deinterlace_qsv.c.
anonymous enum |
Enumerator | |
---|---|
QSVDEINT_MORE_OUTPUT | |
QSVDEINT_MORE_INPUT |
Definition at line 45 of file vf_deinterlace_qsv.c.
|
static |
Definition at line 86 of file vf_deinterlace_qsv.c.
Referenced by qsvdeint_config_props().
|
static |
Definition at line 112 of file vf_deinterlace_qsv.c.
|
static |
Definition at line 126 of file vf_deinterlace_qsv.c.
Referenced by init_out_session().
|
static |
Definition at line 143 of file vf_deinterlace_qsv.c.
Referenced by init_out_session().
|
static |
Definition at line 148 of file vf_deinterlace_qsv.c.
Referenced by init_out_session().
|
static |
Definition at line 153 of file vf_deinterlace_qsv.c.
Referenced by init_out_session().
|
static |
Definition at line 158 of file vf_deinterlace_qsv.c.
Referenced by init_out_session().
|
static |
Definition at line 170 of file vf_deinterlace_qsv.c.
Referenced by qsvdeint_config_props().
|
static |
Definition at line 321 of file vf_deinterlace_qsv.c.
|
static |
Definition at line 361 of file vf_deinterlace_qsv.c.
Referenced by get_free_frame().
|
static |
Definition at line 373 of file vf_deinterlace_qsv.c.
Referenced by submit_frame().
|
static |
Definition at line 400 of file vf_deinterlace_qsv.c.
Referenced by qsvdeint_filter_frame().
|
static |
Definition at line 449 of file vf_deinterlace_qsv.c.
Referenced by qsvdeint_filter_frame().
|
static |
Definition at line 525 of file vf_deinterlace_qsv.c.
|
static |
Definition at line 547 of file vf_deinterlace_qsv.c.
|
static |
Definition at line 164 of file vf_deinterlace_qsv.c.
Referenced by init_out_session().
|
static |
Definition at line 556 of file vf_deinterlace_qsv.c.
|
static |
Definition at line 563 of file vf_deinterlace_qsv.c.
|
static |
Definition at line 570 of file vf_deinterlace_qsv.c.
|
static |
Definition at line 579 of file vf_deinterlace_qsv.c.
AVFilter ff_vf_deinterlace_qsv |
Definition at line 589 of file vf_deinterlace_qsv.c.