[Issue type] new feature
This commit is to support new feature
https://review.tizen.org/gerrit/#/c/platform/core/multimedia/dfs-adaptation/+/285723/
Change-Id: Iaeb2faa55cbdebac5bfef5272fbfa132384356f1
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
input.width = width;
input.height = height;
input.stride = stride;
- input.format = DFS_DATA_INPUT_FORMAT_COUPLED_SBS;
+ input.format = (mWidth == width && mHeight * 2 == height) ? DFS_DATA_INPUT_FORMAT_COUPLED_TB :
+ DFS_DATA_INPUT_FORMAT_COUPLED_SBS;
if (extraSource) {
extraBuffer = nullptr;