summaryrefslogtreecommitdiff
path: root/src/lib/player_video.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-07-01 20:17:25 +0200
committerCarl Hetherington <cth@carlh.net>2025-07-01 20:17:25 +0200
commitad27397a050b8ea43dad62b0b85be26166b56b7c (patch)
tree7db5271b21c6f07c7ce53ca81648b694bd8e71b3 /src/lib/player_video.h
parent89496a5ce67da007e40502783ddf4139aac052c8 (diff)
White space: player_video.{cc,h} reel_writer.{cc,h} maths_util.{cc,h} upmixer_{a,b}.{cc,h} upload_job.{cc,h}
Diffstat (limited to 'src/lib/player_video.h')
-rw-r--r--src/lib/player_video.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/lib/player_video.h b/src/lib/player_video.h
index c3ea9351b..df0ef6d15 100644
--- a/src/lib/player_video.h
+++ b/src/lib/player_video.h
@@ -48,7 +48,7 @@ class Socket;
class PlayerVideo
{
public:
- PlayerVideo (
+ PlayerVideo(
std::shared_ptr<const ImageProxy> image,
Crop crop,
boost::optional<double> fade,
@@ -63,51 +63,51 @@ public:
bool error
);
- PlayerVideo (std::shared_ptr<cxml::Node>, std::shared_ptr<Socket>);
+ PlayerVideo(std::shared_ptr<cxml::Node>, std::shared_ptr<Socket>);
- PlayerVideo (PlayerVideo const&) = delete;
- PlayerVideo& operator= (PlayerVideo const&) = delete;
+ PlayerVideo(PlayerVideo const&) = delete;
+ PlayerVideo& operator=(PlayerVideo const&) = delete;
- std::shared_ptr<PlayerVideo> shallow_copy () const;
+ std::shared_ptr<PlayerVideo> shallow_copy() const;
- void set_text (PositionImage);
- boost::optional<PositionImage> text () const {
+ void set_text(PositionImage);
+ boost::optional<PositionImage> text() const {
return _text;
}
void prepare(AVPixelFormat pixel_format, VideoRange video_range, Image::Alignment alignment, bool fast, bool proxy_only);
std::shared_ptr<Image> image(AVPixelFormat pixel_format, VideoRange video_range, bool fast) const;
- std::shared_ptr<const Image> raw_image () const;
+ std::shared_ptr<const Image> raw_image() const;
void add_metadata(xmlpp::Element* element) const;
- void write_to_socket (std::shared_ptr<Socket> socket) const;
+ void write_to_socket(std::shared_ptr<Socket> socket) const;
- bool reset_metadata (std::shared_ptr<const Film> film, dcp::Size player_video_container_size);
+ bool reset_metadata(std::shared_ptr<const Film> film, dcp::Size player_video_container_size);
- bool has_j2k () const;
- std::shared_ptr<const dcp::Data> j2k () const;
+ bool has_j2k() const;
+ std::shared_ptr<const dcp::Data> j2k() const;
- Eyes eyes () const {
+ Eyes eyes() const {
return _eyes;
}
- void set_eyes (Eyes e) {
+ void set_eyes(Eyes e) {
_eyes = e;
}
- boost::optional<ColourConversion> colour_conversion () const {
+ boost::optional<ColourConversion> colour_conversion() const {
return _colour_conversion;
}
/** @return Position of the content within the overall image once it has been scaled up */
- Position<int> inter_position () const;
+ Position<int> inter_position() const;
/** @return Size of the content within the overall image once it has been scaled up */
- dcp::Size inter_size () const {
+ dcp::Size inter_size() const {
return _inter_size;
}
- dcp::Size out_size () const {
+ dcp::Size out_size() const {
return _out_size;
}
@@ -115,15 +115,15 @@ public:
return _crop;
}
- bool same (std::shared_ptr<const PlayerVideo> other) const;
+ bool same(std::shared_ptr<const PlayerVideo> other) const;
- size_t memory_used () const;
+ size_t memory_used() const;
- std::weak_ptr<Content> content () const {
+ std::weak_ptr<Content> content() const {
return _content;
}
- bool error () const {
+ bool error() const {
return _error;
}