mpeg2: remove unused includes from header

The MPEG2 header doesn't need any header, since it's only using pointers.
Remove them, and add them to the mpeg2 file when needed.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
This commit is contained in:
Maxime Ripard
2018-07-16 14:08:43 +02:00
parent e968914819
commit 5b50ce871e
2 changed files with 5 additions and 7 deletions
+2
View File
@@ -23,8 +23,10 @@
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include "context.h"
#include "sunxi_cedrus.h"
#include "mpeg2.h"
#include "surface.h"
#include <assert.h>
#include <string.h>
+3 -7
View File
@@ -26,14 +26,10 @@
#ifndef _MPEG2_H_
#define _MPEG2_H_
#include <va/va_backend.h>
#include "context.h"
#include "buffer.h"
#include "surface.h"
struct object_surface;
struct sunxi_cedrus_driver_data;
int mpeg2_set_controls(struct sunxi_cedrus_driver_data *driver_data,
struct object_surface *surface_object);
struct object_surface *surface_object);
#endif