diff options
author | Christian König <[email protected]> | 2014-04-06 17:07:41 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2014-04-11 11:35:03 +0200 |
commit | 68bba1801eb49f749ea91e36905d3b99245fa03c (patch) | |
tree | 5a71d944b4f1cb75aabdaccc1c5fc41491ed3ab4 /src/gallium/state_trackers/omx/vid_enc.h | |
parent | 7806dbeb706ac6beb50c29f3c1041700feb9daf0 (diff) |
st/omx/enc: separate input buffer private and task structure
Keep tasks as linked list, this way we can associate
more than one encoding task with each buffer.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/omx/vid_enc.h')
-rw-r--r-- | src/gallium/state_trackers/omx/vid_enc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/omx/vid_enc.h b/src/gallium/state_trackers/omx/vid_enc.h index a3fdfaeec6c..76bfbea0917 100644 --- a/src/gallium/state_trackers/omx/vid_enc.h +++ b/src/gallium/state_trackers/omx/vid_enc.h @@ -41,6 +41,8 @@ #include <bellagio/st_static_component_loader.h> #include <bellagio/omx_base_filter.h> +#include "util/u_double_list.h" + #include "vl/vl_defines.h" #include "vl/vl_compositor.h" @@ -67,6 +69,8 @@ DERIVEDCLASS(vid_enc_PrivateType, omx_base_filter_PrivateType) struct pipe_context *s_pipe; \ struct pipe_context *t_pipe; \ struct pipe_video_codec *codec; \ + struct list_head free_tasks; \ + struct list_head used_tasks; \ OMX_U32 frame_rate; \ OMX_U32 frame_num; \ OMX_VIDEO_PARAM_BITRATETYPE bitrate; \ |