FFmpeg  4.0
Functions | Variables
hwcontext_mediacodec.c File Reference
#include "config.h"
#include "buffer.h"
#include "common.h"
#include "hwcontext.h"
#include "hwcontext_internal.h"
#include "hwcontext_mediacodec.h"

Go to the source code of this file.

Functions

static int mc_device_create (AVHWDeviceContext *ctx, const char *device, AVDictionary *opts, int flags)
 

Variables

const HWContextType ff_hwcontext_type_mediacodec
 

Function Documentation

◆ mc_device_create()

static int mc_device_create ( AVHWDeviceContext ctx,
const char *  device,
AVDictionary opts,
int  flags 
)
static

Definition at line 27 of file hwcontext_mediacodec.c.

Variable Documentation

◆ ff_hwcontext_type_mediacodec

const HWContextType ff_hwcontext_type_mediacodec
Initial value:
= {
.name = "mediacodec",
.device_hwctx_size = sizeof(AVMediaCodecDeviceContext),
.device_create = mc_device_create,
.pix_fmts = (const enum AVPixelFormat[]){
},
}
static int mc_device_create(AVHWDeviceContext *ctx, const char *device, AVDictionary *opts, int flags)
static enum AVPixelFormat pix_fmts[]
Definition: libkvazaar.c:266
hardware decoding through MediaCodec
Definition: pixfmt.h:289
AVPixelFormat
Pixel format.
Definition: pixfmt.h:60

Definition at line 38 of file hwcontext_mediacodec.c.