This is a leftover of the XMA code which was removed a long time ago.

Found while looking for unused functions.

Change-Id: I07a3d542ae55440af59380dcdcf9a6c11cdfcb75
This commit is contained in:
Johann 2015-08-25 16:38:59 -07:00 коммит произвёл Johann Koenig
Родитель 467c66e842
Коммит 51b654e8f0
1 изменённых файлов: 0 добавлений и 14 удалений

Просмотреть файл

@ -42,8 +42,6 @@ typedef enum
} mem_seg_id_t; } mem_seg_id_t;
#define NELEMENTS(x) ((int)(sizeof(x)/sizeof(x[0]))) #define NELEMENTS(x) ((int)(sizeof(x)/sizeof(x[0])))
static unsigned long vp8_priv_sz(const vpx_codec_dec_cfg_t *si, vpx_codec_flags_t);
struct vpx_codec_alg_priv struct vpx_codec_alg_priv
{ {
vpx_codec_priv_t base; vpx_codec_priv_t base;
@ -68,18 +66,6 @@ struct vpx_codec_alg_priv
FRAGMENT_DATA fragments; FRAGMENT_DATA fragments;
}; };
static unsigned long vp8_priv_sz(const vpx_codec_dec_cfg_t *si, vpx_codec_flags_t flags)
{
/* Although this declaration is constant, we can't use it in the requested
* segments list because we want to define the requested segments list
* before defining the private type (so that the number of memory maps is
* known)
*/
(void)si;
(void)flags;
return sizeof(vpx_codec_alg_priv_t);
}
static void vp8_init_ctx(vpx_codec_ctx_t *ctx) static void vp8_init_ctx(vpx_codec_ctx_t *ctx)
{ {
vpx_codec_alg_priv_t *priv = vpx_codec_alg_priv_t *priv =