summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/omx/vid_dec.h
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2016-10-24 14:03:11 -0400
committerLeo Liu <[email protected]>2016-10-31 11:45:29 -0400
commit06e3cd6a45ae2ad19f77e0f283c46d5f85112847 (patch)
tree40e7179155ed6edbec443b5ac6f4fbdcc9d30b19 /src/gallium/state_trackers/omx/vid_dec.h
parentd9b2c4048d55011bb04bd9848a3b47af7216389f (diff)
st/omx/dec: disable tunnel for size different case
When the video coded size is different from frame size, we need the result buffers are same as coded size, which are not size compatible with encode required size, so that simply use no tunnel for this case instead of frame by frame converting. Signed-off-by: Leo Liu <[email protected]> Cc: 13.0 <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/omx/vid_dec.h')
-rw-r--r--src/gallium/state_trackers/omx/vid_dec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/omx/vid_dec.h b/src/gallium/state_trackers/omx/vid_dec.h
index 35a575899c6..90acf7b46e5 100644
--- a/src/gallium/state_trackers/omx/vid_dec.h
+++ b/src/gallium/state_trackers/omx/vid_dec.h
@@ -129,6 +129,7 @@ DERIVEDCLASS(vid_dec_PrivateType, omx_base_filter_PrivateType)
bool frame_started; \
unsigned bytes_left; \
const void *slice; \
+ bool disable_tunnel; \
struct vl_compositor compositor; \
struct vl_compositor_state cstate;
ENDCLASS(vid_dec_PrivateType)