Home
last modified time | relevance | path

Searched refs:newq (Results 1 – 2 of 2) sorted by relevance

/third_party/re2/re2/
Ddfa.cc933 void DFA::RunWorkqOnEmptyString(Workq* oldq, Workq* newq, uint32_t flag) { in RunWorkqOnEmptyString() argument
934 newq->clear(); in RunWorkqOnEmptyString()
937 AddToQueue(newq, Mark, flag); in RunWorkqOnEmptyString()
939 AddToQueue(newq, *i, flag); in RunWorkqOnEmptyString()
947 void DFA::RunWorkqOnByte(Workq* oldq, Workq* newq, in RunWorkqOnByte() argument
951 newq->clear(); in RunWorkqOnByte()
956 newq->mark(); in RunWorkqOnByte()
975 AddToQueue(newq, ip->out(), flag); in RunWorkqOnByte()
993 DumpWorkq(oldq).c_str(), c, flag, DumpWorkq(newq).c_str(), *ismatch); in RunWorkqOnByte()
/third_party/ffmpeg/libavcodec/
Dratecontrol.c821 float newq = q * cplx_tab[i] / bits_tab[i]; in adaptive_quantization() local
822 newq *= factor; in adaptive_quantization()
824 if (newq > qmax) { in adaptive_quantization()
827 } else if (newq < qmin) { in adaptive_quantization()
840 float newq = q * cplx_tab[i] / bits_tab[i]; in adaptive_quantization() local
844 newq *= bits_sum / cplx_sum; in adaptive_quantization()
847 intq = (int)(newq + 0.5); in adaptive_quantization()