shithub: openh264

ref: 1b3dca6b7d6ac10b8bd5a09fef7e4be7ba1e3ea2
dir: /test/utils/DataGenerator.h/

View raw version
#ifndef DATA_GENERATOR_H__
#define DATA_GENERATOR_H__

#include "typedefs.h"

bool YUVPixelDataGenerator( uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride );

void RandomPixelDataGenerator( uint8_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride, int32_t iIdx );

void RandomResidueDataGenerator( uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride );

void RandomCoeffDataGenerator( uint16_t* pPointer, int32_t iWidth, int32_t iHeight, int32_t iStride );


#endif//DATA_GENERATOR_H__