1 
   2 
   3 
   4 
   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 
  14 int esparser_init(struct platform_device *pdev, struct amvdec_core *core);
  15 int esparser_power_up(struct amvdec_session *sess);
  16 
  17 
  18 
  19 
  20 
  21 
  22 int esparser_queue_eos(struct amvdec_core *core, const u8 *data, u32 len);
  23 
  24 
  25 
  26 
  27 
  28 void esparser_queue_all_src(struct work_struct *work);
  29 
  30 #define ESPARSER_MIN_PACKET_SIZE SZ_4K
  31 
  32 #endif