Home
last modified time | relevance | path

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

/external/opencv3/modules/video/src/opencl/
Dbgfg_mog2.cl82 float c_weight = mad(alpha1, _weight[mode_idx], prune);
97 c_weight += alphaT;
99 float k = alphaT / c_weight;
106 if (c_weight < _weight[prev_idx])
118 _weight[mode_idx] = c_weight; //update weight by the calculated value
120 totalWeight += c_weight;
126 if (c_weight < -prune)
127 c_weight = 0.0f;
129 _weight[mode_idx] = c_weight; //update weight by the calculated value
130 totalWeight += c_weight;
[all …]
/external/libavc/decoder/
Dih264d_process_pslice.c821 WORD16 c_weight, c_offset; in ih264d_parse_pred_weight_table() local
869 c_weight = i_temp; in ih264d_parse_pred_weight_table()
870 COPYTHECONTEXT("SH: luma_weight_l0",c_weight); in ih264d_parse_pred_weight_table()
879 ui32_temp = (c_offset << 16) | (c_weight & 0xFFFF); in ih264d_parse_pred_weight_table()