Searched refs:factor (Results 1 - 8 of 8) sorted by relevance

/hardware/ti/omap3/omx/system/src/openmax_il/perf/tests/
H A Darmtime45 factor=0; # we are measuring after-before as (-before) + (after),
46 # so the factor before the test is -1, after the test is
71 # the first time an uptime line is encountered factor should be -1, the
74 factor = factor ? 1 : -1
76 uptime_total += factor * $1
77 uptime_idle += factor * $2
80 print "got(/proc/uptime):", $0, "=>", factor, uptime_total, uptime_idle
86 MHZtime[$1] += factor * $2 * 0.01
87 cpu_time += factor *
[all...]
H A Dperf34 # scale factor size => scale a size by factor percent
263 factor=2x+
267 [ $rgb_size ] && EVAL="$EVAL $factor$cmd_VPPRrate+size=$rgb_size"
268 [ $yuv_size ] && EVAL="$EVAL $factor$cmd_VPPYrate+size=$yuv_size"
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
H A Dvp9_prob.h68 static INLINE vp9_prob weighted_prob(int prob1, int prob2, int factor) { argument
69 return ROUND_POWER_OF_TWO(prob1 * (256 - factor) + prob2 * factor, 8);
78 const unsigned int factor = max_update_factor * count / count_sat; local
79 return weighted_prob(pre_prob, prob, factor);
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/
H A Dvp9_aq_cyclicrefresh.c77 const float factor = 0.5; local
83 if (rc->av_per_frame_bandwidth < factor * number_blocks ||
211 // Distortion threshold, quadratic in Q, scale factor to be adjusted.
H A Dvp9_ratectrl.c289 static void set_rate_correction_factor(VP9_COMP *cpi, double factor) { argument
291 cpi->rc.key_frame_rate_correction_factor = factor;
295 cpi->rc.gf_rate_correction_factor = factor;
297 cpi->rc.rate_correction_factor = factor;
313 // the current correction factor.
318 // Work out a size correction factor.
372 // Calculate required scaling factor based on target frame size and size of
527 // Convert the adjustment factor to a qindex delta
639 // Convert the adjustment factor to a qindex delta
824 // Convert the adjustment factor t
[all...]
H A Dvp9_onyx_if.c1936 const int factor = (i == 0 || i == 3 ? 1 : 2); local
1937 const int x_q4 = x * (16 / factor) * in_w / out_w;
1938 const int y_q4 = y * (16 / factor) * in_h / out_h;
1941 uint8_t *src = srcs[i] + y / factor * in_h / out_h * src_stride +
1942 x / factor * in_w / out_w;
1943 uint8_t *dst = dsts[i] + y / factor * dst_stride + x / factor;
1948 16 / factor, 16 / factor);
2402 // Update correction factor
[all...]
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/tests/
H A DVPPTest.c100 static OMX_ERRORTYPE VPP_SetZoom(OMX_HANDLETYPE pHandle, int speed, int factor, int limit, int xoff, int yoff);
1430 /*VPP_SetZoom(OMX_HANDLETYPE pHandle, int speed, int factor, int limit, int xoff, int yoff);*/
2087 static OMX_ERRORTYPE VPP_SetZoom(OMX_HANDLETYPE pHandle, int speed, int factor, int limit, int xoff, int yoff)
2090 int nZoomFactor = factor<<10;
/hardware/broadcom/wlan/bcmdhd/dhdutil/
H A Dbcmutils.c1921 uint factor = 1; local
1930 * where an offset of 40 qdBm equals a factor of 10 mW.
1934 factor *= 10;
1937 /* return the mW value scaled down to the correct factor of 10,
1938 * adding in factor/2 to get proper rounding.
1940 return ((nqdBm_to_mW_map[idx] + factor/2) / factor);

Completed in 176 milliseconds