summaryrefslogtreecommitdiff
path: root/src/lib/video_content.h
AgeCommit message (Collapse)Author
2025-05-11Cleanup: use constexpr for content and player properties.Carl Hetherington
Also fix a clash between the ATMOS and player properties.
2025-04-12Add has_alpha() flag to VideoContent.Carl Hetherington
2025-04-12White space: video_content.{cc,h}Carl Hetherington
2024-03-29Merge remote-tracking branch 'origin/main' into v2.17.xCarl Hetherington
2024-03-29Add VideoContent::rotate_size().Carl Hetherington
2024-03-20Remove all use of add_child() from xmlpp.Carl Hetherington
2024-02-22Merge tag 'v2.16.78' into v2.17.xv2.17.12Carl Hetherington
2024-02-21Make DCPExaminer::size() optional and deal with the consequences.v2.16.78Carl Hetherington
This means we can fix the case of a VF having no known size in a nice way, in turn fixing problems caused by the fix to #2775.
2024-01-28Change how video timing is done.Carl Hetherington
This commit changes the approach with video timing. Previously, we would (more-or-less) try to use every video frame from the content in the output, hoping that they come at a constant frame rate. This is not always the case, however. Here we preserve the PTS of video frames, and then when one arrives we output whatever DCP video frames we can (at the regular DCP frame rate). Hopefully this will solve a range of sync problems, but it could also introduce new ones.
2022-12-13More header trimming.Carl Hetherington
2022-12-13Add video_{range,frame_type}.{cc,h} and remove some types.h includes.Carl Hetherington
2022-12-10Extract crop.hCarl Hetherington
2022-11-26Noisy change to get film into AudioContent::modify_trim_start().Carl Hetherington
2022-04-29Primitive auto-crop (#1477).Carl Hetherington
2022-04-08Guess video range better when importing 2.14.x projects (#2227).Carl Hetherington
2021-10-03Don't scale chroma subsampled images to sizes that don't align with the ↵v2.15.166Carl Hetherington
subsampling (#1872). There's a slightly odd effect when scaling e.g. YVU420 images to odd and then even widths - there's a small but visible luminance shift. I don't know why this happens, but keeping the scaling sizes locked to the subsampling seems to help.
2021-10-03Differentiate requested and actual crop.Carl Hetherington
This is so we limit cropping to what is possible considering chroma subsampling.
2021-10-03Add PixelQuanta to VideoContent.Carl Hetherington
2021-09-19Remove unused VideoContentProperty::SCALE and listen to CUSTOM_{RATIO,SIZE} ↵Carl Hetherington
instead. ::SCALE was sort-of being used, as it was emitted during examination of video content, but it wasn't being emitted anywhere else (and CUSTOM_{RATIO,SIZE} replace its functionality as far as I can see).
2021-04-08Assorted C++11/formatting cleanups.Carl Hetherington
2021-03-31Add burnt subtitle language to video content.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-05-11Change video content scaling so that it either:Carl Hetherington
1. scales the content up to fit the DCP container, preserving aspect ratio, or 2. stretches the content to a custom aspect ratio, or 3. scales the content to some custom size.
2020-05-10Remove scale to fit {width,height} options.Carl Hetherington
2019-10-31Add comment.Carl Hetherington
2019-06-01Basics of allowing video parts of FFmpegContent to be disabled (#1355 and ↵Carl Hetherington
others).
2019-05-24Basic ability to set video range (JPEG/MPEG) at least for YUV content. May ↵Carl Hetherington
not work for RGB. See #1509.
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2018-11-21Take Film pointer out of Content.Carl Hetherington
2018-07-21Revert "Remove join function; the code is long and I don't think anybody"Carl Hetherington
It turns out Carsten uses it :) This reverts commit bd5e8b83a3a18787241982efdae809d4db21f65d.
2018-07-20Remove join function; the code is long and I don't think anybodyCarl Hetherington
uses it.
2018-02-27Add a load of explicit keywords.Carl Hetherington
2018-01-05s/use_template/take_settings_from/gCarl Hetherington
2017-12-11Fix various problems caused by non-integer-frame start trims,Carl Hetherington
and also by the inability of content_video_to_dcp to return negative values. The latter is necessary for tests on "is this content too early" to work.
2017-07-12Add some tests; fix failure to make DCP when there is a bit of audio right ↵Carl Hetherington
at the end of the film (with no corresponding video).
2016-08-24Basic template support (#485).Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-18Remove unnecessary Film variable in ContentPart.Carl Hetherington
2016-05-18Allow content parts to not be preset in XML.Carl Hetherington
2016-05-18Move video frame rate ('prepared-for') into Content.Carl Hetherington
2016-05-18Rename video/audio/subtitle part methods.Carl Hetherington
2016-05-18Remove unused method.Carl Hetherington
2016-05-18Take some stuff out of VideoContent into ContentPart.Carl Hetherington
2016-05-18Reasonably straightforward stuff; main things are addingCarl Hetherington
a _parent to VideoContent (mainly, but not only, for signalling) and moving the video shared_ptr into Content, which makes much more sense to replace dynamic_cast tests for whether something has video or whatever. Nearly builds.
2016-05-18Innocuous build fixes.Carl Hetherington
2016-05-18Basic detachment of VideoContent from Content.Carl Hetherington
2016-05-18Remove unused constructor.Carl Hetherington
2016-02-18Various improvements to the content properties dialogue (including #791).Carl Hetherington
2016-02-16Move reel_split_points from VideoContent to Content.Carl Hetherington