MCPcopy Create free account
hub / github.com/cisco/openh264 / FreeSampleBuffer

Method FreeSampleBuffer

codec/processing/src/downsample/downsample.cpp:73–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72}
73void CDownsampling::FreeSampleBuffer() {
74 for (int32_t i = 0; i < 2; i++) {
75 WelsFree (m_pSampleBuffer[i][0]);
76 m_pSampleBuffer[i][0] = NULL;
77 WelsFree (m_pSampleBuffer[i][1]);
78 m_pSampleBuffer[i][1] = NULL;
79 WelsFree (m_pSampleBuffer[i][2]);
80 m_pSampleBuffer[i][2] = NULL;
81 }
82}
83
84void CDownsampling::InitDownsampleFuncs (SDownsampleFuncs& sDownsampleFunc, int32_t iCpuFlag) {
85 sDownsampleFunc.pfHalfAverageWidthx32 = DyadicBilinearDownsampler_c;

Callers

nothing calls this directly

Calls 1

WelsFreeFunction · 0.50

Tested by

no test coverage detected