11 #include "IRetroPlayerStream.h"    12 #include "cores/RetroPlayer/RetroPlayerTypes.h"    16 #include <libavutil/pixfmt.h>    24 class CRPRenderManager;
    29                         unsigned int nominalWidth,
    30                         unsigned int nominalHeight,
    31                         unsigned int maxWidth,
    32                         unsigned int maxHeight,
    33                         float pixelAspectRatio)
    35       nominalWidth(nominalWidth),
    36       nominalHeight(nominalHeight),
    39       pixelAspectRatio(pixelAspectRatio)
    44   unsigned int nominalWidth;
    45   unsigned int nominalHeight;
    46   unsigned int maxWidth;
    47   unsigned int maxHeight;
    48   float pixelAspectRatio;
    56       AVPixelFormat pixfmt, uint8_t* data, 
size_t size, DataAccess access, DataAlignment alignment)
    57     : pixfmt(pixfmt), data(data), size(size), access(access), alignment(alignment)
    61   AVPixelFormat pixfmt{AV_PIX_FMT_NONE};
    62   uint8_t* data{
nullptr};
    64   DataAccess access{DataAccess::READ_WRITE};
    65   DataAlignment alignment{DataAlignment::DATA_UNALIGNED};
    72                     VideoRotation rotation,
    75     : width(width), height(height), rotation(rotation), data(data), size(size)
    81   VideoRotation rotation;
    99   bool GetStreamBuffer(
unsigned int width, 
unsigned int height, 
StreamBuffer& buffer) 
override;
   100   void AddStreamData(
const StreamPacket& packet) 
override;
   101   void CloseStream() 
override;
   109   bool m_bOpen = 
false;
 Renders video frames provided by the game loop. 
Definition: RPRenderManager.h:67
Definition: RetroPlayerVideo.h:68
Definition: AudioDecoder.h:18
Definition: RetroPlayerVideo.h:26
Definition: RetroPlayerVideo.h:51
Definition: IRetroPlayerStream.h:26
Definition: IRetroPlayerStream.h:22
Renders video frames provided by the game loop. 
Definition: RetroPlayerVideo.h:91
Player process info. 
Definition: RPProcessInfo.h:80
Definition: IRetroPlayerStream.h:18
Definition: IRetroPlayerStream.h:30