From 13d2fdbd213f58f907b5f24b823b8b4b510883c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arttu=20Yl=C3=A4-Outinen?= Date: Tue, 23 May 2017 15:14:09 +0300 Subject: [PATCH] Drop unused kvz_videoframe_get_cu functions --- src/videoframe.c | 14 -------------- src/videoframe.h | 3 --- 2 files changed, 17 deletions(-) diff --git a/src/videoframe.c b/src/videoframe.c index 9b0563a3..5ff533b4 100644 --- a/src/videoframe.c +++ b/src/videoframe.c @@ -87,17 +87,3 @@ int kvz_videoframe_free(videoframe_t * const frame) void kvz_videoframe_set_poc(videoframe_t * const frame, const int32_t poc) { frame->poc = poc; } - -const cu_info_t* kvz_videoframe_get_cu_const(const videoframe_t * const frame, - unsigned int x_in_scu, - unsigned int y_in_scu) -{ - return kvz_cu_array_at_const(frame->cu_array, x_in_scu << 3, y_in_scu << 3); -} - -cu_info_t* kvz_videoframe_get_cu(videoframe_t * const frame, - const unsigned int x_in_scu, - const unsigned int y_in_scu) -{ - return kvz_cu_array_at(frame->cu_array, x_in_scu << 3, y_in_scu << 3); -} diff --git a/src/videoframe.h b/src/videoframe.h index e54d9478..8e5de8ec 100644 --- a/src/videoframe.h +++ b/src/videoframe.h @@ -56,7 +56,4 @@ int kvz_videoframe_free(videoframe_t * const frame); void kvz_videoframe_set_poc(videoframe_t * frame, int32_t poc); -const cu_info_t* kvz_videoframe_get_cu_const(const videoframe_t * const frame, unsigned int x_in_scu, unsigned int y_in_scu); -cu_info_t* kvz_videoframe_get_cu(videoframe_t * const frame, const unsigned int x_in_scu, const unsigned int y_in_scu); - #endif