Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
s5p_mfc_hw_ops Struct Reference

#include <s5p_mfc_opr.h>

Data Fields

int(* alloc_dec_temp_buffers )(struct s5p_mfc_ctx *ctx)
void(* release_dec_desc_buffer )(struct s5p_mfc_ctx *ctx)
int(* alloc_codec_buffers )(struct s5p_mfc_ctx *ctx)
void(* release_codec_buffers )(struct s5p_mfc_ctx *ctx)
int(* alloc_instance_buffer )(struct s5p_mfc_ctx *ctx)
void(* release_instance_buffer )(struct s5p_mfc_ctx *ctx)
int(* alloc_dev_context_buffer )(struct s5p_mfc_dev *dev)
void(* release_dev_context_buffer )(struct s5p_mfc_dev *dev)
void(* dec_calc_dpb_size )(struct s5p_mfc_ctx *ctx)
void(* enc_calc_src_size )(struct s5p_mfc_ctx *ctx)
int(* set_dec_stream_buffer )(struct s5p_mfc_ctx *ctx, int buf_addr, unsigned int start_num_byte, unsigned int buf_size)
int(* set_dec_frame_buffer )(struct s5p_mfc_ctx *ctx)
int(* set_enc_stream_buffer )(struct s5p_mfc_ctx *ctx, unsigned long addr, unsigned int size)
void(* set_enc_frame_buffer )(struct s5p_mfc_ctx *ctx, unsigned long y_addr, unsigned long c_addr)
void(* get_enc_frame_buffer )(struct s5p_mfc_ctx *ctx, unsigned long *y_addr, unsigned long *c_addr)
int(* set_enc_ref_buffer )(struct s5p_mfc_ctx *ctx)
int(* init_decode )(struct s5p_mfc_ctx *ctx)
int(* init_encode )(struct s5p_mfc_ctx *ctx)
int(* encode_one_frame )(struct s5p_mfc_ctx *ctx)
void(* try_run )(struct s5p_mfc_dev *dev)
void(* cleanup_queue )(struct list_head *lh, struct vb2_queue *vq)
void(* clear_int_flags )(struct s5p_mfc_dev *dev)
void(* write_info )(struct s5p_mfc_ctx *ctx, unsigned int data, unsigned int ofs)
unsigned int(* read_info )(struct s5p_mfc_ctx *ctx, unsigned int ofs)
int(* get_dspl_y_adr )(struct s5p_mfc_dev *dev)
int(* get_dec_y_adr )(struct s5p_mfc_dev *dev)
int(* get_dspl_status )(struct s5p_mfc_dev *dev)
int(* get_dec_status )(struct s5p_mfc_dev *dev)
int(* get_dec_frame_type )(struct s5p_mfc_dev *dev)
int(* get_disp_frame_type )(struct s5p_mfc_ctx *ctx)
int(* get_consumed_stream )(struct s5p_mfc_dev *dev)
int(* get_int_reason )(struct s5p_mfc_dev *dev)
int(* get_int_err )(struct s5p_mfc_dev *dev)
int(* err_dec )(unsigned int err)
int(* err_dspl )(unsigned int err)
int(* get_img_width )(struct s5p_mfc_dev *dev)
int(* get_img_height )(struct s5p_mfc_dev *dev)
int(* get_dpb_count )(struct s5p_mfc_dev *dev)
int(* get_mv_count )(struct s5p_mfc_dev *dev)
int(* get_inst_no )(struct s5p_mfc_dev *dev)
int(* get_enc_strm_size )(struct s5p_mfc_dev *dev)
int(* get_enc_slice_type )(struct s5p_mfc_dev *dev)
int(* get_enc_dpb_count )(struct s5p_mfc_dev *dev)
int(* get_enc_pic_count )(struct s5p_mfc_dev *dev)
int(* get_sei_avail_status )(struct s5p_mfc_ctx *ctx)
int(* get_mvc_num_views )(struct s5p_mfc_dev *dev)
int(* get_mvc_view_id )(struct s5p_mfc_dev *dev)
unsigned int(* get_pic_type_top )(struct s5p_mfc_ctx *ctx)
unsigned int(* get_pic_type_bot )(struct s5p_mfc_ctx *ctx)
unsigned int(* get_crop_info_h )(struct s5p_mfc_ctx *ctx)
unsigned int(* get_crop_info_v )(struct s5p_mfc_ctx *ctx)

Detailed Description

Definition at line 20 of file s5p_mfc_opr.h.

Field Documentation

int(* alloc_codec_buffers)(struct s5p_mfc_ctx *ctx)

Definition at line 23 of file s5p_mfc_opr.h.

int(* alloc_dec_temp_buffers)(struct s5p_mfc_ctx *ctx)

Definition at line 21 of file s5p_mfc_opr.h.

int(* alloc_dev_context_buffer)(struct s5p_mfc_dev *dev)

Definition at line 27 of file s5p_mfc_opr.h.

int(* alloc_instance_buffer)(struct s5p_mfc_ctx *ctx)

Definition at line 25 of file s5p_mfc_opr.h.

void(* cleanup_queue)(struct list_head *lh, struct vb2_queue *vq)

Definition at line 46 of file s5p_mfc_opr.h.

void(* clear_int_flags)(struct s5p_mfc_dev *dev)

Definition at line 48 of file s5p_mfc_opr.h.

void(* dec_calc_dpb_size)(struct s5p_mfc_ctx *ctx)

Definition at line 29 of file s5p_mfc_opr.h.

void(* enc_calc_src_size)(struct s5p_mfc_ctx *ctx)

Definition at line 30 of file s5p_mfc_opr.h.

int(* encode_one_frame)(struct s5p_mfc_ctx *ctx)

Definition at line 44 of file s5p_mfc_opr.h.

int(* err_dec)(unsigned int err)

Definition at line 62 of file s5p_mfc_opr.h.

int(* err_dspl)(unsigned int err)

Definition at line 63 of file s5p_mfc_opr.h.

int(* get_consumed_stream)(struct s5p_mfc_dev *dev)

Definition at line 59 of file s5p_mfc_opr.h.

unsigned int(* get_crop_info_h)(struct s5p_mfc_ctx *ctx)

Definition at line 78 of file s5p_mfc_opr.h.

unsigned int(* get_crop_info_v)(struct s5p_mfc_ctx *ctx)

Definition at line 79 of file s5p_mfc_opr.h.

int(* get_dec_frame_type)(struct s5p_mfc_dev *dev)

Definition at line 57 of file s5p_mfc_opr.h.

int(* get_dec_status)(struct s5p_mfc_dev *dev)

Definition at line 56 of file s5p_mfc_opr.h.

int(* get_dec_y_adr)(struct s5p_mfc_dev *dev)

Definition at line 54 of file s5p_mfc_opr.h.

int(* get_disp_frame_type)(struct s5p_mfc_ctx *ctx)

Definition at line 58 of file s5p_mfc_opr.h.

int(* get_dpb_count)(struct s5p_mfc_dev *dev)

Definition at line 66 of file s5p_mfc_opr.h.

int(* get_dspl_status)(struct s5p_mfc_dev *dev)

Definition at line 55 of file s5p_mfc_opr.h.

int(* get_dspl_y_adr)(struct s5p_mfc_dev *dev)

Definition at line 53 of file s5p_mfc_opr.h.

int(* get_enc_dpb_count)(struct s5p_mfc_dev *dev)

Definition at line 71 of file s5p_mfc_opr.h.

void(* get_enc_frame_buffer)(struct s5p_mfc_ctx *ctx, unsigned long *y_addr, unsigned long *c_addr)

Definition at line 39 of file s5p_mfc_opr.h.

int(* get_enc_pic_count)(struct s5p_mfc_dev *dev)

Definition at line 72 of file s5p_mfc_opr.h.

int(* get_enc_slice_type)(struct s5p_mfc_dev *dev)

Definition at line 70 of file s5p_mfc_opr.h.

int(* get_enc_strm_size)(struct s5p_mfc_dev *dev)

Definition at line 69 of file s5p_mfc_opr.h.

int(* get_img_height)(struct s5p_mfc_dev *dev)

Definition at line 65 of file s5p_mfc_opr.h.

int(* get_img_width)(struct s5p_mfc_dev *dev)

Definition at line 64 of file s5p_mfc_opr.h.

int(* get_inst_no)(struct s5p_mfc_dev *dev)

Definition at line 68 of file s5p_mfc_opr.h.

int(* get_int_err)(struct s5p_mfc_dev *dev)

Definition at line 61 of file s5p_mfc_opr.h.

int(* get_int_reason)(struct s5p_mfc_dev *dev)

Definition at line 60 of file s5p_mfc_opr.h.

int(* get_mv_count)(struct s5p_mfc_dev *dev)

Definition at line 67 of file s5p_mfc_opr.h.

int(* get_mvc_num_views)(struct s5p_mfc_dev *dev)

Definition at line 74 of file s5p_mfc_opr.h.

int(* get_mvc_view_id)(struct s5p_mfc_dev *dev)

Definition at line 75 of file s5p_mfc_opr.h.

unsigned int(* get_pic_type_bot)(struct s5p_mfc_ctx *ctx)

Definition at line 77 of file s5p_mfc_opr.h.

unsigned int(* get_pic_type_top)(struct s5p_mfc_ctx *ctx)

Definition at line 76 of file s5p_mfc_opr.h.

int(* get_sei_avail_status)(struct s5p_mfc_ctx *ctx)

Definition at line 73 of file s5p_mfc_opr.h.

int(* init_decode)(struct s5p_mfc_ctx *ctx)

Definition at line 42 of file s5p_mfc_opr.h.

int(* init_encode)(struct s5p_mfc_ctx *ctx)

Definition at line 43 of file s5p_mfc_opr.h.

unsigned int(* read_info)(struct s5p_mfc_ctx *ctx, unsigned int ofs)

Definition at line 51 of file s5p_mfc_opr.h.

void(* release_codec_buffers)(struct s5p_mfc_ctx *ctx)

Definition at line 24 of file s5p_mfc_opr.h.

void(* release_dec_desc_buffer)(struct s5p_mfc_ctx *ctx)

Definition at line 22 of file s5p_mfc_opr.h.

void(* release_dev_context_buffer)(struct s5p_mfc_dev *dev)

Definition at line 28 of file s5p_mfc_opr.h.

void(* release_instance_buffer)(struct s5p_mfc_ctx *ctx)

Definition at line 26 of file s5p_mfc_opr.h.

int(* set_dec_frame_buffer)(struct s5p_mfc_ctx *ctx)

Definition at line 34 of file s5p_mfc_opr.h.

int(* set_dec_stream_buffer)(struct s5p_mfc_ctx *ctx, int buf_addr, unsigned int start_num_byte, unsigned int buf_size)

Definition at line 31 of file s5p_mfc_opr.h.

void(* set_enc_frame_buffer)(struct s5p_mfc_ctx *ctx, unsigned long y_addr, unsigned long c_addr)

Definition at line 37 of file s5p_mfc_opr.h.

int(* set_enc_ref_buffer)(struct s5p_mfc_ctx *ctx)

Definition at line 41 of file s5p_mfc_opr.h.

int(* set_enc_stream_buffer)(struct s5p_mfc_ctx *ctx, unsigned long addr, unsigned int size)

Definition at line 35 of file s5p_mfc_opr.h.

void(* try_run)(struct s5p_mfc_dev *dev)

Definition at line 45 of file s5p_mfc_opr.h.

void(* write_info)(struct s5p_mfc_ctx *ctx, unsigned int data, unsigned int ofs)

Definition at line 49 of file s5p_mfc_opr.h.

The documentation for this struct was generated from the following file: