Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
pyrowave.cpp File Reference

GPU conversion for the experimental PyroWave codec. More...

#include <array>
#include <cerrno>
#include <cstring>
#include <fcntl.h>
#include <poll.h>
#include <unistd.h>
#include <drm_fourcc.h>
#include <gbm.h>
#include <xf86drm.h>
#include <libavutil/frame.h>
#include <libavutil/pixfmt.h>
#include "graphics.h"
#include "pyrowave.h"
#include "pyrowave_fence.h"
#include "src/config.h"
#include "src/logging.h"
Include dependency graph for pyrowave.cpp:

Go to the source code of this file.

Classes

class  pyrowave::egl_encode_device_t

Functions

std::unique_ptr< gpu_encode_device_t > pyrowave::make_gpu_encode_device (int width, int height, file_t &&render_device, int offset_x, int offset_y)
std::unique_ptr< gpu_encode_device_t > pyrowave::make_gpu_encode_device (int width, int height, int offset_x, int offset_y)
std::unique_ptr< platf::avcodec_encode_device_t > pyrowave::make_ram_encode_device (int width, int height, file_t &&render_device, std::uint32_t fourcc)
std::unique_ptr< platf::avcodec_encode_device_t > pyrowave::make_ram_encode_device (int width, int height, std::uint32_t fourcc)

Detailed Description

GPU conversion for the experimental PyroWave codec.

Definition in file pyrowave.cpp.

Function Documentation

◆ make_gpu_encode_device() [1/2]

std::unique_ptr< gpu_encode_device_t > pyrowave::make_gpu_encode_device ( int width,
int height,
file_t && render_device,
int offset_x,
int offset_y )

Definition at line 513 of file pyrowave.cpp.

◆ make_gpu_encode_device() [2/2]

std::unique_ptr< gpu_encode_device_t > pyrowave::make_gpu_encode_device ( int width,
int height,
int offset_x,
int offset_y )

Definition at line 521 of file pyrowave.cpp.

◆ make_ram_encode_device() [1/2]

std::unique_ptr< platf::avcodec_encode_device_t > pyrowave::make_ram_encode_device ( int width,
int height,
file_t && render_device,
std::uint32_t fourcc )

Definition at line 529 of file pyrowave.cpp.

◆ make_ram_encode_device() [2/2]

std::unique_ptr< platf::avcodec_encode_device_t > pyrowave::make_ram_encode_device ( int width,
int height,
std::uint32_t fourcc )

Definition at line 540 of file pyrowave.cpp.