Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestAEPackIEC61937.cpp File Reference
#include "cores/AudioEngine/Utils/AEPackIEC61937.h"
#include <cstdint>
#include <vector>
#include <gtest/gtest.h>

Functions

 TEST (TestAEPackIEC61937, ADtsHdFrameThatFitsItsBurstIsPacked)
 
 TEST (TestAEPackIEC61937, ADtsHdFrameLargerThanItsBurstIsDropped)
 
 TEST (TestAEPackIEC61937, ABurstLargerThanTheDestinationBufferIsDropped)
 A period of 16384 is a 65536-byte burst, larger than the MAX_IEC61937_PACKET destination.
 

Function Documentation

◆ TEST() [1/3]

TEST ( TestAEPackIEC61937 ,
ABurstLargerThanTheDestinationBufferIsDropped  )

A period of 16384 is a 65536-byte burst, larger than the MAX_IEC61937_PACKET destination.

◆ TEST() [2/3]

TEST ( TestAEPackIEC61937 ,
ADtsHdFrameLargerThanItsBurstIsDropped  )

A DTS-HD MA frame at peak bit rate taken for HRA: 8320 bytes into an 8192-byte burst. The padding length went negative and memset ran for about 4 GB.

◆ TEST() [3/3]

TEST ( TestAEPackIEC61937 ,
ADtsHdFrameThatFitsItsBurstIsPacked  )