FastLED 3.9.15
Loading...
Searching...
No Matches

◆ skipScalingList()

void fl::anonymous_namespace{h264.cpp.hpp}::skipScalingList ( BitReader & br,
int size )

Definition at line 71 of file h264.cpp.hpp.

71 {
72 int lastScale = 8;
73 int nextScale = 8;
74 for (int j = 0; j < size; j++) {
75 if (nextScale != 0) {
76 fl::i32 delta = br.readSE();
77 nextScale = (lastScale + delta + 256) % 256;
78 }
79 lastScale = (nextScale == 0) ? lastScale : nextScale;
80 }
81}

References fl::anonymous_namespace{h264.cpp.hpp}::BitReader::readSE(), and skipScalingList().

Referenced by skipScalingList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: