/third_party/ffmpeg/libswscale/tests/ |
D | swscale.c | 85 int srcW, int srcH, int dstW, int dstH, int flags, in doTest() argument 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[j], flags[k], in selfTest() [all …]
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.cpp | 482 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, triNx), in sampleTextureCube() [all …]
|
/third_party/ffmpeg/libswscale/ |
D | utils.c | 969 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 < srcH) in sws_init_context() 1381 else if (dstW > srcW && dstH > srcH) in sws_init_context() 1392 if (srcW < 1 || srcH < 1 || dstW < 1 || dstH < 1) { in sws_init_context() [all …]
|
D | swscale.c | 239 const int scale_dst = dstSliceY > 0 || dstSliceH < c->dstH; in swscale() 244 int dstH = c->dstH; in swscale() local 305 srcSliceY, srcSliceH, dstY, dstH); in swscale() 337 dstH = dstY + dstSliceH; in swscale() 376 for (; dstY < dstH; dstY++) { in swscale() 382 …AX(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() 869 0, c->cascaded_context[0]->dstH); in scale_cascaded() 874 0, c->cascaded_context[0]->dstH, in scale_cascaded() [all …]
|
D | slice.c | 222 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->chrDstV… in ff_init_filters()
|
D | swscale.h | 194 int dstW, int dstH, enum AVPixelFormat dstFormat, 391 int dstW, int dstH, enum AVPixelFormat dstFormat,
|
D | options.c | 57 …{ "dsth", "destination height", OFFSET(dstH), AV_OPT_TYPE_INT, { .i6…
|
D | swscale_internal.h | 322 int dstH; ///< Height of destination luma/alpha planes. member 995 int dstW, int dstH, enum AVPixelFormat dstFormat,
|
D | swscale_unscaled.c | 1979 const int dstH = c->dstH; in ff_get_unscaled_swscale() local 2010 …_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/ |
D | SkMask.cpp | 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()
|
D | SkMaskBlurFilter.cpp | 597 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in blur_x_rect() argument 606 for (int y = 0; y < dstH; y++) { in blur_x_rect() 615 uint8_t* dst, size_t dstStride, int dstW, int dstH) { in direct_blur_x() argument 619 blur_x_rect(blur_x_radius_1, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 623 blur_x_rect(blur_x_radius_2, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 627 blur_x_rect(blur_x_radius_3, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 631 blur_x_rect(blur_x_radius_4, gauss, src, srcStride, srcW, dst, dstStride, dstW, dstH); in direct_blur_x() 911 dstH = dst->fBounds.height(); in small_blur() local 950 dst->fImage, dstRB, dstW, dstH); in small_blur() 985 dstH = dst->fBounds.height(); in blur() local [all …]
|
D | SkScalerContext.cpp | 469 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/ |
D | ETC_Decoder.cpp | 677 …const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH, int dstPitch, int … in Decode() argument 693 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 1, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 705 …ETC2::DecodeBlock(sources, dstRow + (x * dstBpp), 2, x, y, dstW, dstH, dstPitch, inputType == ETC_… in Decode() 716 …sources[0]->decodeBlock(dstRow + (x * dstBpp), x, y, dstW, dstH, dstPitch, alphaValues, inputType … 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()
|
D | ETC_Decoder.hpp | 40 …static bool Decode(const unsigned char* src, unsigned char *dst, int w, int h, int dstW, int dstH,…
|
D | Surface.cpp | 3457 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 * (ds… in copyCubeEdge() 3485 y0 = dstH; in copyCubeEdge() 3486 y1 = dstH - 1; in copyCubeEdge()
|
/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aVaryingInterpolationTests.cpp | 69 float dstH = (float)dst.getHeight(); in renderReference() local 83 float ny = wy / dstH; in renderReference()
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aVaryingInterpolationTests.cpp | 67 float dstH = (float)dst.getHeight(); in renderReference() local 81 float ny = wy / dstH; in renderReference()
|
/third_party/mesa3d/src/gallium/frontends/xa/ |
D | xa_renderer.c | 288 float dstW, float dstH, struct xa_surface *srf[]) in setup_vertex_data_yuv() argument 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()
|
/third_party/skia/src/effects/imagefilters/ |
D | SkBlurImageFilter.cpp | 711 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/skia/third_party/externals/swiftshader/src/Device/ |
D | BC_Decoder.cpp | 34 …void decode(uint8_t *dst, int x, int y, int dstW, int dstH, int dstPitch, int dstBpp, bool hasAlph… 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,… 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/ |
D | swscale.c | 68 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/ |
D | assembler-arm.cc | 1784 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 != pc && src1 != pc && src2 != pc); in umlal() [all …]
|
D | assembler-arm.h | 522 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/ |
D | sglrReferenceContext.cpp | 3159 int dstH = de::abs(dstY1-dstY0); in blitFramebuffer() local 3160 bool scale = srcW != dstW || srcH != dstH; in blitFramebuffer() 3166 IVec4 dstRect = IVec4(dstOriginX, dstOriginY, dstW, dstH); in blitFramebuffer() 3182 RC_IF_ERROR(srcW != dstW || srcH != dstH, GL_INVALID_OPERATION, RC_RET_VOID); in blitFramebuffer()
|