Change-Id: Ie9b4e37040e836cacb137aac9c39203920c9796e
#define SCMN_IMGB_MAX_PLANE 4
#define TBM_API_CHANGE
-#define DEFAULT_POOL_SIZE 13
+#define DEFAULT_DEC_POOL_SIZE 20
+#define DEFAULT_ENC_POOL_SIZE 13
#define AAC_CODECDATA_SIZE 16
#define WMA_CODECDATA_SIZE 64
#define VORBIS_CODECDATA_SIZE 4096
}
/* will use default size temporarily */
- max_size = DEFAULT_POOL_SIZE;
+ max_size = core->encoder ? DEFAULT_ENC_POOL_SIZE : DEFAULT_DEC_POOL_SIZE;
min_size = max_size;
ret = media_packet_pool_set_size(pool, min_size, max_size);