Home
last modified time | relevance | path

Searched refs:dstH (Results 1 - 24 of 24) sorted by relevance

/third_party/ffmpeg/libswscale/tests/
H A Dswscale.c85 int srcW, int srcH, int dstW, int dstH, int flags, in doTest()
159 dst[i] = av_mallocz(dstStride[i] * dstH + 16); in doTest()
168 dstContext = sws_getContext(srcW, srcH, srcFormat, dstW, dstH, dstFormat, in doTest()
179 desc_dst->name, dstW, dstH, in doTest()
187 dstStride[i] * dstH); in doTest()
205 outContext = sws_getContext(dstW, dstH, dstFormat, w, h, in doTest()
215 sws_scale(outContext, (const uint8_t * const *) dst, dstStride, 0, dstH, in doTest()
264 const int dstH[] = { srcH - srcH / 3, srcH, srcH + srcH / 3, 0 }; in selfTest() local
292 for (j = 0; dstH[j] && !res; j++) in selfTest()
295 srcW, srcH, dstW[i], dstH[ in selfTest()
83 doTest(const uint8_t * const ref[4], int refStride[4], int w, int h, enum AVPixelFormat srcFormat, enum AVPixelFormat dstFormat, int srcW, int srcH, int dstW, int dstH, int flags, struct Results *r) doTest() argument
319 int dstW = 0, dstH = 0; fileTest() local
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluTextureTestUtil.cpp482 float dstH = (float)dst.getHeight(); in sampleTextureProjected() local
497 float ny = wy / dstH; in sampleTextureProjected()
501 float triWy = triNdx ? dstH - wy : wy; in sampleTextureProjected()
523 float dstH = (float)dst.getHeight(); in sampleTextureProjected() local
541 float ny = wy / dstH; in sampleTextureProjected()
545 float triWy = triNdx ? dstH - wy : wy; in sampleTextureProjected()
661 const float dstH = float(dstSize.y()); in sampleTextureCube() local
679 const float ny = wy / dstH; in sampleTextureCube()
691 const tcu::Vec3 coordDy (triDerivateY(triS[triNdx], triW[triNdx], wy, dstH, triNx), in sampleTextureCube()
692 triDerivateY(triT[triNdx], triW[triNdx], wy, dstH, triN in sampleTextureCube()
867 float dstH = (float)dst.getHeight(); sampleTextureProjected() local
937 const float dstH = (float)dst.getHeight(); sampleTextureCubeArray() local
1311 const float dstH = float(dstSize.y()); computeTextureLookupDiff() local
1427 const float dstH = float(dstSize.y()); computeTextureLookupDiff() local
1644 const float dstH = float(dstSize.y()); computeTextureLookupDiff() local
1841 const float dstH = float(dstSize.y()); computeTextureLookupDiff() local
2018 const float dstH = float(dstSize.y()); computeTextureLookupDiff() local
2126 const float dstH = float(dstSize.y()); computeTextureLookupDiff() local
2324 const float dstH = float(dstSize.y()); computeTextureLookupDiff() local
2504 const float dstH = float(dstSize.y()); computeTextureCompareDiff() local
2619 const float dstH = float(dstSize.y()); computeTextureCompareDiff() local
2743 const float dstH = float(dstSize.y()); computeTextureCompareDiff() local
2857 const float dstH = float(dstSize.y()); computeTextureCompareDiff() local
2963 const float dstH = float(dstSize.y()); computeTextureCompareDiff() local
3072 const float dstH = float(dstSize.y()); computeTextureCompareDiff() local
3184 const float dstH = float(dst.getHeight()); compareGenMipmapBilinear() local
3220 const float dstH = float(dst.getHeight()); compareGenMipmapBox() local
3257 const float dstH = float(dst.getHeight()); compareGenMipmapVeryLenient() local
[all...]
/third_party/ffmpeg/libswscale/
H A Dutils.c969 c->srcW && c->srcH && c->dstW && c->dstH) { in sws_setColorspaceDetails()
975 int dstH = c->dstH; in sws_setColorspaceDetails() local
993 if (srcW*srcH > dstW*dstH) { in sws_setColorspaceDetails()
995 tmp_height = dstH; in sws_setColorspaceDetails()
1022 dstW, dstH, c->dstFormat, in sws_setColorspaceDetails()
1302 int dstH = c->dstH; in sws_init_context() local
1327 unscaled = (srcW == dstW && srcH == dstH); in sws_init_context()
1379 if (dstW < srcW && dstH < src in sws_init_context()
2025 sws_alloc_set_opts(int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, const double *param) sws_alloc_set_opts() argument
2050 sws_getContext(int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param) sws_getContext() argument
2456 sws_getCachedContext(struct SwsContext *context, int srcW, int srcH, enum AVPixelFormat srcFormat, int dstW, int dstH, enum AVPixelFormat dstFormat, int flags, SwsFilter *srcFilter, SwsFilter *dstFilter, const double *param) sws_getCachedContext() argument
[all...]
H A Dswscale.c239 const int scale_dst = dstSliceY > 0 || dstSliceH < c->dstH; in swscale()
244 int dstH = c->dstH; in swscale() local
304 DEBUG_BUFFERS("srcSliceY: %d srcSliceH: %d dstY: %d dstH: %d\n", in swscale()
305 srcSliceY, srcSliceH, dstY, dstH); in swscale()
337 dstH = dstY + dstSliceH; in swscale()
376 for (; dstY < dstH; dstY++) { in swscale()
382 const int firstLumSrcY2 = FFMAX(1 - vLumFilterSize, vLumFilterPos[FFMIN(dstY | ((1 << c->chrDstVSubSample) - 1), c->dstH - 1)]); in swscale()
486 if (dstY >= c->dstH - 2) { in swscale()
842 c->cascaded1_tmp, c->cascaded1_tmpStride, 0, c->dstH); in scale_gamma()
[all...]
H A Dslice.c222 int dstH = c->dstH; in get_min_buffer_size() local
233 for (lumY = 0; lumY < dstH; lumY++) { in get_min_buffer_size()
234 int chrY = (int64_t)lumY * chrDstH / dstH; in get_min_buffer_size()
314 res = alloc_slice(&c->slice[i], c->dstFormat, c->dstH, c->chrDstH, c->chrDstHSubSample, c->chrDstVSubSample, 0); in ff_init_filters()
H A Dswscale.h180 * @param dstH the height of the destination image
194 int dstW, int dstH, enum AVPixelFormat dstFormat,
391 int dstW, int dstH, enum AVPixelFormat dstFormat,
H A Doptions.c57 { "dsth", "destination height", OFFSET(dstH), AV_OPT_TYPE_INT, { .i64 = 16 }, 1, INT_MAX, VE },
H A Dswscale_internal.h322 int dstH; ///< Height of destination luma/alpha planes. member
995 int dstW, int dstH, enum AVPixelFormat dstFormat,
H A Dswscale_unscaled.c1979 const int dstH = c->dstH; in ff_get_unscaled_swscale() local
2010 !(flags & SWS_ACCURATE_RND) && (c->dither == SWS_DITHER_BAYER || c->dither == SWS_DITHER_AUTO) && !(dstH & 1)) { in ff_get_unscaled_swscale()
2028 if (srcFormat == AV_PIX_FMT_YUV410P && !(dstH & 3) && in ff_get_unscaled_swscale()
/third_party/skia/src/core/
H A DSkMask.cpp66 // dstH = srcH + 2 * radiusY; in PrepareDestination()
67 size_t dstH = safe.add(src.fBounds.height(), safe.add(radiusY, radiusY)); in PrepareDestination() local
69 size_t toAlloc = safe.mul(dstW, dstH); in PrepareDestination()
72 if (!SkTFitsIn<int>(dstW) || !SkTFitsIn<int>(dstH) || toAlloc > INT_MAX || !safe) { in PrepareDestination()
78 dst.fBounds.setWH(SkTo<int>(dstW), SkTo<int>(dstH)); in PrepareDestination()
H A DSkMaskBlurFilter.cpp597 uint8_t* dst, size_t dstStride, int dstW, int dstH) {
606 for (int y = 0; y < dstH; y++) {
615 uint8_t* dst, size_t dstStride, int dstW, int dstH) {
619 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH);
623 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH);
627 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH);
631 blur_x_rect(blur_x_radius_4, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH);
911 dstH = dst->fBounds.height();
950 dst->fImage, dstRB, dstW, dstH);
985 dstH
[all...]
H A DSkScalerContext.cpp469 int dstH = srcH; in generateMask() local
483 dstW = 4*dstH - 8; in generateMask()
484 dstH = srcW; in generateMask()
508 clip.setRect(SkIRect::MakeWH(dstW, dstH)); in generateMask()
510 const SkImageInfo info = SkImageInfo::MakeA8(dstW, dstH); in generateMask()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DETC_Decoder.cpp677 bool ETC_Decoder::Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputType) in Decode() argument
693 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_R_SIGNED, true); in Decode()
705 ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_RG_SIGNED, true); in Decode()
716 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType == ETC_RGB_PUNCHTHROUGH_ALPHA); in Decode()
727 ETC2::DecodeBlock(&sources[0], &(alphaValues[0][0]), 1, x, y, dstW, dstH, 4, false, false); in Decode()
731 sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, false); in Decode()
H A DETC_Decoder.hpp35 /// @param dstH dst image height
40 static bool Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int dstBpp, InputType inputType);
H A DSurface.cpp3457 int dstH = dst->getHeight(); in copyCubeEdge() local
3459 ASSERT(srcW == srcH && dstW == dstH && srcW == dstW && srcBytes == dstBytes); in copyCubeEdge()
3467 int dstStart = ((dstEdge == BOTTOM) ? dstPitch * (dstH + 1) : ((dstEdge == RIGHT) ? dstBytes * (dstW + 1) : 0)) + (reverse ? dstW * -dstDelta : dstDelta); in copyCubeEdge()
3485 y0 = dstH; in copyCubeEdge()
3486 y1 = dstH - 1; in copyCubeEdge()
/third_party/skia/src/effects/imagefilters/
H A DSkBlurImageFilter.cpp711 dstH = dstBounds.height(); in copy_image_with_bounds() local
713 SkImageInfo dstInfo = SkImageInfo::Make(dstW, dstH, inputBM.colorType(), inputBM.alphaType()); in copy_image_with_bounds()
801 dstH = dstBounds.height(); in cpu_blur() local
803 SkImageInfo dstInfo = inputBM.info().makeWH(dstW, dstH); in cpu_blur()
/third_party/mesa3d/src/gallium/frontends/xa/
H A Dxa_renderer.c288 float dstW, float dstH, struct xa_surface *srf[]) in setup_vertex_data_yuv()
310 add_vertex_1tex(r, dstX + dstW, dstY + dstH, s1, t1); in setup_vertex_data_yuv()
312 add_vertex_1tex(r, dstX, dstY + dstH, s0, t1); in setup_vertex_data_yuv()
281 setup_vertex_data_yuv(struct xa_context *r, float srcX, float srcY, float srcW, float srcH, float dstX, float dstY, float dstW, float dstH, struct xa_surface *srf[]) setup_vertex_data_yuv() argument
/third_party/vk-gl-cts/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp67 float dstH = (float)dst.getHeight(); in renderReference() local
81 float ny = wy / dstH; in renderReference()
/third_party/vk-gl-cts/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp69 float dstH = (float)dst.getHeight(); in renderReference() local
83 float ny = wy / dstH; in renderReference()
/third_party/skia/third_party/externals/swiftshader/src/Device/
H A DBC_Decoder.cpp34 void decode(uint8_t *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, bool hasAlphaChannel, bool hasSeparateAlpha) const in decode()
53 for(int j = 0; j < BlockHeight && (y + j) < dstH; j++) in decode()
147 void decode(uint8_t *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, int channel, bool isSigned) const in decode()
179 for(int j = 0; j < BlockHeight && (y + j) < dstH; j++) in decode()
200 void decode(uint8_t *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp) const in decode()
203 for(int j = 0; j < BlockHeight && (y + j) < dstH; j++, dst += dstPitch) in decode()
/third_party/ffmpeg/libswscale/x86/
H A Dswscale.c68 const int dstH= c->dstH; in ff_updateMMXDitherTables() local
95 if (dstY < dstH - 2) { in ff_updateMMXDitherTables()
/third_party/node/deps/v8/src/codegen/arm/
H A Dassembler-arm.cc1784 void Assembler::smlal(Register dstL, Register dstH, Register src1, in smlal() argument
1786 DCHECK(dstL != pc && dstH != pc && src1 != pc && src2 != pc); in smlal()
1787 DCHECK(dstL != dstH); in smlal()
1788 emit(cond | B23 | B22 | A | s | dstH.code() * B16 | dstL.code() * B12 | in smlal()
1792 void Assembler::smull(Register dstL, Register dstH, Register src1, in smull() argument
1794 DCHECK(dstL != pc && dstH != pc && src1 != pc && src2 != pc); in smull()
1795 DCHECK(dstL != dstH); in smull()
1796 emit(cond | B23 | B22 | s | dstH.code() * B16 | dstL.code() * B12 | in smull()
1800 void Assembler::umlal(Register dstL, Register dstH, Register src1, in umlal() argument
1802 DCHECK(dstL != pc && dstH ! in umlal()
1808 umull(Register dstL, Register dstH, Register src1, Register src2, SBit s, Condition cond) umull() argument
[all...]
H A Dassembler-arm.h522 void smlal(Register dstL, Register dstH, Register src1, Register src2,
525 void smull(Register dstL, Register dstH, Register src1, Register src2,
528 void umlal(Register dstL, Register dstH, Register src1, Register src2,
531 void umull(Register dstL, Register dstH, Register src1, Register src2,
/third_party/vk-gl-cts/framework/opengl/simplereference/
H A DsglrReferenceContext.cpp3159 int dstH = de::abs(dstY1-dstY0);
3160 bool scale = srcW != dstW || srcH != dstH;
3166 IVec4 dstRect = IVec4(dstOriginX, dstOriginY, dstW, dstH);
3182 RC_IF_ERROR(srcW != dstW || srcH != dstH, GL_INVALID_OPERATION, RC_RET_VOID);

Completed in 52 milliseconds