FFmpeg
Data Structures | Functions
ohcodec.h File Reference
#include <multimedia/player_framework/native_avbuffer.h>
#include <multimedia/player_framework/native_avcodec_base.h>
#include <multimedia/player_framework/native_averrors.h>
#include <multimedia/player_framework/native_avformat.h>
#include "libavutil/pixfmt.h"
#include "codec_id.h"

Go to the source code of this file.

Data Structures

struct  OHBufferQueueItem
 

Functions

int ff_oh_err_to_ff_err (OH_AVErrCode err)
 
static const char * ff_oh_mime (enum AVCodecID codec_id, void *log)
 
enum AVPixelFormat ff_oh_pix_to_ff_pix (OH_AVPixelFormat oh_pix)
 
int ff_oh_pix_from_ff_pix (enum AVPixelFormat pix)
 

Function Documentation

◆ ff_oh_err_to_ff_err()

int ff_oh_err_to_ff_err ( OH_AVErrCode  err)

◆ ff_oh_mime()

static const char* ff_oh_mime ( enum AVCodecID  codec_id,
void *  log 
)
inlinestatic

Definition at line 40 of file ohcodec.h.

Referenced by oh_decode_create(), and oh_encode_create().

◆ ff_oh_pix_to_ff_pix()

enum AVPixelFormat ff_oh_pix_to_ff_pix ( OH_AVPixelFormat  oh_pix)

Definition at line 63 of file ohcodec.c.

Referenced by oh_decode_on_stream_changed().

◆ ff_oh_pix_from_ff_pix()

int ff_oh_pix_from_ff_pix ( enum AVPixelFormat  pix)

Definition at line 72 of file ohcodec.c.

Referenced by oh_encode_set_format().