OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:prev_counter_diff
(Results
1 - 2
of
2
) sorted by null
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp
524
int diff_counter_BTsrc, diff_counter_BTdst,
prev_counter_diff
, curr_counter_diff, bound;
local
617
prev_counter_diff
= pMP->counter_BTdst - pMP->counter_BTsrc;
618
curr_counter_diff =
prev_counter_diff
+ (diff_counter_BTdst - diff_counter_BTsrc);
620
if (AVC_ABS(
prev_counter_diff
) >= rateCtrl->max_BitVariance_num || AVC_ABS(curr_counter_diff) >= rateCtrl->max_BitVariance_num)
625
diff_counter_BTdst = (rateCtrl->max_BitVariance_num -
prev_counter_diff
) + diff_counter_BTsrc;
631
diff_counter_BTsrc = diff_counter_BTdst - (-rateCtrl->max_BitVariance_num -
prev_counter_diff
);
[
all
...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp
537
Int diff_counter_BTsrc, diff_counter_BTdst,
prev_counter_diff
, curr_counter_diff, bound;
local
635
prev_counter_diff
= pMP->counter_BTdst - pMP->counter_BTsrc;
636
curr_counter_diff =
prev_counter_diff
+ (diff_counter_BTdst - diff_counter_BTsrc);
638
if (PV_ABS(
prev_counter_diff
) >= rc->max_BitVariance_num || PV_ABS(curr_counter_diff) >= rc->max_BitVariance_num) // PV_ABS(curr_counter_diff) >= PV_ABS(
prev_counter_diff
) )
643
diff_counter_BTdst = (rc->max_BitVariance_num -
prev_counter_diff
) + diff_counter_BTsrc;
649
diff_counter_BTsrc = diff_counter_BTdst - (-rc->max_BitVariance_num -
prev_counter_diff
);
[
all
...]
Completed in 62 milliseconds