Expand description
VSHelper4.h
Functions§
- add_
rational - Add two rational numbers and reduces the result
- are_
valid_ dimensions - bitblt⚠
- Copies bytes from one plane to another. Basically, it is memcpy in a loop.
- double_
to_ float_ s - Converts a double to float with saturation, useful to silence warnings when reading float properties among other things
- int64_
to_ int_ s - Converts an int64 to int with saturation, useful to silence warnings when reading int properties among other things
- is_
constant_ video_ format - Convenience function for checking if the format never changes between frames
- is_
same_ audio_ format - Convenience function to check for if two clips have the same format while also including
sampleRate
(unknown/changeable will be considered the same too) - is_
same_ audio_ info - Convenience function to check for if two clips have the same format while also including
sampleRate
(unknown/changeable will be considered the same too) - is_
same_ video_ format - Convenience function to check if two clips have the same format (unknown/changeable will be considered the same too)
- is_
same_ video_ info - Convenience function to check for if two clips have the same format (but not framerate) while also including width and height (unknown/changeable will be considered the same too)
- muldiv_
rational - Multiplies and divides a rational number, such as a frame duration, in place and reduces the result
- reduce_
rational - Reduces a rational number