Home
last modified time | relevance | path

Searched refs:VideoBuffer (Results 1 – 25 of 67) sorted by relevance

123

/dports/games/powder-toy/The-Powder-Toy-95.0/src/
H A DFormat.h6 class VideoBuffer; variable
16 std::vector<char> VideoBufferToPNG(const VideoBuffer & vidBuf);
17 std::vector<char> VideoBufferToBMP(const VideoBuffer & vidBuf);
18 std::vector<char> VideoBufferToPPM(const VideoBuffer & vidBuf);
19 std::vector<char> VideoBufferToPTI(const VideoBuffer & vidBuf);
20 VideoBuffer * PTIToVideoBuffer(std::vector<char> & data);
H A DFormat.cpp127 std::vector<char> format::VideoBufferToPTI(const VideoBuffer & vidBuf) in VideoBufferToPTI()
142 VideoBuffer * format::PTIToVideoBuffer(std::vector<char> & data) in PTIToVideoBuffer()
150 VideoBuffer * vb = new VideoBuffer(buffer, newWidth, newHeight); in PTIToVideoBuffer()
157 std::vector<char> format::VideoBufferToBMP(const VideoBuffer & vidBuf) in VideoBufferToBMP()
198 std::vector<char> format::VideoBufferToPPM(const VideoBuffer & vidBuf) in VideoBufferToPPM()
268 std::vector<char> format::VideoBufferToPNG(const VideoBuffer & vidBuf) in VideoBufferToPNG()
/dports/games/powder-toy/The-Powder-Toy-95.0/src/client/http/
H A DImageRequest.cpp20 std::unique_ptr<VideoBuffer> ImageRequest::Finish() in Finish()
28 std::unique_ptr<VideoBuffer> vb; in Finish()
35 vb = std::unique_ptr<VideoBuffer>(new VideoBuffer(imageData, imgw, imgh)); in Finish()
40 vb = std::unique_ptr<VideoBuffer>(new VideoBuffer(32, 32)); in Finish()
H A DImageRequest.h9 class VideoBuffer; variable
21 std::unique_ptr<VideoBuffer> Finish();
/dports/games/powder-toy/The-Powder-Toy-95.0/src/graphics/
H A DGraphics.h14 class VideoBuffer
20 VideoBuffer(const VideoBuffer & old);
21 VideoBuffer(VideoBuffer * old);
22 VideoBuffer(pixel * buffer, int width, int height);
23 VideoBuffer(int width, int height);
87 ~VideoBuffer();
124 VideoBuffer DumpFrame();
153 void draw_image(const VideoBuffer & vidBuf, int x, int y, int a);
154 void draw_image(VideoBuffer * vidBuf, int x, int y, int a);
H A DGraphics.cpp14 VideoBuffer::VideoBuffer(int width, int height): in VideoBuffer() function in VideoBuffer
22 VideoBuffer::VideoBuffer(const VideoBuffer & old): in VideoBuffer() function in VideoBuffer
30 VideoBuffer::VideoBuffer(VideoBuffer * old): in VideoBuffer() function in VideoBuffer
38 VideoBuffer::VideoBuffer(pixel * buffer, int width, int height): in VideoBuffer() function in VideoBuffer
46 void VideoBuffer::Resize(float factor, bool resample) in Resize()
53 void VideoBuffer::Resize(int width, int height, bool resample, bool fixedRatio) in Resize()
89 int VideoBuffer::SetCharacter(int x, int y, String::value_type c, int r, int g, int b, int a) in SetCharacter()
107 int VideoBuffer::AddCharacter(int x, int y, String::value_type c, int r, int g, int b, int a) in AddCharacter()
116 VideoBuffer::~VideoBuffer() in ~VideoBuffer()
1062 VideoBuffer Graphics::DumpFrame() in DumpFrame()
[all …]
/dports/games/powder-toy/The-Powder-Toy-95.0/src/simulation/
H A DSaveRenderer.cpp36 VideoBuffer * SaveRenderer::Render(GameSave * save, bool decorations, bool fire) in Render()
41 VideoBuffer * tempThumb = NULL; in Render()
109 tempThumb = new VideoBuffer(pData, width*CELL, height*CELL); in Render()
144 tempThumb = new VideoBuffer(pData, width*CELL, height*CELL); in Render()
154 VideoBuffer * SaveRenderer::Render(unsigned char * saveData, int dataSize, bool decorations, bool f… in Render()
164 VideoBuffer * buffer = new VideoBuffer(64, 64); in Render()
169 VideoBuffer * thumb = Render(tempSave, decorations, fire); in Render()
H A DSaveRenderer.h10 class VideoBuffer; variable
22 VideoBuffer * Render(GameSave * save, bool decorations = true, bool fire = true);
23VideoBuffer * Render(unsigned char * saveData, int saveDataSize, bool decorations = true, bool fir…
H A DWallType.h6 class VideoBuffer; variable
13 VideoBuffer * (*textureGen)(int, int, int);
H A DElement.h11 class VideoBuffer; variable
62 VideoBuffer * (*IconGenerator)(int, int, int);
/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/game/
H A DTool.h10 class VideoBuffer; variable
15 VideoBuffer * (*textureGen)(int, int, int);
25 … name, String description, int r, int g, int b, ByteString identifier, VideoBuffer * (*textureGen)…
33 VideoBuffer * GetTexture(int width, int height);
34 void SetTextureGen(VideoBuffer * (*textureGen)(int, int, int));
54 static VideoBuffer * GetIcon(int toolID, int width, int height);
72 static VideoBuffer * GetIcon(int toolID, int width, int height);
107 … name, String description, int r, int g, int b, ByteString identifier, VideoBuffer * (*textureGen)…
142 … name, String description, int r, int g, int b, ByteString identifier, VideoBuffer * (*textureGen)…
156 … name, String description, int r, int g, int b, ByteString identifier, VideoBuffer * (*textureGen)…
[all …]
H A DSampleTool.cpp14 VideoBuffer * SampleTool::GetIcon(int toolID, int width, int height) in GetIcon()
16 VideoBuffer * newTexture = new VideoBuffer(width, height); in GetIcon()
H A DTool.cpp9 … name, String description, int r, int g, int b, ByteString identifier, VideoBuffer * (*textureGen)… in Tool()
23 VideoBuffer * Tool::GetTexture(int width, int height) in GetTexture()
31 void Tool::SetTextureGen(VideoBuffer * (*textureGen)(int, int, int)) in SetTextureGen()
53 … name, String description, int r, int g, int b, ByteString identifier, VideoBuffer * (*textureGen)… in ElementTool()
72 … name, String description, int r, int g, int b, ByteString identifier, VideoBuffer * (*textureGen)… in WallTool()
113 … name, String description, int r, int g, int b, ByteString identifier, VideoBuffer * (*textureGen)… in WindTool()
/dports/devel/libspice-server/spice-0.15.0/server/
H A Dvideo-encoder.h32 typedef struct VideoBuffer VideoBuffer; typedef
33 struct VideoBuffer { struct
44 void (*free)(VideoBuffer *buffer); argument
85 gpointer bitmap_opaque, VideoBuffer** outbuf);
/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/interface/
H A DAppearance.h8 class VideoBuffer; variable
14 VideoBuffer * texture;
51 VideoBuffer * GetTexture();
52 void SetTexture(VideoBuffer * texture);
H A DAppearance.cpp34 VideoBuffer * Appearance::GetTexture() in GetTexture()
39 void Appearance::SetTexture(VideoBuffer * texture) in SetTexture()
43 this->texture = new VideoBuffer(texture); in SetTexture()
H A DSaveButton.h13 class VideoBuffer; variable
23 std::unique_ptr<VideoBuffer> thumbnail;
65 void OnResponse(std::unique_ptr<VideoBuffer> thumbnail) override;
H A DAvatarButton.h19 std::unique_ptr<VideoBuffer> avatar;
44 void OnResponse(std::unique_ptr<VideoBuffer> avatar) override;
/dports/games/powder-toy/The-Powder-Toy-95.0/src/simulation/elements/
H A DNONE.cpp3 static VideoBuffer *iconGen(int wallID, int width, int height);
48 static VideoBuffer *iconGen(int wallID, int width, int height) in iconGen()
50 VideoBuffer * newTexture = new VideoBuffer(width, height); in iconGen()
/dports/games/powder-toy/The-Powder-Toy-95.0/src/client/
H A DThumbnailRendererTask.h9 class VideoBuffer; variable
17 std::unique_ptr<VideoBuffer> thumbnail;
24 std::unique_ptr<VideoBuffer> Finish();
H A DThumbnailRendererTask.cpp26 …thumbnail = std::unique_ptr<VideoBuffer>(SaveRenderer::Ref().Render(Save.get(), Decorations, Fire)… in doWork()
51 std::unique_ptr<VideoBuffer> ThumbnailRendererTask::Finish() in Finish()
/dports/games/gemrb/gemrb-0.9.0/gemrb/core/
H A DVideo.h71 class GEM_EXPORT VideoBuffer {
76 VideoBuffer(const Region& r) : rect(r) {} in VideoBuffer() function
77 virtual ~VideoBuffer() {} in ~VideoBuffer()
93 using VideoBufferPtr = std::shared_ptr<VideoBuffer>;
124 using VideoBuffers = std::deque<VideoBuffer*>;
133 VideoBuffer* drawingBuffer;
138 void DestroyBuffer(VideoBuffer*);
142 virtual VideoBuffer* NewVideoBuffer(const Region&, BufferFormat)=0;
/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/SDLVideo/
H A DSDL12Video.h62 VideoBuffer* NewVideoBuffer(const Region& rgn, BufferFormat fmt) override;
94 class SDLSurfaceVideoBuffer : public VideoBuffer {
99 : VideoBuffer(Region(p, ::GemRB::Size(surf->w, surf->h))) in SDLSurfaceVideoBuffer()
104 VideoBuffer::Clear(); in SDLSurfaceVideoBuffer()
154 class SDLOverlayVideoBuffer : public VideoBuffer {
161 : VideoBuffer(Region(p, ::GemRB::Size(overlay->w, overlay->h))) in SDLOverlayVideoBuffer()
/dports/games/powder-toy/The-Powder-Toy-95.0/src/gui/save/
H A DLocalSaveActivity.h13 class VideoBuffer; variable
23 std::unique_ptr<VideoBuffer> thumbnail;
/dports/games/gemrb/gemrb-0.9.0/gemrb/plugins/MVEPlayer/
H A DMVEPlayer.h37 VideoBuffer* vidBuf;
55 bool DecodeFrame(VideoBuffer&) override;

123