Home
last modified time | relevance | path

Searched refs:imageSource (Results 1 – 25 of 673) sorted by relevance

12345678910>>...27

/dports/math/vtk8/VTK-8.2.0/IO/Image/Testing/Cxx/
H A DTestWriteToMemory.cxx37 vtkSmartPointer<vtkImageCanvasSource2D> imageSource = in TestWriteToMemory() local
39 imageSource->SetExtent(extent); in TestWriteToMemory()
40 imageSource->SetScalarTypeToUnsignedChar(); in TestWriteToMemory()
41 imageSource->SetNumberOfScalarComponents(3); in TestWriteToMemory()
42 imageSource->SetDrawColor(127, 45, 255); in TestWriteToMemory()
43 imageSource->FillBox(0, 99, 0, 99); in TestWriteToMemory()
44 imageSource->SetDrawColor(255,255,255); in TestWriteToMemory()
45 imageSource->FillBox(40, 70, 20, 50); in TestWriteToMemory()
46 imageSource->Update(); in TestWriteToMemory()
51 castFilter->SetInputConnection(imageSource->GetOutputPort()); in TestWriteToMemory()
/dports/math/vtk9/VTK-9.1.0/IO/Image/Testing/Cxx/
H A DTestWriteToMemory.cxx37 vtkSmartPointer<vtkImageCanvasSource2D> imageSource = in TestWriteToMemory() local
39 imageSource->SetExtent(extent); in TestWriteToMemory()
40 imageSource->SetScalarTypeToUnsignedChar(); in TestWriteToMemory()
41 imageSource->SetNumberOfScalarComponents(3); in TestWriteToMemory()
42 imageSource->SetDrawColor(127, 45, 255); in TestWriteToMemory()
43 imageSource->FillBox(0, 99, 0, 99); in TestWriteToMemory()
44 imageSource->SetDrawColor(255, 255, 255); in TestWriteToMemory()
45 imageSource->FillBox(40, 70, 20, 50); in TestWriteToMemory()
46 imageSource->Update(); in TestWriteToMemory()
50 castFilter->SetInputConnection(imageSource->GetOutputPort()); in TestWriteToMemory()
H A DTestWriteToUnicodeFile.cxx72 vtkSmartPointer<vtkImageCanvasSource2D> imageSource = in TestWriteToUnicodeFile() local
74 imageSource->SetExtent(extent); in TestWriteToUnicodeFile()
75 imageSource->SetScalarTypeToUnsignedChar(); in TestWriteToUnicodeFile()
76 imageSource->SetNumberOfScalarComponents(3); in TestWriteToUnicodeFile()
77 imageSource->SetDrawColor(127, 45, 255); in TestWriteToUnicodeFile()
78 imageSource->FillBox(0, 99, 0, 99); in TestWriteToUnicodeFile()
79 imageSource->SetDrawColor(255, 255, 255); in TestWriteToUnicodeFile()
80 imageSource->FillBox(40, 70, 20, 50); in TestWriteToUnicodeFile()
81 imageSource->Update(); in TestWriteToUnicodeFile()
85 filter->SetInputConnection(imageSource->GetOutputPort()); in TestWriteToUnicodeFile()
/dports/games/libretro-mgba/mgba-6186d45/src/platform/3ds/
H A Dmain.c256 if (!imageSource->cam) { in _resetCamera()
705 _resetCamera(imageSource); in _startRequestImage()
711 if (imageSource->bufferSize != w * h * 2 && imageSource->buffer) { in _startRequestImage()
712 free(imageSource->buffer); in _startRequestImage()
717 imageSource->buffer = malloc(imageSource->bufferSize); in _startRequestImage()
725 if (imageSource->cam) { in _startRequestImage()
726 …CAMU_SetReceiving(&imageSource->handles[0], imageSource->buffer, PORT_CAM1, imageSource->bufferSiz… in _startRequestImage()
733 free(imageSource->buffer); in _stopRequestImage()
746 if (!imageSource->cam) { in _requestImage()
747 memset(imageSource->buffer, 0, imageSource->bufferSize); in _requestImage()
[all …]
/dports/math/vtk8/VTK-8.2.0/Filters/FlowPaths/Testing/Cxx/
H A DTestParticleTracers.cxx248 vtkNew<TestTimeSource> imageSource; in TestParticlePathFilter() local
249 imageSource->SetBoundingBox(-1,1,-1,1,-1,1); in TestParticlePathFilter()
298 numRequestData = imageSource->GetNumRequestData(); in TestParticlePathFilter()
335 vtkNew<TestTimeSource> imageSource; in TestParticlePathFilterStartTime() local
336 imageSource->SetBoundingBox(-1,1,-1,1,-1,1); in TestParticlePathFilterStartTime()
367 vtkNew<TestTimeSource> imageSource; in TestStreaklineFilter() local
368 imageSource->SetBoundingBox(-1,1,-1,1,-1,1); in TestStreaklineFilter()
415 vtkNew<TestTimeSource> imageSource; in TestParticleTracers() local
416 imageSource->SetBoundingBox(-1,1,-1,1,-1,1); in TestParticleTracers()
451 numRequestData = imageSource->GetNumRequestData(); in TestParticleTracers()
[all …]
/dports/math/vtk9/VTK-9.1.0/Filters/FlowPaths/Testing/Cxx/
H A DTestParticleTracers.cxx236 vtkNew<TestTimeSource> imageSource; in TestParticlePathFilter() local
237 imageSource->SetBoundingBox(-1, 1, -1, 1, -1, 1); in TestParticlePathFilter()
285 numRequestData = imageSource->GetNumRequestData(); in TestParticlePathFilter()
321 vtkNew<TestTimeSource> imageSource; in TestParticlePathFilterStartTime() local
322 imageSource->SetBoundingBox(-1, 1, -1, 1, -1, 1); in TestParticlePathFilterStartTime()
354 vtkNew<TestTimeSource> imageSource; in TestStreaklineFilter() local
355 imageSource->SetBoundingBox(-1, 1, -1, 1, -1, 1); in TestStreaklineFilter()
402 vtkNew<TestTimeSource> imageSource; in TestParticleTracers() local
403 imageSource->SetBoundingBox(-1, 1, -1, 1, -1, 1); in TestParticleTracers()
439 numRequestData = imageSource->GetNumRequestData(); in TestParticleTracers()
[all …]
/dports/security/keybase/client-v5.7.1/shared/ios/Pods/SDWebImage/SDWebImage/Core/
H A DSDAnimatedImageRep.m43 if (!imageSource) {
46 _imageSource = imageSource;
47 NSUInteger frameCount = CGImageSourceGetCount(imageSource);
51 CFStringRef type = CGImageSourceGetType(imageSource);
59 NSUInteger loopCount = [SDImageGIFCoder imageLoopCountWithSource:imageSource];
66 NSUInteger loopCount = [SDImageAPNGCoder imageLoopCountWithSource:imageSource];
73 NSUInteger loopCount = [SDImageHEICCoder imageLoopCountWithSource:imageSource];
80 NSUInteger loopCount = [SDImageAWebPCoder imageLoopCountWithSource:imageSource];
92 CGImageSourceRef imageSource = _imageSource;
93 if (!imageSource) {
[all …]
/dports/emulators/mgba/mgba-0.9.2/src/platform/3ds/
H A Dmain.c268 if (!imageSource->cam) { in _resetCamera()
712 _resetCamera(imageSource); in _startRequestImage()
718 if (imageSource->bufferSize != w * h * 2 && imageSource->buffer) { in _startRequestImage()
719 free(imageSource->buffer); in _startRequestImage()
724 imageSource->buffer = malloc(imageSource->bufferSize); in _startRequestImage()
732 if (imageSource->cam) { in _startRequestImage()
733 …CAMU_SetReceiving(&imageSource->handles[0], imageSource->buffer, PORT_CAM1, imageSource->bufferSiz… in _startRequestImage()
740 free(imageSource->buffer); in _stopRequestImage()
753 if (!imageSource->cam) { in _requestImage()
754 memset(imageSource->buffer, 0, imageSource->bufferSize); in _requestImage()
[all …]
/dports/math/vtk6/VTK-6.2.0/Filters/FlowPaths/Testing/Cxx/
H A DTestParticleTracers.cxx251 vtkNew<TestTimeSource> imageSource; in TestParticlePathFilter() local
252 imageSource->SetBoundingBox(-1,1,-1,1,-1,1); in TestParticlePathFilter()
300 numRequestData = imageSource->GetNumRequestData(); in TestParticlePathFilter()
338 vtkNew<TestTimeSource> imageSource; in TestStreaklineFilter() local
339 imageSource->SetBoundingBox(-1,1,-1,1,-1,1); in TestStreaklineFilter()
386 vtkNew<TestTimeSource> imageSource; in TestParticleTracers() local
387 imageSource->SetBoundingBox(-1,1,-1,1,-1,1); in TestParticleTracers()
422 numRequestData = imageSource->GetNumRequestData(); in TestParticleTracers()
433 numRequestData = imageSource->GetNumRequestData(); in TestParticleTracers()
441 numRequestData = imageSource->GetNumRequestData(); in TestParticleTracers()
[all …]
/dports/graphics/tiled/tiled-1.7.2/src/tiled/
H A Dchangetileimagesource.cpp33 const QUrl &imageSource) in ChangeTileImageSource() argument
36 , mOldImageSource(tile->imageSource()) in ChangeTileImageSource()
37 , mNewImageSource(imageSource) in ChangeTileImageSource()
43 void ChangeTileImageSource::apply(const QUrl &imageSource) in apply() argument
47 ImageCache::loadPixmap(imageSource.toLocalFile()), in apply()
48 imageSource); in apply()
H A Deditableimagelayer.cpp45 imageSource())); in setTransparentColor()
48 if (!imageSource().isEmpty()) in setTransparentColor()
49 imageLayer()->loadFromImage(imageSource()); in setTransparentColor()
53 void EditableImageLayer::setImageSource(const QUrl &imageSource) in setImageSource() argument
59 imageSource)); in setImageSource()
61 if (imageSource.isEmpty()) in setImageSource()
64 imageLayer()->loadFromImage(imageSource); in setImageSource()
H A Deditableimagelayer.h35 Q_PROPERTY(QUrl imageSource READ imageSource WRITE setImageSource)
46 const QUrl &imageSource() const;
49 void setImageSource(const QUrl &imageSource);
63 inline const QUrl &EditableImageLayer::imageSource() const in imageSource() function
65 return imageLayer()->imageSource(); in imageSource()
/dports/math/vtk9/VTK-9.1.0/Rendering/Core/Testing/Cxx/
H A DTestTranslucentLUTAlphaBlending.cxx52 vtkImageSinusoidSource* imageSource = vtkImageSinusoidSource::New(); in TestTranslucentLUTAlphaBlending() local
53 imageSource->SetWholeExtent(0, 9, 0, 9, 0, 9); in TestTranslucentLUTAlphaBlending()
54 imageSource->SetPeriod(5); in TestTranslucentLUTAlphaBlending()
55 imageSource->Update(); in TestTranslucentLUTAlphaBlending()
57 vtkImageData* image = imageSource->GetOutput(); in TestTranslucentLUTAlphaBlending()
63 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTAlphaBlending()
64 imageSource->Delete(); in TestTranslucentLUTAlphaBlending()
H A DTestTranslucentLUTTextureAlphaBlending.cxx53 vtkImageSinusoidSource* imageSource = vtkImageSinusoidSource::New(); in TestTranslucentLUTTextureAlphaBlending() local
54 imageSource->SetWholeExtent(0, 9, 0, 9, 0, 9); in TestTranslucentLUTTextureAlphaBlending()
55 imageSource->SetPeriod(5); in TestTranslucentLUTTextureAlphaBlending()
56 imageSource->Update(); in TestTranslucentLUTTextureAlphaBlending()
58 vtkImageData* image = imageSource->GetOutput(); in TestTranslucentLUTTextureAlphaBlending()
64 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTTextureAlphaBlending()
65 imageSource->Delete(); in TestTranslucentLUTTextureAlphaBlending()
H A DTestTranslucentLUTDepthPeeling.cxx55 vtkImageSinusoidSource* imageSource = vtkImageSinusoidSource::New(); in TestTranslucentLUTDepthPeeling() local
56 imageSource->SetWholeExtent(0, 9, 0, 9, 0, 9); in TestTranslucentLUTDepthPeeling()
57 imageSource->SetPeriod(5); in TestTranslucentLUTDepthPeeling()
58 imageSource->Update(); in TestTranslucentLUTDepthPeeling()
60 vtkImageData* image = imageSource->GetOutput(); in TestTranslucentLUTDepthPeeling()
66 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTDepthPeeling()
67 imageSource->Delete(); in TestTranslucentLUTDepthPeeling()
/dports/math/vtk8/VTK-8.2.0/Rendering/Core/Testing/Cxx/
H A DTestTranslucentLUTAlphaBlending.cxx52 vtkImageSinusoidSource *imageSource=vtkImageSinusoidSource::New(); in TestTranslucentLUTAlphaBlending() local
53 imageSource->SetWholeExtent(0,9,0,9,0,9); in TestTranslucentLUTAlphaBlending()
54 imageSource->SetPeriod(5); in TestTranslucentLUTAlphaBlending()
55 imageSource->Update(); in TestTranslucentLUTAlphaBlending()
57 vtkImageData *image=imageSource->GetOutput(); in TestTranslucentLUTAlphaBlending()
63 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTAlphaBlending()
64 imageSource->Delete(); in TestTranslucentLUTAlphaBlending()
H A DTestTranslucentLUTTextureAlphaBlending.cxx53 vtkImageSinusoidSource *imageSource=vtkImageSinusoidSource::New(); in TestTranslucentLUTTextureAlphaBlending() local
54 imageSource->SetWholeExtent(0,9,0,9,0,9); in TestTranslucentLUTTextureAlphaBlending()
55 imageSource->SetPeriod(5); in TestTranslucentLUTTextureAlphaBlending()
56 imageSource->Update(); in TestTranslucentLUTTextureAlphaBlending()
58 vtkImageData *image=imageSource->GetOutput(); in TestTranslucentLUTTextureAlphaBlending()
64 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTTextureAlphaBlending()
65 imageSource->Delete(); in TestTranslucentLUTTextureAlphaBlending()
H A DTestTranslucentLUTDepthPeeling.cxx55 vtkImageSinusoidSource *imageSource=vtkImageSinusoidSource::New(); in TestTranslucentLUTDepthPeeling() local
56 imageSource->SetWholeExtent(0,9,0,9,0,9); in TestTranslucentLUTDepthPeeling()
57 imageSource->SetPeriod(5); in TestTranslucentLUTDepthPeeling()
58 imageSource->Update(); in TestTranslucentLUTDepthPeeling()
60 vtkImageData *image=imageSource->GetOutput(); in TestTranslucentLUTDepthPeeling()
66 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTDepthPeeling()
67 imageSource->Delete(); in TestTranslucentLUTDepthPeeling()
/dports/math/vtk6/VTK-6.2.0/Rendering/Core/Testing/Cxx/
H A DTestTranslucentLUTAlphaBlending.cxx52 vtkImageSinusoidSource *imageSource=vtkImageSinusoidSource::New(); in TestTranslucentLUTAlphaBlending() local
53 imageSource->SetWholeExtent(0,9,0,9,0,9); in TestTranslucentLUTAlphaBlending()
54 imageSource->SetPeriod(5); in TestTranslucentLUTAlphaBlending()
55 imageSource->Update(); in TestTranslucentLUTAlphaBlending()
57 vtkImageData *image=imageSource->GetOutput(); in TestTranslucentLUTAlphaBlending()
63 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTAlphaBlending()
64 imageSource->Delete(); in TestTranslucentLUTAlphaBlending()
H A DTestTranslucentLUTTextureAlphaBlending.cxx53 vtkImageSinusoidSource *imageSource=vtkImageSinusoidSource::New(); in TestTranslucentLUTTextureAlphaBlending() local
54 imageSource->SetWholeExtent(0,9,0,9,0,9); in TestTranslucentLUTTextureAlphaBlending()
55 imageSource->SetPeriod(5); in TestTranslucentLUTTextureAlphaBlending()
56 imageSource->Update(); in TestTranslucentLUTTextureAlphaBlending()
58 vtkImageData *image=imageSource->GetOutput(); in TestTranslucentLUTTextureAlphaBlending()
64 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTTextureAlphaBlending()
65 imageSource->Delete(); in TestTranslucentLUTTextureAlphaBlending()
H A DTestTranslucentLUTDepthPeeling.cxx55 vtkImageSinusoidSource *imageSource=vtkImageSinusoidSource::New(); in TestTranslucentLUTDepthPeeling() local
56 imageSource->SetWholeExtent(0,9,0,9,0,9); in TestTranslucentLUTDepthPeeling()
57 imageSource->SetPeriod(5); in TestTranslucentLUTDepthPeeling()
58 imageSource->Update(); in TestTranslucentLUTDepthPeeling()
60 vtkImageData *image=imageSource->GetOutput(); in TestTranslucentLUTDepthPeeling()
66 surface->SetInputConnection(imageSource->GetOutputPort()); in TestTranslucentLUTDepthPeeling()
67 imageSource->Delete(); in TestTranslucentLUTDepthPeeling()
/dports/emulators/mgba/mgba-0.9.2/src/platform/psp2/
H A Dpsp2-context.c173 if (!imageSource->cam) { in _resetCamera()
184 .pIBase = imageSource->buffer, in _resetCamera()
186 sceCameraStart(imageSource->cam - 1); in _resetCamera()
193 if (!imageSource->buffer) { in _startRequestImage()
195 sceKernelGetMemBlockBase(imageSource->memblock, &imageSource->buffer); in _startRequestImage()
198 if (!imageSource->cam) { in _startRequestImage()
202 _resetCamera(imageSource); in _startRequestImage()
214 if (imageSource->cam) { in _stopRequestImage()
219 imageSource->buffer = NULL; in _stopRequestImage()
226 if (!imageSource->cam) { in _requestImage()
[all …]
/dports/games/libretro-mgba/mgba-6186d45/src/platform/psp2/
H A Dpsp2-context.c173 if (!imageSource->cam) { in _resetCamera()
184 .pIBase = imageSource->buffer, in _resetCamera()
186 sceCameraStart(imageSource->cam - 1); in _resetCamera()
193 if (!imageSource->buffer) { in _startRequestImage()
195 sceKernelGetMemBlockBase(imageSource->memblock, &imageSource->buffer); in _startRequestImage()
198 if (!imageSource->cam) { in _startRequestImage()
202 _resetCamera(imageSource); in _startRequestImage()
214 if (imageSource->cam) { in _stopRequestImage()
219 imageSource->buffer = NULL; in _stopRequestImage()
226 if (!imageSource->cam) { in _requestImage()
[all …]
/dports/math/vtk6/VTK-6.2.0/Common/ExecutionModel/Testing/Cxx/
H A DTestTemporalSupport.cxx228 vtkNew<TestTimeSource> imageSource; in TestTimeDependentInformationExecution() local
229 imageSource->SetHasTimeDependentData(hasTemporalMeta); in TestTimeDependentInformationExecution()
233 filter->SetInputConnection(imageSource->GetOutputPort()); in TestTimeDependentInformationExecution()
238 CHECK(imageSource->GetNumRequestData()==1, numErrors); in TestTimeDependentInformationExecution()
239 CHECK(imageSource->GetNumRequestInformation()==1, numErrors); in TestTimeDependentInformationExecution()
240 CHECK(imageSource->GetNumRequestUpdateExtent()==1, numErrors); in TestTimeDependentInformationExecution()
243 CHECK(imageSource->GetNumRequestTimeDependentInformation()==1, numErrors); in TestTimeDependentInformationExecution()
248 CHECK(imageSource->GetNumRequestTimeDependentInformation()==0, numErrors); in TestTimeDependentInformationExecution()
264 vtkSmartPointer<TestTimeSource> imageSource = vtkSmartPointer<TestTimeSource>::New(); in TestContinueExecution() local
266 filter->SetInputConnection(imageSource->GetOutputPort()); in TestContinueExecution()
[all …]
/dports/math/vtk8/VTK-8.2.0/Common/ExecutionModel/Testing/Cxx/
H A DTestTemporalSupport.cxx228 vtkNew<TestTimeSource> imageSource; in TestTimeDependentInformationExecution() local
229 imageSource->SetHasTimeDependentData(hasTemporalMeta); in TestTimeDependentInformationExecution()
233 filter->SetInputConnection(imageSource->GetOutputPort()); in TestTimeDependentInformationExecution()
238 CHECK(imageSource->GetNumRequestData()==1, numErrors); in TestTimeDependentInformationExecution()
239 CHECK(imageSource->GetNumRequestInformation()==1, numErrors); in TestTimeDependentInformationExecution()
240 CHECK(imageSource->GetNumRequestUpdateExtent()==1, numErrors); in TestTimeDependentInformationExecution()
243 CHECK(imageSource->GetNumRequestTimeDependentInformation()==1, numErrors); in TestTimeDependentInformationExecution()
248 CHECK(imageSource->GetNumRequestTimeDependentInformation()==0, numErrors); in TestTimeDependentInformationExecution()
264 vtkSmartPointer<TestTimeSource> imageSource = vtkSmartPointer<TestTimeSource>::New(); in TestContinueExecution() local
266 filter->SetInputConnection(imageSource->GetOutputPort()); in TestContinueExecution()
[all …]

12345678910>>...27