st/va: exclude the buffer reallocation for encode case
authorLeo Liu <leo.liu@amd.com>
Wed, 23 Aug 2017 17:18:21 +0000 (13:18 -0400)
committerLeo Liu <leo.liu@amd.com>
Wed, 23 Aug 2017 18:51:12 +0000 (14:51 -0400)
commit5ff97f2644d7438a9fdc75a2a9bc850c7ce96783
treeeb37983e84d8637ebbd6a956a77ac8f747f78bc1
parentf0602dc92044ea6d738d0e539e52f938a41f6093
st/va: exclude the buffer reallocation for encode case

Since encoder only support de-interlaced buffers.

v2: move to parameter call to tell dec/enc

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/va/picture.c