summaryrefslogtreecommitdiff
path: root/drivers/media/video/tiler/tcm/tcm_utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/tiler/tcm/tcm_utils.h')
-rw-r--r--drivers/media/video/tiler/tcm/tcm_utils.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/drivers/media/video/tiler/tcm/tcm_utils.h b/drivers/media/video/tiler/tcm/tcm_utils.h
index ac6a02d2cb43..294239910b29 100644
--- a/drivers/media/video/tiler/tcm/tcm_utils.h
+++ b/drivers/media/video/tiler/tcm/tcm_utils.h
@@ -1,29 +1,25 @@
#ifndef _TILER_UTILS_H
#define _TILER_UTILS_H
-#include "tcm_pri.h"
+#include "tcm_rr.h"
#include "tcm_dbg.h"
#define AREA_STR(a_str, area) ({ \
- sprintf(a_str, "(%03d %03d)-(%03d %03d)", (area)->x0, (area)->y0, \
- (area)->x1, (area)->y1); a_str; })
+ sprintf(a_str, "(%03d %03d)-(%03d %03d)", (area)->p0.x, (area)->p0.y, \
+ (area)->p1.x, (area)->p1.y); a_str; })
-void assign(struct area_spec *a, u16 x0, u16 y0, u16 x1, u16 y1);
-void dump_area(struct area_spec *area);
+void assign(struct tcm_area *a, u16 x0, u16 y0, u16 x1, u16 y1);
+void dump_area(struct tcm_area *area);
s32 insert_element(INOUT struct area_spec_list **list,
- IN struct area_spec *newArea, IN u16 area_type);
+ IN struct tcm_area *newArea, IN u16 area_type);
s32 dump_list_entries(IN struct area_spec_list *list);
s32 dump_neigh_stats(struct neighbour_stats *neighbour);
s32 rem_element_with_match(struct area_spec_list **list,
- struct area_spec *to_be_removed, u16 *area_type);
+ struct tcm_area *to_be_removed, u16 *area_type);
s32 clean_list(struct area_spec_list **list);
-
-s32 move_left(u16 x, u16 y, u32 num_of_pages, u16 *xx, u16 *yy);
-s32 move_right(u16 x, u16 y, u32 num_of_pages, u16 *xx, u16 *yy);
-
#endif