MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / GetVideoSize

Method GetVideoSize

Source/VideoProcessor.cpp:30–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28#include <shellscalingapi.h>
29
30void CVideoProcessor::GetVideoSize(long& width, long& height)
31{
32 if (m_iRotation == 90 || m_iRotation == 270) {
33 width = m_srcRectHeight;
34 height = m_srcRectWidth;
35 } else {
36 width = m_srcRectWidth;
37 height = m_srcRectHeight;
38 }
39}
40
41void CVideoProcessor::GetAspectRatio(long& aspectX, long& aspectY)
42{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected