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

Function InitializeHashforFeature_ref

test/encoder/EncUT_SVC_me.cpp:82–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82void InitializeHashforFeature_ref (uint32_t* pTimesOfFeatureValue, uint16_t* pBuf, const int32_t kiListSize,
83 uint16_t** pLocationOfFeature, uint16_t** pFeatureValuePointerList) {
84 //assign location pointer
85 uint16_t* pBufPos = pBuf;
86 for (int32_t i = 0 ; i < kiListSize; ++i) {
87 pLocationOfFeature[i] =
88 pFeatureValuePointerList[i] = pBufPos;
89 pBufPos += (pTimesOfFeatureValue[i] << 1);
90 }
91}
92void FillQpelLocationByFeatureValue_ref (uint16_t* pFeatureOfBlock, const int32_t kiWidth, const int32_t kiHeight,
93 uint16_t** pFeatureValuePointerList) {
94 //assign each pixel's position

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected