Linux Kernel
3.7.1
|
#include "s5p_mfc_common.h"
#include "s5p_mfc_cmd.h"
#include "s5p_mfc_ctrl.h"
#include "s5p_mfc_debug.h"
#include "s5p_mfc_intr.h"
#include "s5p_mfc_pm.h"
#include "s5p_mfc_opr.h"
#include "s5p_mfc_opr_v5.h"
#include <asm/cacheflush.h>
#include <linux/delay.h>
#include <linux/dma-mapping.h>
#include <linux/err.h>
#include <linux/firmware.h>
#include <linux/io.h>
#include <linux/jiffies.h>
#include <linux/mm.h>
#include <linux/sched.h>
Go to the source code of this file.
Macros | |
#define | OFFSETA(x) (((x) - dev->bank1) >> MFC_OFFSET_SHIFT) |
#define | OFFSETB(x) (((x) - dev->bank2) >> MFC_OFFSET_SHIFT) |
#define OFFSETA | ( | x | ) | (((x) - dev->bank1) >> MFC_OFFSET_SHIFT) |
Definition at line 33 of file s5p_mfc_opr_v5.c.
#define OFFSETB | ( | x | ) | (((x) - dev->bank2) >> MFC_OFFSET_SHIFT) |
Definition at line 34 of file s5p_mfc_opr_v5.c.
int s5p_mfc_alloc_codec_buffers_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 77 of file s5p_mfc_opr_v5.c.
int s5p_mfc_alloc_dec_temp_buffers_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 37 of file s5p_mfc_opr_v5.c.
int s5p_mfc_alloc_dev_context_buffer_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 310 of file s5p_mfc_opr_v5.c.
int s5p_mfc_alloc_instance_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 232 of file s5p_mfc_opr_v5.c.
Definition at line 1533 of file s5p_mfc_opr_v5.c.
void s5p_mfc_clear_int_flags_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1547 of file s5p_mfc_opr_v5.c.
void s5p_mfc_dec_calc_dpb_size_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 336 of file s5p_mfc_opr_v5.c.
int s5p_mfc_decode_one_frame_v5 | ( | struct s5p_mfc_ctx * | ctx, |
enum s5p_mfc_decode_arg | last_frame | ||
) |
Definition at line 1141 of file s5p_mfc_opr_v5.c.
void s5p_mfc_enc_calc_src_size_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 378 of file s5p_mfc_opr_v5.c.
int s5p_mfc_encode_one_frame_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1192 of file s5p_mfc_opr_v5.c.
Definition at line 1645 of file s5p_mfc_opr_v5.c.
Definition at line 1650 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_consumed_stream_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1587 of file s5p_mfc_opr_v5.c.
unsigned int s5p_mfc_get_crop_info_h_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1726 of file s5p_mfc_opr_v5.c.
unsigned int s5p_mfc_get_crop_info_v_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1731 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_dec_frame_type_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1574 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_dec_status_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1569 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_dec_y_adr_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1559 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_disp_frame_type_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1580 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_dpb_count_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1665 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_dspl_status_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1564 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_dspl_y_adr_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1554 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_enc_dpb_count_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1691 of file s5p_mfc_opr_v5.c.
void s5p_mfc_get_enc_frame_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx, |
unsigned long * | y_addr, | ||
unsigned long * | c_addr | ||
) |
Definition at line 589 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_enc_pic_count_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1696 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_enc_slice_type_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1686 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_enc_strm_size_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1681 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_img_height_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1660 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_img_width_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1655 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_inst_no_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1676 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_int_err_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1640 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_int_reason_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1592 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_mv_count_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1670 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_mvc_num_views_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1706 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_mvc_view_id_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1711 of file s5p_mfc_opr_v5.c.
unsigned int s5p_mfc_get_pic_type_bot_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1721 of file s5p_mfc_opr_v5.c.
unsigned int s5p_mfc_get_pic_type_top_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1716 of file s5p_mfc_opr_v5.c.
int s5p_mfc_get_sei_avail_status_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1701 of file s5p_mfc_opr_v5.c.
int s5p_mfc_init_decode_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1105 of file s5p_mfc_opr_v5.c.
int s5p_mfc_init_encode_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 1170 of file s5p_mfc_opr_v5.c.
|
read |
Definition at line 1791 of file s5p_mfc_opr_v5.c.
void s5p_mfc_release_codec_buffers_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 215 of file s5p_mfc_opr_v5.c.
void s5p_mfc_release_dec_desc_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 67 of file s5p_mfc_opr_v5.c.
void s5p_mfc_release_dev_context_buffer_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 317 of file s5p_mfc_opr_v5.c.
void s5p_mfc_release_instance_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 293 of file s5p_mfc_opr_v5.c.
int s5p_mfc_set_dec_frame_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 437 of file s5p_mfc_opr_v5.c.
int s5p_mfc_set_dec_stream_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx, |
int | buf_addr, | ||
unsigned int | start_num_byte, | ||
unsigned int | buf_size | ||
) |
Definition at line 424 of file s5p_mfc_opr_v5.c.
void s5p_mfc_set_enc_frame_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx, |
unsigned long | y_addr, | ||
unsigned long | c_addr | ||
) |
Definition at line 580 of file s5p_mfc_opr_v5.c.
int s5p_mfc_set_enc_ref_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx | ) |
Definition at line 601 of file s5p_mfc_opr_v5.c.
int s5p_mfc_set_enc_stream_buffer_v5 | ( | struct s5p_mfc_ctx * | ctx, |
unsigned long | addr, | ||
unsigned int | size | ||
) |
Definition at line 570 of file s5p_mfc_opr_v5.c.
void s5p_mfc_try_run_v5 | ( | struct s5p_mfc_dev * | dev | ) |
Definition at line 1417 of file s5p_mfc_opr_v5.c.