Go to the documentation of this file.
21 #ifndef GNASH_GNASHVAAPIIMAGE_H
22 #define GNASH_GNASHVAAPIIMAGE_H
32 class VaapiSurfaceProxy;
37 std::shared_ptr<VaapiSurface> _surface;
38 std::uint64_t _creation_time;
49 virtual void update(std::shared_ptr<VaapiSurface> surface);
50 virtual void update(std::uint8_t*
data);
56 std::shared_ptr<VaapiSurface>
surface()
const
64 virtual iterator
begin();
69 virtual const_iterator
begin()
const;
74 #endif // GNASH_GNASHVAAPIIMAGE_H
pixel_iterator< T > begin(GnashImage &im)
Definition: ImageIterators.h:191
@ height
Definition: klash_part.cpp:329
const size_t _height
Height of image, in pixels.
Definition: GnashImage.h:206
virtual size_t stride() const
Get the pitch of the image buffer.
Definition: GnashImage.h:112
void log_debug(StringType msg, Args... args)
Definition: log.h:301
value_type * iterator
Definition: GnashImage.h:83
virtual void update(std::shared_ptr< VaapiSurface > surface)
Definition: GnashVaapiImage.cpp:61
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
Base class for different types of bitmaps.
Definition: GnashImage.h:78
GnashImage implementation using a VA surface.
Definition: GnashVaapiImage.h:36
void log_error(StringType msg, Args... args)
Definition: log.h:283
ImageType type() const
Return the ImageType of the image.
Definition: GnashImage.h:91
#define CLOCK_REALTIME
Definition: getclocktime.hpp:44
@ t
Definition: GnashKey.h:166
GnashVaapiImage(std::shared_ptr< VaapiSurface > surface, image::ImageType type)
Definition: GnashVaapiImage.cpp:43
const value_type * const_iterator
Definition: GnashImage.h:84
~GnashVaapiImage()
Definition: GnashVaapiImage.cpp:55
type
Definition: GnashKey.h:330
ImageLocation location() const
Return the ImageLocation of the image.
Definition: GnashImage.h:98
@ GNASH_IMAGE_CPU
Definition: GnashImage.h:56
GnashVaapiImage(const GnashVaapiImage &o)
size_t size() const
Get the size of the image buffer.
Definition: GnashImage.h:105
virtual iterator begin()
Access the raw data.
Definition: GnashImage.h:154
#define DSOEXPORT
Definition: dsodefs.h:55
container_type _data
Data if held in this class.
Definition: GnashImage.h:209
ImageType
The types of images handled in Gnash.
Definition: GnashImage.h:47
std::shared_ptr< VaapiSurface > surface() const
Get access to the underlying surface.
Definition: GnashVaapiImage.h:56
const size_t _width
Width of image, in pixels.
Definition: GnashImage.h:203
virtual iterator begin()
Get access to the underlying data.
Definition: GnashVaapiImage.cpp:110
@ GNASH_IMAGE_GPU
Definition: GnashImage.h:57
@ o
Definition: GnashKey.h:161
@ width
Definition: klash_part.cpp:329
SimpleBuffer data
Definition: LocalConnection_as.cpp:151