ascii-chat
Binary v0.16.114-28-gf5913657f
Library lib/v0.3.2-3302-gf5913657f
Video chat in your terminal
Loading...
Searching...
No Matches
h265_encoder.c File Reference

Go to the source code of this file.

Functions

h265_encoder_t * h265_encoder_create (uint16_t, uint16_t)

Function Documentation

◆ h265_encoder_create()

h265_encoder_t * h265_encoder_create ( uint16_t initial_width,
uint16_t initial_height )

Create a new x265 encoder for ASCII frames

Parameters
initial_widthInitial frame width (characters)
initial_heightInitial frame height (characters)
Returns
Encoder handle, or NULL on error

Definition at line 3 of file h265_encoder.c.

3 {
4 SET_ERRNO(ERROR_NOT_SUPPORTED, "H.265 encoding unavailable in the browser");
5 return NULL;
6}
#define SET_ERRNO(code,...)
@ ERROR_NOT_SUPPORTED
Definition error_codes.h:74

References ERROR_NOT_SUPPORTED, and SET_ERRNO.