aboutsummaryrefslogtreecommitdiffstats
path: root/common/rfb/H264WinDecoderContext.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Avoid shadowing variablesPierre Ossman2024-06-241-8/+12
| | | | | It's a source of confusion and possibly bugs to reuse the same variable name for multiple things.
* Use nullptr in all C++ codePierre Ossman2024-06-241-11/+11
| | | | | It's more readable than 0, and a bit safer than NULL, so let's try to follow modern norms.
* Use stdint typesPierre Ossman2023-02-011-5/+5
| | | | | Avoid having our own custom stuff and instead use the modern, standard types, for familiarity.
* Remove unused flags to decoder contextsPierre Ossman2023-01-041-1/+3
| | | | Everything in flags is already handled at a higher level.
* Workaround for MFT cropping in H264 decodingMartins Mozeiko2022-06-071-8/+212
| | | | | | | | | It seems MFT h264 decoder does not support frame cropping. Which means that if frame width or height is not multiple of 16 then decoded output can potentially be used with wrong offset. This code adds explicit parsing of SPS to extract cropping information to use, and will apply cropping if reported size differs from expected.
* support H264 decoding with MediaFoundation on WindowsMārtiņš Možeiko2022-01-211-0/+325