linux/drivers/staging/media/meson/vdec/esparser.h
<<
>>
Prefs
   1/* SPDX-License-Identifier: GPL-2.0+ */
   2/*
   3 * Copyright (C) 2018 BayLibre, SAS
   4 * Author: Maxime Jourdan <mjourdan@baylibre.com>
   5 */
   6
   7#ifndef __MESON_VDEC_ESPARSER_H_
   8#define __MESON_VDEC_ESPARSER_H_
   9
  10#include <linux/platform_device.h>
  11
  12#include "vdec.h"
  13
  14int esparser_init(struct platform_device *pdev, struct amvdec_core *core);
  15int esparser_power_up(struct amvdec_session *sess);
  16
  17/**
  18 * esparser_queue_eos() - write End Of Stream sequence to the ESPARSER
  19 *
  20 * @core vdec core struct
  21 */
  22int esparser_queue_eos(struct amvdec_core *core, const u8 *data, u32 len);
  23
  24/**
  25 * esparser_queue_all_src() - work handler that writes as many src buffers
  26 * as possible to the ESPARSER
  27 */
  28void esparser_queue_all_src(struct work_struct *work);
  29
  30#define ESPARSER_MIN_PACKET_SIZE SZ_4K
  31
  32#endif
  33