Files
BPI-CM9-Linux/aml-comp/multimedia/aml_mp_sdk/tests/amlMpTestSupporter/ParserReceiver.h
T
2026-08-24 10:03:24 +08:00

33 lines
722 B
C++

/*
* Copyright (c) 2020 Amlogic, Inc. All rights reserved.
*
* This source code is subject to the terms and conditions defined in the
* file 'LICENSE' which is part of this source code package.
*
* Description:
*/
#ifndef _PARSER_RECEIVER_H_
#define _PARSER_RECEIVER_H_
#include "source/Source.h"
#include <demux/AmlTsParser.h>
namespace aml_mp {
class ParserReceiver : public ISourceReceiver
{
public:
ParserReceiver(const sptr<Parser>& amlTsParser);
~ParserReceiver();
virtual int writeData(const uint8_t* buffer, size_t size);
private:
sptr<Parser> mAmlTsParser;
ParserReceiver(const ParserReceiver&) = delete;
ParserReceiver& operator=(const ParserReceiver&) = delete;
};
}
#endif