linuxOS_D21X/source/artinchip/aic-mpp/mpp_test/bit_stream_parser.h

26 lines
539 B
C
Raw Normal View History

2024-11-29 08:13:19 +00:00
/*
2024-11-29 08:33:21 +00:00
* Copyright (C) 2020-2022 Artinchip Technology Co. Ltd
*
* SPDX-License-Identifier: Apache-2.0
*
* author: <qi.xu@artinchip.com>
* Desc:
*/
2024-11-29 08:13:19 +00:00
#include <stdio.h>
#include <stdint.h>
#include "mpp_dec_type.h"
#ifndef BIT_STREAM_PARSER_H
#define BIT_STREAM_PARSER_H
struct bit_stream_parser;
struct bit_stream_parser* bs_create(int fd);
int bs_close(struct bit_stream_parser* p);
int bs_prefetch(struct bit_stream_parser* p, struct mpp_packet* pkt);
int bs_read(struct bit_stream_parser* pCtx, struct mpp_packet* pkt);
#endif