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)
 
 

Function Documentation

ff_oh_err_to_ff_err()

int ff_oh_err_to_ff_err ( OH_AVErrCode  err )

Definition at line 25 of file ohcodec.c.

Referenced by oh_decode_close(), oh_decode_on_err(), oh_decode_output_frame(), oh_decode_release(), oh_decode_send_pkt(), oh_decode_set_format(), oh_decode_start(), oh_decode_wrap_sw_buffer(), oh_encode_close(), oh_encode_on_err(), oh_encode_output_packet(), oh_encode_send_hw_frame(), oh_encode_send_sw_frame(), oh_encode_set_format(), and oh_encode_start().

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().


Generated on Wed Nov 19 2025 19:23:48 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /