18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
28c2ecf20Sopenharmony_ci#ifndef _AV7110_IPACK_H_
38c2ecf20Sopenharmony_ci#define _AV7110_IPACK_H_
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ciextern int av7110_ipack_init(struct ipack *p, int size,
68c2ecf20Sopenharmony_ci			     void (*func)(u8 *buf,  int size, void *priv));
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciextern void av7110_ipack_reset(struct ipack *p);
98c2ecf20Sopenharmony_ciextern int  av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p);
108c2ecf20Sopenharmony_ciextern void av7110_ipack_free(struct ipack * p);
118c2ecf20Sopenharmony_ciextern void av7110_ipack_flush(struct ipack *p);
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci#endif
14