21#ifndef AVCODEC_OHCODEC_H
22#define AVCODEC_OHCODEC_H
24#include <multimedia/player_framework/native_avbuffer.h>
25#include <multimedia/player_framework/native_avcodec_base.h>
26#include <multimedia/player_framework/native_averrors.h>
27#include <multimedia/player_framework/native_avformat.h>
44 return OH_AVCODEC_MIMETYPE_VIDEO_AVC;
46 return OH_AVCODEC_MIMETYPE_VIDEO_HEVC;
const char * avcodec_get_name(enum AVCodecID id)
Get the name of a codec.
AVCodecID
Identify the syntax and semantics of the bitstream.
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
static const char * ff_oh_mime(enum AVCodecID codec_id, void *log)
int ff_oh_pix_from_ff_pix(enum AVPixelFormat pix)
enum AVPixelFormat ff_oh_pix_to_ff_pix(OH_AVPixelFormat oh_pix)
int ff_oh_err_to_ff_err(OH_AVErrCode err)
AVPixelFormat
Pixel format.