/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/geometry/ |
H A D | vktGeometryInputGeometryShaderTests.cpp | 95 const float scale = 0.3f; in genVertexAttribData() local 100 m_vertexPosData[ 0] = Vec4( 0, 0, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 101 m_vertexPosData[ 1] = Vec4(-1, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 102 m_vertexPosData[ 2] = Vec4( 0, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 103 m_vertexPosData[ 3] = Vec4( 1, 1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 104 m_vertexPosData[ 4] = Vec4( 1, 0, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 105 m_vertexPosData[ 5] = Vec4( 0, -2, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 106 m_vertexPosData[ 6] = Vec4( 1, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 107 m_vertexPosData[ 7] = Vec4( 2, 1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 108 m_vertexPosData[ 8] = Vec4( 2, 0, 0.0f, 0.0f) * scale in genVertexAttribData() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/geometry/ |
H A D | vktGeometryInputGeometryShaderTests.cpp | 95 const float scale = 0.3f; in genVertexAttribData() local 100 m_vertexPosData[ 0] = Vec4( 0, 0, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 101 m_vertexPosData[ 1] = Vec4(-1, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 102 m_vertexPosData[ 2] = Vec4( 0, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 103 m_vertexPosData[ 3] = Vec4( 1, 1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 104 m_vertexPosData[ 4] = Vec4( 1, 0, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 105 m_vertexPosData[ 5] = Vec4( 0, -2, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 106 m_vertexPosData[ 6] = Vec4( 1, -1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 107 m_vertexPosData[ 7] = Vec4( 2, 1, 0.0f, 0.0f) * scale + offset; in genVertexAttribData() 108 m_vertexPosData[ 8] = Vec4( 2, 0, 0.0f, 0.0f) * scale in genVertexAttribData() [all...] |
/third_party/skia/src/effects/imagefilters/ |
H A D | SkDisplacementMapImageFilter.cpp | 38 SkScalar scale, sk_sp<SkImageFilter> inputs[2], in SkDisplacementMapImageFilter() 43 , fScale(scale) {} in SkDisplacementMapImageFilter() 109 SkColorChannel xChannelSelector, SkColorChannel yChannelSelector, SkScalar scale, in DisplacementMap() 118 scale, inputs, cropRect)); in DisplacementMap() 134 SkScalar scale = buffer.readScalar(); in CreateProc() local 136 return SkImageFilters::DisplacementMap(xsel, ysel, scale, common.getInput(0), in CreateProc() 157 SkVector scale, 186 const SkVector& scale, 202 static void compute_displacement(Extractor ex, const SkVector& scale, SkBitmap* dst, in compute_displacement() argument 209 const SkVector scaleForColor = SkVector::Make(scale in compute_displacement() 37 SkDisplacementMapImageFilter(SkColorChannel xChannelSelector, SkColorChannel yChannelSelector, SkScalar scale, sk_sp<SkImageFilter> inputs[2], const SkRect* cropRect) SkDisplacementMapImageFilter() argument 108 DisplacementMap( SkColorChannel xChannelSelector, SkColorChannel yChannelSelector, SkScalar scale, sk_sp<SkImageFilter> displacement, sk_sp<SkImageFilter> color, const CropRect& cropRect) DisplacementMap() argument 282 SkVector scale = SkVector::Make(fScale, fScale); onFilterImage() local 365 compute_displacement(Extractor(fXChannelSelector, fYChannelSelector), scale, &dst, onFilterImage() local 382 SkVector scale = SkVector::Make(fScale, fScale); onFilterNodeBounds() local 417 Make(SkColorChannel xChannelSelector, SkColorChannel yChannelSelector, SkVector scale, GrSurfaceProxyView displacement, const SkIRect& displSubset, const SkMatrix& offsetMatrix, GrSurfaceProxyView color, const SkIRect& colorSubset, const GrCaps& caps) Make() argument 470 GrDisplacementMapEffect(SkColorChannel xChannelSelector, SkColorChannel yChannelSelector, const SkVector& scale, std::unique_ptr<GrFragmentProcessor> displacement, std::unique_ptr<GrFragmentProcessor> color) GrDisplacementMapEffect() argument 516 SkVector scale; TestCreate() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | rosen_render_shape_container.cpp | 57 double scale = std::min(GetLayoutSize().Width() / viewBoxWidth, GetLayoutSize().Height() / viewBoxHeight); in PerformLayout() local 58 double tx = GetLayoutSize().Width() * 0.5 - (viewBoxWidth * 0.5 + viewBoxLeft) * scale; in PerformLayout() 59 double ty = GetLayoutSize().Height() * 0.5 - (viewBoxHeight * 0.5 + viewBoxTop) * scale; in PerformLayout() 66 rsNode->SetScale(scale); in PerformLayout() 92 double scale = std::min(GetLayoutSize().Width() / viewBoxWidth, GetLayoutSize().Height() / viewBoxHeight); in Paint() local 93 double tx = GetLayoutSize().Width() * 0.5 - (viewBoxWidth * 0.5 + viewBoxLeft) * scale; in Paint() 94 double ty = GetLayoutSize().Height() * 0.5 - (viewBoxHeight * 0.5 + viewBoxTop) * scale; in Paint() 95 skOffCanvas_->scale(scale, scale); in Paint() 126 double scale = std::min(GetLayoutSize().Width() / viewBoxWidth, GetLayoutSize().Height() / viewBoxHeight); Paint() local 218 double scale = std::min(GetLayoutSize().Width() / viewBoxWidth, GetLayoutSize().Height() / viewBoxHeight); BitmapMesh() local [all...] |
/third_party/libsnd/tests/ |
H A D | fix_this.c | 48 static void gen_signal_double (double *data, double scale, int datalen) ; 82 double scale ; in lcomp_test_int() local 91 scale = 1.0 * 0x10000 ; in lcomp_test_int() 96 gen_signal_double (orig_buffer.d, 32000.0 * scale, datalen) ; in lcomp_test_int() 158 { if (error_function (data [k] / scale, orig [k] / scale, margin)) in lcomp_test_int() 159 { printf ("Line %d: Incorrect sample (#%d : %f should be %f).\n", __LINE__, k, data [k] / scale, orig [k] / scale) ; in lcomp_test_int() 181 if (ABS (data [k] / scale) > decay_response (k)) in lcomp_test_int() 207 if (error_function (data [k] / scale, ori in lcomp_test_int() 298 gen_signal_double(double *data, double scale, int datalen) gen_signal_double() argument [all...] |
H A D | lossy_comp_test.c | 64 static void gen_signal_double (double *data, double scale, int channels, int datalen) ; 841 double scale, max_val ; in lcomp_test_int() local 850 { scale = 1.0 * 0x10000 ; in lcomp_test_int() 851 max_val = 32000.0 * scale ; in lcomp_test_int() 854 { scale = 1.0 ; in lcomp_test_int() 855 max_val = 0x7fffffff * scale ; in lcomp_test_int() 911 { if (error_function (data [k] / scale, orig [k] / scale, margin)) in lcomp_test_int() 912 { printf ("\nLine %d: Incorrect sample (#%d : %f should be %f).\n", __LINE__, k, data [k] / scale, orig [k] / scale) ; in lcomp_test_int() 1651 double scale ; sdlcomp_test_int() local 1875 double half_max_abs , scale ; sdlcomp_test_float() local 2121 double *orig, *data, *smooth, half_max_abs, scale ; sdlcomp_test_double() local 2447 gen_signal_double(double *data, double scale, int channels, int datalen) gen_signal_double() argument [all...] |
/third_party/mesa3d/src/mesa/math/ |
H A D | m_debug_norm.c | 124 GLfloat scale, in ref_norm_transform_rescale() 140 SCALE_SCALAR_3V( out[i], scale, t ); in ref_norm_transform_rescale() 147 GLfloat scale, in ref_norm_transform_normalize() 168 scale = 1.0f / sqrtf(len); in ref_norm_transform_normalize() 169 SCALE_SCALAR_3V( out[i], scale, t ); in ref_norm_transform_normalize() 174 scale = lengths[i]; in ref_norm_transform_normalize() 175 SCALE_SCALAR_3V( out[i], scale, t ); in ref_norm_transform_normalize() 202 GLfloat scale; in test_norm_function() local 216 scale = 1.0F + rnd () * norm_scale_types[mtype]; in test_norm_function() 278 ref_norm_transform_rescale( mat, scale, sourc in test_norm_function() 123 ref_norm_transform_rescale( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) ref_norm_transform_rescale() argument 146 ref_norm_transform_normalize( const GLmatrix *mat, GLfloat scale, const GLvector4f *in, const GLfloat *lengths, GLvector4f *dest ) ref_norm_transform_normalize() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/ |
H A D | util_modifier.cpp | 28 auto scale = 0.0; in GetFontScale() local 32 scale = container->GetPipelineContext()->GetFontScale() * density; in GetFontScale() 34 return scale; in GetFontScale() 39 auto scale = 0.0; in GetDesignWidthScale() local 41 CHECK_NULL_RETURN(container, scale); in GetDesignWidthScale() 43 CHECK_NULL_RETURN(frontend, scale); in GetDesignWidthScale()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/ |
H A D | snapshot_param.h | 28 float scale; member 30 explicit SnapshotOptions(float scale = DEFAULT_SNAPSHOT_SCALE, bool waitUntilRenderFinished = false) in SnapshotOptions() 31 : scale(scale), waitUntilRenderFinished(waitUntilRenderFinished) {} in SnapshotOptions() 34 return "{" + std::to_string(scale) + ", " + (waitUntilRenderFinished ? "true}" : "false}"); in ToString() 47 std::to_string(options.scale) + ", " + (options.waitUntilRenderFinished ? "true}" : "false}"); in ToString()
|
/third_party/ffmpeg/tests/fate/ |
H A D | prores.mak | 14 fate-prores-422: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_422.mov -pix_fmt yuv422p10le -vf scale 15 fate-prores-422_hq: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_422_HQ.mov -pix_fmt yuv422p10le -vf scale 16 fate-prores-422_lt: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_422_LT.mov -pix_fmt yuv422p10le -vf scale 17 fate-prores-422_proxy: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_422_Proxy.mov -pix_fmt yuv422p10le -vf scale 18 fate-prores-alpha: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_with_Alpha.mov -pix_fmt yuva444p12le -vf scale 19 fate-prores-alpha_skip: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/prores/Sequence_1-Apple_ProRes_with_Alpha.mov -pix_fmt yuv444p12le -vf scale 20 fate-prores-transparency: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/prores/prores4444_with_transparency.mov -pix_fmt yuva444p12le -vf scale 21 fate-prores-transparency_skip: CMD = framecrc -flags +bitexact -skip_alpha 1 -i $(TARGET_SAMPLES)/prores/prores4444_with_transparency.mov -pix_fmt yuv444p12le -vf scale 22 fate-prores-gray: CMD = framecrc -flags +bitexact -c:a aac_fixed -i $(TARGET_SAMPLES)/prores/gray.mov -pix_fmt yuv422p10le -vf scale -af aresample
|
/third_party/skia/bench/ |
H A D | PathTextBench.cpp | 67 float scale = size / glyphSize; variable 69 fXforms[i].setTranslate((1 - t1) * sqrt(2) * scale/2 * glyphSize + 70 t1 * (kScreenWidth - sqrt(2) * scale/2 * glyphSize), 71 (1 - t2) * sqrt(2) * scale/2 * glyphSize + 72 t2 * (kScreenHeight - sqrt(2) * scale/2 * glyphSize)); 74 fXforms[i].preTranslate(-scale/2 * bounds.width(), -scale/2 * bounds.height()); 75 fXforms[i].preScale(scale, scale);
|
/third_party/skia/include/private/ |
H A D | SkColorData.h | 161 * scale is [0..256], unlike SkFourByteInterp which takes [0..255] 163 static inline SkPMColor SkFourByteInterp256(SkPMColor src, SkPMColor dst, int scale) { in SkFourByteInterp256() argument 164 unsigned a = SkTo<uint8_t>(SkAlphaBlend(SkGetPackedA32(src), SkGetPackedA32(dst), scale)); in SkFourByteInterp256() 165 unsigned r = SkTo<uint8_t>(SkAlphaBlend(SkGetPackedR32(src), SkGetPackedR32(dst), scale)); in SkFourByteInterp256() 166 unsigned g = SkTo<uint8_t>(SkAlphaBlend(SkGetPackedG32(src), SkGetPackedG32(dst), scale)); in SkFourByteInterp256() 167 unsigned b = SkTo<uint8_t>(SkAlphaBlend(SkGetPackedB32(src), SkGetPackedB32(dst), scale)); in SkFourByteInterp256() 179 int scale = (int)SkAlpha255To256(srcWeight); in SkFourByteInterp() local 180 return SkFourByteInterp256(src, dst, scale); in SkFourByteInterp() 223 static inline SkPMColor SkFastFourByteInterp256_32(SkPMColor src, SkPMColor dst, unsigned scale) { in SkFastFourByteInterp256_32() argument 224 SkASSERT(scale < in SkFastFourByteInterp256_32() 237 SkFastFourByteInterp256_64(SkPMColor src, SkPMColor dst, unsigned scale) SkFastFourByteInterp256_64() argument 248 SkFastFourByteInterp256(SkPMColor src, SkPMColor dst, unsigned scale) SkFastFourByteInterp256() argument 271 SkPMLerp(SkPMColor src, SkPMColor dst, unsigned scale) SkPMLerp() argument [all...] |
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/dm/ |
H A D | fill_types_persp.cpp | 60 float scale = param.scale; in ShowPath() local 69 OH_Drawing_CanvasScale(canvas, scale, scale); in ShowPath() 78 void FillTypePersp::ShowFour(OH_Drawing_Canvas* canvas, float scale, bool aa) in ShowFour() argument 95 param.scale = scale; in ShowFour() 145 float scale = 5.0 / 4; // 5.0 / 4 ShowFour 参数 in OnTestFunction() local 148 ShowFour(canvas, scale, false); in OnTestFunction() 153 ShowFour(canvas, scale, tru in OnTestFunction() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/impl/number/ |
H A D | DecimalQuantity_64BitBCD.java | 73 scale -= numDigits; in shiftLeft() 80 scale += numDigits; in shiftRight() 93 scale = 0; in setBcdToZero() 109 // ints can't overflow the 16 digits in the BCD, so scale is always zero in readIntToBcd() 111 scale = 0; in readIntToBcd() 125 scale = (i < 0) ? -i : 0; in readLongToBcd() 141 scale = (i < 0) ? -i : 0; in readBigIntegerToBcd() 151 result = result.scaleByPowerOfTen(scale); in bcdToBigDecimal() 160 scale = 0; in compact() 168 scale in compact() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/impl/number/ |
H A D | DecimalQuantity_64BitBCD.java | 76 scale -= numDigits; in shiftLeft() 83 scale += numDigits; in shiftRight() 96 scale = 0; in setBcdToZero() 112 // ints can't overflow the 16 digits in the BCD, so scale is always zero in readIntToBcd() 114 scale = 0; in readIntToBcd() 128 scale = (i < 0) ? -i : 0; in readLongToBcd() 144 scale = (i < 0) ? -i : 0; in readBigIntegerToBcd() 154 result = result.scaleByPowerOfTen(scale); in bcdToBigDecimal() 163 scale = 0; in compact() 171 scale in compact() [all...] |
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | tlbflush.h | 136 #define __TLBI_VADDR_RANGE(addr, asid, scale, num, ttl) \ 142 __ta |= (unsigned long)(scale) << 44; \ 149 #define __TLBI_RANGE_PAGES(num, scale) \ 150 ((unsigned long)((num) + 1) << (5 * (scale) + 1)) 158 #define __TLBI_RANGE_NUM(pages, scale) \ 159 ((((pages) >> (5 * (scale) + 1)) & TLBI_RANGE_MASK) - 1) 287 int scale = 0; in __flush_tlb_range() local 319 * by 'scale', so multiple range TLBI operations may be required. in __flush_tlb_range() 320 * Start from scale = 0, flush the corresponding number of pages in __flush_tlb_range() 321 * ((num+1)*2^(5*scale in __flush_tlb_range() [all...] |
/kernel/linux/linux-6.6/arch/arm64/include/asm/ |
H A D | tlbflush.h | 137 #define __TLBI_VADDR_RANGE(addr, asid, scale, num, ttl) \ 143 __ta |= (unsigned long)(scale) << 44; \ 150 #define __TLBI_RANGE_PAGES(num, scale) \ 151 ((unsigned long)((num) + 1) << (5 * (scale) + 1)) 159 #define __TLBI_RANGE_NUM(pages, scale) \ 160 ((((pages) >> (5 * (scale) + 1)) & TLBI_RANGE_MASK) - 1) 358 * by 'scale', so multiple range TLBI operations may be required. 359 * Start from scale = 0, flush the corresponding number of pages 360 * ((num+1)*2^(5*scale+1) starting from 'addr'), then increase it 364 * scale o [all...] |
/third_party/skia/docs/examples/ |
H A D | Point_scale.cpp | 11 for (auto scale : {1, 2, 3, 5}) { in REG_FIDDLE() 12 paint.setStrokeWidth(scale * 5); in REG_FIDDLE() 13 paint.setARGB(0x7f, 0x9f, 0xbf, 0x33 * scale); in REG_FIDDLE() 14 point.scale(scale, &scaled); in REG_FIDDLE()
|
H A D | Point_scale_2.cpp | 11 for (auto scale : {1, 2, 3, 5}) { in REG_FIDDLE() 12 paint.setStrokeWidth(scale * 5); in REG_FIDDLE() 13 paint.setARGB(0x7f, 0x9f, 0xbf, 0x33 * scale); in REG_FIDDLE() 14 point.scale(scale); in REG_FIDDLE()
|
/foundation/arkui/ace_engine/frameworks/base/geometry/ |
H A D | rect.h | 57 void ApplyScale(double scale) in ApplyScale() argument 59 x_ *= scale; in ApplyScale() 60 y_ *= scale; in ApplyScale() 61 width_ *= scale; in ApplyScale() 62 height_ *= scale; in ApplyScale() 65 void ApplyScaleAndRound(const Size& scale) in ApplyScaleAndRound() argument 67 x_ = round(x_ * scale.Width()); in ApplyScaleAndRound() 68 y_ = round(y_ * scale.Height()); in ApplyScaleAndRound() 69 width_ = round(width_ * scale.Width()); in ApplyScaleAndRound() 70 height_ = round(height_ * scale in ApplyScaleAndRound() [all...] |
/third_party/skia/gm/ |
H A D | pictureshader.cpp | 104 void drawSceneColumn(SkCanvas* canvas, const SkPoint& pos, SkScalar scale, SkScalar localScale, in drawSceneColumn() argument 109 ctm.preScale(scale, scale); in drawSceneColumn() 113 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 1.2f * scale); in drawSceneColumn() 114 ctm.preScale(scale, scale); in drawSceneColumn() 119 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 2.4f * scale); in drawSceneColumn() 120 ctm.preScale(scale, scale); in drawSceneColumn() 125 ctm.setTranslate(pos.x(), pos.y() + fSceneSize * 3.6f * scale); in drawSceneColumn() [all...] |
/third_party/skia/src/core/ |
H A D | SkFont.cpp | 104 void SkFont::setScaleX(SkScalar scale) { in setScaleX() argument 105 fScaleX = scale; in setScaleX() 260 SkScalar scale = font.setupForAsPaths(nullptr); in getPaths() local 261 const SkMatrix mx = SkMatrix::Scale(scale, scale); in getPaths() 316 void SkFontPriv::ScaleFontMetrics(SkFontMetrics* metrics, SkScalar scale) { in ScaleFontMetrics() argument 317 metrics->fTop *= scale; in ScaleFontMetrics() 318 metrics->fAscent *= scale; in ScaleFontMetrics() 319 metrics->fDescent *= scale; in ScaleFontMetrics() 320 metrics->fBottom *= scale; in ScaleFontMetrics() [all...] |
H A D | SkEdge.cpp | 47 float scale = float(1 << (shift + 6)); in setLine() local 48 x0 = int(p0.fX * scale); in setLine() 49 y0 = int(p0.fY * scale); in setLine() 50 x1 = int(p1.fX * scale); in setLine() 51 y1 = int(p1.fY * scale); in setLine() 193 float scale = float(1 << (shift + 6)); in setQuadraticWithoutUpdate() local 194 x0 = int(pts[0].fX * scale); in setQuadraticWithoutUpdate() 195 y0 = int(pts[0].fY * scale); in setQuadraticWithoutUpdate() 196 x1 = int(pts[1].fX * scale); in setQuadraticWithoutUpdate() 197 y1 = int(pts[1].fY * scale); in setQuadraticWithoutUpdate() 365 float scale = float(1 << (shift + 6)); setCubicWithoutUpdate() local [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | number_decimalquantity.cpp | 118 scale = other.scale; in copyFieldsFrom() 131 setBcdToZero(); // sets scale, precision, hasDouble, origDouble, origDelta, and BCD data in clear() 165 if (maxInt <= scale) { in applyMaxInteger() 241 return scale + precision - 1; in getMagnitude() 246 // i.e., scale += delta; origDelta += delta in adjustMagnitude() 247 bool overflow = uprv_add32_overflow(scale, delta, &scale); in adjustMagnitude() 249 // Make sure that precision + scale won't overflow, either in adjustMagnitude() 251 overflow = overflow || uprv_add32_overflow(scale, precisio in adjustMagnitude() [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | tw9910.c | 234 const struct tw9910_scale_ctrl *scale; member 353 const struct tw9910_scale_ctrl *scale) in tw9910_set_scale() 358 (scale->vscale & 0x0F00) >> 4 | in tw9910_set_scale() 359 (scale->hscale & 0x0F00) >> 8); in tw9910_set_scale() 364 scale->hscale & 0x00FF); in tw9910_set_scale() 369 scale->vscale & 0x00FF); in tw9910_set_scale() 431 const struct tw9910_scale_ctrl *scale; in tw9910_select_norm() local 437 scale = tw9910_ntsc_scales; in tw9910_select_norm() 440 scale = tw9910_pal_scales; in tw9910_select_norm() 447 tmp = abs(width - scale[ in tw9910_select_norm() 352 tw9910_set_scale(struct i2c_client *client, const struct tw9910_scale_ctrl *scale) tw9910_set_scale() argument 806 const struct tw9910_scale_ctrl *scale; tw9910_set_fmt() local [all...] |