Searched refs:approx (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Ddiv_32.cpp123 1. Find 1/L_denom by first approximating: approx = 1 / denom_hi.
124 2. 1/L_denom = approx * (2.0 - L_denom * approx ).
174 Word16 approx; local
183 approx = div_s((Word16) 0x3fff, L_denom_hi);
185 /* 1/L_denom = approx * (2.0 - L_denom * approx) */
187 result = Mpy_32_16(L_denom_hi, L_denom_lo, approx, pOverflow);
194 result = Mpy_32_16(hi, lo, approx, pOverflow);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
H A DFisheye.java31 private final boolean approx; field in class:Fisheye
37 public Fisheye(boolean approx, boolean relaxed) { argument
38 this.approx = approx;
75 if (approx) {
99 if (approx) {
122 if (approx) {
H A DVignette.java31 private final boolean approx; field in class:Vignette
39 public Vignette(boolean approx, boolean relaxed) { argument
40 this.approx = approx;
97 if (approx) {
121 if (approx) {
134 if (approx) {
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
H A DFisheye.java28 private final boolean approx; field in class:Fisheye
34 public Fisheye(boolean approx, boolean relaxed) { argument
35 this.approx = approx;
72 if (approx) {
96 if (approx) {
119 if (approx) {
H A DVignette.java27 private final boolean approx; field in class:Vignette
35 public Vignette(boolean approx, boolean relaxed) { argument
36 this.approx = approx;
93 if (approx) {
117 if (approx) {
130 if (approx) {
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
H A DFisheye.java31 private final boolean approx; field in class:Fisheye
37 public Fisheye(boolean approx, boolean relaxed) { argument
38 this.approx = approx;
75 if (approx) {
99 if (approx) {
122 if (approx) {
H A DVignette.java31 private final boolean approx; field in class:Vignette
39 public Vignette(boolean approx, boolean relaxed) { argument
40 this.approx = approx;
97 if (approx) {
121 if (approx) {
134 if (approx) {
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Doper_32b.c188 * First approximation: approx = 1 / denom_hi *
189 * 1/L_denom = approx * (2.0 - L_denom * approx ) *
197 Word16 approx, hi, lo, n_hi, n_lo; local
202 approx = div_s ((Word16) 0x3fff, denom_hi);
204 /* 1/L_denom = approx * (2.0 - L_denom * approx) */
206 L_32 = Mpy_32_16 (denom_hi, denom_lo, approx);
212 L_32 = Mpy_32_16 (hi, lo, approx);
/frameworks/av/media/libstagefright/codecs/aacenc/basic_op/
H A Doper_32b.c174 * First approximation: approx = 1 / denom_hi *
175 * 1/L_denom = approx * (2.0 - L_denom * approx ) *
183 Word16 approx; local
187 approx = div_s ((Word16) 0x3fff, denom >> 16);
189 /* 1/L_denom = approx * (2.0 - L_denom * approx) */
191 L_32 = L_mpy_ls (denom, approx);
195 L_32 = L_mpy_ls (L_32, approx);

Completed in 3367 milliseconds