FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

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

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.