+
+bool
+RawImageProxy::same (shared_ptr<const ImageProxy> other) const
+{
+ shared_ptr<const RawImageProxy> rp = dynamic_pointer_cast<const RawImageProxy> (other);
+ if (!rp) {
+ return false;
+ }
+
+ return (*_image.get()) == (*rp->image().get());
+}
+
+AVPixelFormat
+RawImageProxy::pixel_format () const
+{
+ return _image->pixel_format ();
+}