Searched refs:bytesPerElement (Results 1 – 5 of 5) sorted by relevance
/external/skia/experimental/tskit/interface/ |
D | memory.ts | 13 const bytesPerElement = Module[dest].BYTES_PER_ELEMENT; constant 14 ptr ||= Module._malloc(arr.length * bytesPerElement); 15 Module[dest].set(arr, ptr / bytesPerElement);
|
/external/skia/modules/canvaskit/ |
D | memory.js | 129 var bytesPerElement = CanvasKit[dest].BYTES_PER_ELEMENT; 131 ptr = CanvasKit._malloc(arr.length * bytesPerElement); 145 CanvasKit[dest].set(arr, ptr / bytesPerElement);
|
/external/v4l2_codec2/common/ |
D | VideoPixelFormat.cpp | 250 return android::ui::Size(bytesPerElement(format, plane) * width / subsample.width, in planeSize() 256 const int bitsPerElement = 8 * bytesPerElement(format, plane); in planeHorizontalBitsPerPixel() 267 int bytesPerElement(VideoPixelFormat format, size_t plane) { in bytesPerElement() function
|
/external/v4l2_codec2/common/include/v4l2_codec2/common/ |
D | VideoPixelFormat.h | 79 int bytesPerElement(VideoPixelFormat format, size_t plane);
|
/external/angle/src/tests/egl_tests/ |
D | EGLIOSurfaceClientBufferTest.cpp | 81 int bytesPerElement; member 105 AddIntegerValue(planeInfo, kIOSurfacePlaneBytesPerElement, plane.bytesPerElement); in CreateIOSurface() 116 AddIntegerValue(dict, kIOSurfaceBytesPerElement, planes[0].bytesPerElement); in CreateIOSurface() 129 int bytesPerElement) in CreateSinglePlaneIOSurface() argument 131 std::vector<IOSurfacePlaneInfo> planes{{width, height, bytesPerElement}}; in CreateSinglePlaneIOSurface()
|