2 * gstvaapicodedbufferpool.h - VA coded buffer pool
4 * Copyright (C) 2013-2014 Intel Corporation
5 * Author: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public License
9 * as published by the Free Software Foundation; either version 2.1
10 * of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free
19 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 * Boston, MA 02110-1301 USA
23 #ifndef GST_VAAPI_CODED_BUFFER_POOL_H
24 #define GST_VAAPI_CODED_BUFFER_POOL_H
26 #include <gst/vaapi/gstvaapivideopool.h>
27 #include <gst/vaapi/gstvaapiencoder.h>
31 #define GST_VAAPI_CODED_BUFFER_POOL(obj) \
32 ((GstVaapiCodedBufferPool *)(obj))
34 struct _GstVaapiEncoder;
37 gst_vaapi_coded_buffer_pool_new (struct _GstVaapiEncoder * encoder,
41 gst_vaapi_coded_buffer_pool_get_buffer_size (GstVaapiCodedBufferPool * pool);
45 #endif /* GST_VAAPI_CODED_BUFFER_POOL_H */