int out_mode,
int allow_drm)
{
- int i = 0;
- int op_id = 0;
- unsigned int total_sleep_time = 0;
int ret = 0;
Exynos_gsc_In();
{
Exynos_gsc_In();
- int i = 0;
CGscaler* gsc = GetGscaler(handle);
if (gsc == NULL) {
ALOGE("%s::handle == NULL() fail", __func__);
return -1;
}
- if (gsc->gsc_id >= HW_SCAL0) {
- int ret;
- ret = exynos_sc_csc_exclusive(gsc->scaler,
- range_full, v4l2_colorspace);
- Exynos_gsc_Out();
- return ret;
- }
gsc->eq_auto = eq_auto;
gsc->range_full = range_full;
gsc->v4l2_colorspace = v4l2_colorspace;
}
int exynos_gsc_subdev_s_crop(void *handle,
- exynos_mpp_img *src_img, exynos_mpp_img *dst_img)
+ exynos_mpp_img *src_img __unused, exynos_mpp_img *dst_img)
{
struct v4l2_subdev_crop sd_crop;
CGscaler *gsc = GetGscaler(handle);
void *exynos_gsc_create_blend_exclusive(int dev_num, int mode, int out_mode,
int allow_drm)
{
- int i = 0;
- int op_id = 0;
- unsigned int total_sleep_time = 0;
- int ret = 0;
-
Exynos_gsc_In();
if ((dev_num < 0) || (dev_num >= HW_SCAL_MAX)) {
Exynos_gsc_In();
struct v4l2_requestbuffers reqbuf;
- struct v4l2_buffer buf;
- struct v4l2_plane planes[NUM_OF_GSC_PLANES];
int ret = 0;
CGscaler* gsc = GetGscaler(handle);
if (gsc == NULL) {
char node[32];
char devname[32];
unsigned int cap;
- int i;
- int fd = 0;
+
CGscaler* gsc = GetGscaler(handle);
if (gsc == NULL) {
ALOGE("%s::handle == NULL() fail", __func__);
struct media_entity *gsc_sd_entity;
struct media_entity *gsc_vd_entity;
struct media_entity *sink_sd_entity;
- struct media_link *links;
char node[32];
char devname[32];
unsigned int cap;
- int i;
- int fd = 0;
CGscaler* gsc = GetGscaler(handle);
if (gsc == NULL) {
ALOGE("%s::handle == NULL() fail", __func__);
{
Exynos_gsc_In();
- struct v4l2_requestbuffers reqbuf;
CGscaler* gsc = GetGscaler(handle);
if (gsc == NULL) {
ALOGE("%s::handle == NULL() fail", __func__);
{
Exynos_gsc_In();
- int i;
CGscaler* gsc = GetGscaler(handle);
if (gsc == NULL) {
ALOGE("%s::handle == NULL() fail", __func__);
bool CGscaler::m_gsc_check_src_size(
unsigned int *w, unsigned int *h,
- unsigned int *crop_x, unsigned int *crop_y,
+ unsigned int *crop_x __unused, unsigned int *crop_y __unused,
unsigned int *crop_w, unsigned int *crop_h,
int v4l2_colorformat, bool rotation)
{
bool CGscaler::m_gsc_check_dst_size(
unsigned int *w, unsigned int *h,
- unsigned int *crop_x, unsigned int *crop_y,
+ unsigned int *crop_x __unused, unsigned int *crop_y __unused,
unsigned int *crop_w, unsigned int *crop_h,
- int v4l2_colorformat,
- int rotation)
+ int v4l2_colorformat __unused,
+ int rotation __unused)
{
if (*w < GSC_MIN_DST_W_SIZE || *h < GSC_MIN_DST_H_SIZE) {
ALOGE("%s::too small size (w : %d < %d) (h : %d < %d)",
struct v4l2_requestbuffers reqbuf;
struct v4l2_subdev_format sd_fmt;
struct v4l2_subdev_crop sd_crop;
- int i;
+
unsigned int rotate;
unsigned int hflip;
unsigned int vflip;
- unsigned int plane_size[NUM_OF_GSC_PLANES];
bool rgb;
- struct v4l2_rect dst_rect;
int32_t src_color_space;
int32_t dst_color_space;
int32_t src_planes;
struct v4l2_requestbuffers reqbuf;
struct v4l2_subdev_format sd_fmt;
struct v4l2_subdev_crop sd_crop;
- int i;
unsigned int rotate;
unsigned int hflip;
unsigned int vflip;
- unsigned int plane_size[NUM_OF_GSC_PLANES];
bool rgb;
- struct v4l2_rect dst_rect;
int32_t src_color_space;
int32_t dst_color_space;
int32_t dst_planes;
}
int CGscaler::SetInputCrop(void *handle,
- exynos_mpp_img *src_img, exynos_mpp_img *dst_img)
+ exynos_mpp_img *src_img, exynos_mpp_img *dst_img __unused)
{
struct v4l2_crop crop;
- int ret = 0;
CGscaler *gsc = GetGscaler(handle);
if (gsc == NULL) {
ALOGE("%s::handle == NULL() fail", __func__);