Home
last modified time | relevance | path

Searched refs:planeIdx (Results 1 – 12 of 12) sorted by relevance

/external/OpenCL-CTS/test_conformance/extensions/cl_khr_dx9_media_sharing/
Dtest_memory_access.cpp138 for (unsigned int planeIdx = 0; planeIdx < planesNum; ++planeIdx) in memory_access() local
140 planesList[planeIdx] = clCreateFromDX9MediaSurfaceKHR( in memory_access()
141 ctx, CL_MEM_WRITE_ONLY, adapterType, &surfaceInfo, planeIdx, in memory_access()
147 planeIdx, IGetErrorString(error)); in memory_access()
151 memObjList.push_back(planesList[planeIdx]); in memory_access()
224 for (unsigned int planeIdx = 0; planeIdx < planesNum; ++planeIdx) in memory_access() local
226 planesList[planeIdx] = clCreateFromDX9MediaSurfaceKHR( in memory_access()
227 ctx, CL_MEM_READ_ONLY, adapterType, &surfaceInfo, planeIdx, in memory_access()
233 planeIdx, IGetErrorString(error)); in memory_access()
237 memObjList.push_back(planesList[planeIdx]); in memory_access()
[all …]
Dutils.cpp812 for (unsigned planeIdx = 0; planeIdx < channelNum; ++planeIdx) in DataCompare() local
814 if (abs(dataTest.at(offset + j * channelNum + planeIdx) in DataCompare()
815 - dataExp.at(offset + j * channelNum + planeIdx)) in DataCompare()
821 j, i, planeIdx, in DataCompare()
822 dataTest[offset + j * channelNum + planeIdx], in DataCompare()
823 dataExp[offset + j * channelNum + planeIdx]); in DataCompare()
847 for (unsigned planeIdx = 0; planeIdx < channelNum; in DataCompare() local
848 ++planeIdx) in DataCompare()
851 dataTest.at(offset + j * channelNum + planeIdx)); in DataCompare()
853 dataExp.at(offset + j * channelNum + planeIdx)); in DataCompare()
[all …]
Dtest_functions_kernel.cpp170 for (unsigned int planeIdx = 0; planeIdx < planesNum; ++planeIdx) in kernel_functions() local
172 planeSrcList[planeIdx] = clCreateFromDX9MediaSurfaceKHR( in kernel_functions()
173 ctx, CL_MEM_READ_WRITE, adapterType, &surfaceInfoSrc, planeIdx, in kernel_functions()
179 planeIdx, IGetErrorString(error)); in kernel_functions()
183 memObjSrcList.push_back(planeSrcList[planeIdx]); in kernel_functions()
185 planeDstList[planeIdx] = clCreateFromDX9MediaSurfaceKHR( in kernel_functions()
186 ctx, CL_MEM_READ_WRITE, adapterType, &surfaceInfoDst, planeIdx, in kernel_functions()
192 planeIdx, IGetErrorString(error)); in kernel_functions()
196 memObjDstList.push_back(planeDstList[planeIdx]); in kernel_functions()
Dtest_create_context.cpp139 for (unsigned int planeIdx = 0; planeIdx < planesNum; ++planeIdx) in context_create() local
141 planesList[planeIdx] = clCreateFromDX9MediaSurfaceKHR( in context_create()
142 ctx, CL_MEM_READ_WRITE, adapterType, &surfaceInfo, planeIdx, in context_create()
148 planeIdx, IGetErrorString(error)); in context_create()
152 memObjList.push_back(planesList[planeIdx]); in context_create()
Dtest_interop_sync.cpp146 for (unsigned int planeIdx = 0; planeIdx < planesNum; ++planeIdx) in interop_user_sync() local
148 planesList[planeIdx] = clCreateFromDX9MediaSurfaceKHR( in interop_user_sync()
149 ctx, CL_MEM_READ_WRITE, adapterType, &surfaceInfo, planeIdx, in interop_user_sync()
155 planeIdx, IGetErrorString(error)); in interop_user_sync()
159 memObjList.push_back(planesList[planeIdx]); in interop_user_sync()
Dtest_functions_api.cpp134 for (unsigned int planeIdx = 0; planeIdx < planesNum; ++planeIdx) in api_functions() local
136 planesList[planeIdx] = clCreateFromDX9MediaSurfaceKHR( in api_functions()
137 ctx, CL_MEM_READ_WRITE, adapterType, &surfaceInfo, planeIdx, in api_functions()
143 planeIdx, IGetErrorString(error)); in api_functions()
147 memObjList.push_back(planesList[planeIdx]); in api_functions()
/external/skia/src/core/
DSkYUVAInfo.cpp42 int planeIdx) { in PlaneSubsamplingFactors() argument
44 planeIdx < 0 || in PlaneSubsamplingFactors()
45 planeIdx > NumPlanes(planeConfig)) { in PlaneSubsamplingFactors()
56 isSubsampledPlane = planeIdx == 1 || planeIdx == 2; in PlaneSubsamplingFactors()
63 isSubsampledPlane = planeIdx == 1; in PlaneSubsamplingFactors()
/external/skia/src/gpu/effects/
DGrYUVtoRGBEffect.cpp247 for (int planeIdx = 0; planeIdx < numPlanes; ++planeIdx) { in onMakeProgramImpl() local
252 if (yuvPlane == planeIdx) { in onMakeProgramImpl()
263 this->invokeChild(planeIdx, args, sampleCoords).c_str(), in onMakeProgramImpl()
/external/skia/include/core/
DSkYUVAInfo.h104 static std::tuple<int, int> PlaneSubsamplingFactors(PlaneConfig, Subsampling, int planeIdx);
159 std::tuple<int, int> planeSubsamplingFactors(int planeIdx) const { in planeSubsamplingFactors() argument
160 return PlaneSubsamplingFactors(fPlaneConfig, fSubsampling, planeIdx); in planeSubsamplingFactors()
/external/angle/src/tests/gl_tests/
DImageTest.cpp509 for (size_t planeIdx = 0; planeIdx < data.size(); planeIdx++) in writeAHBData() local
511 const AHBPlaneData &planeData = data[planeIdx]; in writeAHBData()
512 const AHardwareBuffer_Plane &plane = planeInfo.planes[planeIdx]; in writeAHBData()
514 size_t planeHeight = (isYUV && planeIdx > 0) ? (height / 2) : height; in writeAHBData()
515 size_t planeWidth = (isYUV && planeIdx > 0) ? (width / 2) : width; in writeAHBData()
781 for (size_t planeIdx = 0; planeIdx < data.size(); planeIdx++) in verifyResultAHB() local
783 const AHBPlaneData &planeData = data[planeIdx]; in verifyResultAHB()
784 const AHardwareBuffer_Plane &plane = planeInfo.planes[planeIdx]; in verifyResultAHB()
786 size_t planeHeight = (isYUV && planeIdx > 0) ? (height / 2) : height; in verifyResultAHB()
787 size_t planeWidth = (isYUV && planeIdx > 0) ? (width / 2) : width; in verifyResultAHB()
[all …]
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_runtime_11_2.inc977 cudaArray_t *pPlaneArray, cudaArray_t hArray, unsigned int planeIdx) {
982 return func_ptr(pPlaneArray, hArray, planeIdx);
Dcuda_11_2.inc930 unsigned int planeIdx) {
934 return func_ptr(pPlaneArray, hArray, planeIdx);