Home
last modified time | relevance | path

Searched refs:stride (Results 1 – 13 of 13) sorted by relevance

/test/xts/hats/hdf/hdf_lite/display/
Dloadbmp_test.c115 uint8_t **outBuf, uint32_t *stride) in LoadPicToBuffer() argument
144 *stride = videoLogo->width * videoLogo->bpp; in LoadPicToBuffer()
146 if ((*stride % FOUR_BITS_PER_PIXEL) != 0) { in LoadPicToBuffer()
147 *stride = (*stride & 0xfffc) + FOUR_BITS_PER_PIXEL; in LoadPicToBuffer()
150 *outBuf = (uint8_t*)malloc(videoLogo->height * (*stride)); in LoadPicToBuffer()
157 byteNum = h * (*stride); in LoadPicToBuffer()
166 HDF_LOGE("%s: fread %u*%u error", __func__, h, *stride); in LoadPicToBuffer()
173 videoLogo->stride = videoLogo->width * FOUR_BITS_PER_PIXEL; in LoadPicToBuffer()
175 videoLogo->stride = videoLogo->width * TWO_BITS_PER_PIXEL; in LoadPicToBuffer()
181 static void LoadRgbData(OsdLogo *videoLogo, OsdColorFmt enFmt, uint32_t stride, uint8_t *origBuf) in LoadRgbData() argument
[all …]
Dloadbmp_test.h51 uint16_t stride; /* esurface stride */ member
58 uint32_t stride; /* in */ member
Ddisplay_test.c94 esurface->stride = SAMPLE_IMAGE_WIDTH * bpp / BITS_PER_BYTE; in PicSourceSurfaceInit()
107 esurface->stride = g_displayTest.displayInfo.width * bpp / BITS_PER_BYTE; in DestSurfaceInit()
/test/testfwk/arkxtest/uitest/addon/
Dscreen_copy.cpp279 const auto stride = scaledPixels->GetRowStride(); in WaitAndConsumeFrames() local
283 memAddr += stride; in WaitAndConsumeFrames()
/test/xts/acts/multimedia/image/image_js_standard/image/src/main/js/test/
Dimage.test.js600 stride: 8, property
657 stride: 8, property
711 stride: 8, property
755 stride: 8, property
799 stride: 8, property
842 stride: 8, property
883 stride: 8, property
895 stride: 8, property
951 stride: 8, property
962 stride: 8, property
/test/xts/acts/graphic/graphicnapitest/
DNativeImageTest.cpp323 int32_t stride = 0x8; variable
324 ret = NativeWindowHandleOpt(nativeWindow, code, stride);
/test/xts/acts/graphic/webGL/src/main/js/test/
DWebGL1.attribute.js58 let stride = gl.getVertexAttrib(attrib, gl.VERTEX_ATTRIB_ARRAY_STRIDE);
65 return {bufferBinding, size, enable, stride, type, normalized, vertex}
1680 expect(info.stride).assertEqual(FSIZE * 6);
1705 expect(info.stride).assertEqual(0);
1743 expect(info.stride).assertEqual(0);
1764 expect(info.stride).assertEqual(0);
1785 expect(info.stride).assertEqual(0);
1806 expect(info.stride).assertEqual(0);
1827 expect(info.stride).assertEqual(0);
1849 expect(info.stride).assertEqual(2);
/test/xts/acts/multimedia/image/image_js_standard/imagePixelMapFramework/src/main/js/test/
Dframework.test.js220 expect(imageInfo.stride == imageInfo.size.width * 4).assertTrue();
344 expect(imageInfo.size.width * 4 == imageInfo.stride, true).assertTrue();
347 … expect(imageInfo.size.width * 4 == imageInfo.stride, true).assertTrue();
349 … expect(imageInfo.size.width * 4 == imageInfo.stride, false).assertTrue();
/test/xts/hats/hdf/display/composer/common/
Ddisplay_test_utils.cpp182 int32_t position = y * handle.stride / PIXEL_BYTES + x; in SetPixel()
/test/ostest/wukong/common/src/
Dwukong_util.cpp56 auto stride = static_cast<uint32_t>(pixelMap->GetRowBytes()); in TakeWuKongScreenCap() local
80 png_write_row(pngStruct, data + (i * stride)); in TakeWuKongScreenCap()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp597 auto stride = static_cast<uint32_t>(pixelMap->GetRowBytes()); in TakeScreenCap() local
605 png_write_row(pngStruct, data + (column * stride)); in TakeScreenCap()
/test/xts/hats/hdf/display/buffer/moduletest/
Ddisplay_buffer_mt.cpp97 HDF_LOGD("stride =%{public}d", handle.stride); in DumpBufferHandle()
/test/xts/hats/hdf/display/buffer/moduletest_additional/
Ddisplay_buffer_mt.cpp88 HDF_LOGD("stride =%{public}d", handle.stride); in DumpBufferHandle()