MCPcopy Create free account
hub / github.com/IENT/YUView / isFormatValid

Method isFormatValid

YUViewLib/src/video/FrameHandler.h:86–86  ·  view source on GitHub ↗

Is the current format of the FrameHandler valid? The default implementation will check if the frameSize is valid but more specialized implementations may also check other things: For example the videoHandlerYUV also checks if a valid YUV format is set.

Source from the content-addressed store, hash-verified

84 // frameSize is valid but more specialized implementations may also check other things: For
85 // example the videoHandlerYUV also checks if a valid YUV format is set.
86 virtual bool isFormatValid() const { return frameSize.width > 0 && frameSize.height > 0; }
87
88 virtual QString getFormatAsString() const
89 {

Callers 11

getInfoMethod · 0.45
playlistItemRawFileMethod · 0.45
updateStartEndRangeMethod · 0.45
getInfoMethod · 0.45
loadRawDataMethod · 0.45
isCachableMethod · 0.45
drawItemMethod · 0.45
getInfoMethod · 0.45
getPixelValuesMethod · 0.45
inputsValidMethod · 0.45
inputValidMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected