22 #include <boost/intrusive_ptr.hpp>
34 class DefineVideoStreamTag;
114 const boost::intrusive_ptr<const SWF::DefineVideoStreamTag> m_def;
120 bool _embeddedStream;
123 boost::int32_t _lastDecodedVideoFrameNum;
126 std::auto_ptr<image::GnashImage> _lastDecodedVideoFrame;
133 std::auto_ptr<media::VideoDecoder> _decoder;
NetStream_as ActionScript class.
Definition: NetStream_as.h:179
DisplayObject is the base class for all DisplayList objects.
Definition: DisplayObject.h:168
int height() const
Get the height of the video.
Definition: Video.cpp:85
Video(as_object *object, const SWF::DefineVideoStreamTag *def, DisplayObject *parent)
Definition: Video.cpp:41
void clear()
Definition: Video.cpp:92
~Video()
Definition: Video.cpp:73
void setStream(NetStream_as *ns)
Set the input stream for this video.
Definition: Video.cpp:221
virtual void markOwnResources() const
Mark video-specific reachable resources.
Definition: Video.cpp:238
virtual void construct(as_object *init=0)
Register this video instance as a live DisplayObject.
Definition: Video.cpp:199
bool pointInBounds(boost::int32_t x, boost::int32_t y) const
Return true if the given point falls in this DisplayObject's bounds.
Definition: DisplayObject.h:488
virtual bool pointInShape(boost::int32_t x, boost::int32_t y) const
Return true if the given point falls in this DisplayObject's shape.
Definition: Video.h:58
virtual SWFRect getBounds() const
Definition: Video.cpp:228
The base class for all ActionScript objects.
Definition: as_object.h:161
Base class for render handlers.
Definition: Renderer.h:190
void add_invalidated_bounds(InvalidatedRanges &ranges, bool force)
Add the DisplayObject's invalidated bounds to the given ranges list.
Definition: Video.cpp:206
boost::int32_t x
Definition: BitmapData_as.cpp:434
Definition: GnashKey.h:148
Definition: DefineVideoStreamTag.h:67
DisplayObject * parent() const
Return the parent of this DisplayObject, or NULL if the DisplayObject has no parent.
Definition: DisplayObject.h:252
int width() const
Get the width of the video.
Definition: Video.cpp:78
VideoStream ActionScript object.
Definition: Video.h:49
boost::int32_t y
Definition: BitmapData_as.cpp:435
Base class for different types of bitmaps.
Definition: GnashImage.h:79
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:44
bool smoothing() const
Whether this Video object should request smoothing when scaled.
Definition: Video.h:95
virtual void display(Renderer &renderer, const Transform &xform)
Render the DisplayObject.
Definition: Video.cpp:103
Definition: GnashKey.h:331
void setSmoothing(bool b)
Set whether smoothing is required.
Definition: Video.h:98