ascii-chat
Binary v0.15.83-53-gb711d8720
Library lib/v0.3.2-701-gb711d8720
Video chat in your terminal
Loading...
Searching...
No Matches
h265_encoder Struct Reference

h265 encoder is intentionally a small, concrete record. Fields such as codec_ctx, codec, frame, packet give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed. More...

Data Fields

AVCodecContext * codec_ctx
const AVCodec * codec
AVFrame * frame
AVPacket * packet
uint16_t current_width
uint16_t current_height
uint8_t * yuv_buf
size_t yuv_buf_size
bool codec_opened
bool request_keyframe
uint64_t frames_submitted
uint64_t total_frames
uint64_t keyframes
uint32_t avg_bitrate

Detailed Description

h265 encoder is intentionally a small, concrete record. Fields such as codec_ctx, codec, frame, packet give callers the identity and current value they need. It is normally borrowed from, or owned by, the surrounding subsystem—not independently managed.

Definition at line 65 of file encoder.c.

Field Documentation

◆ avg_bitrate

uint32_t h265_encoder::avg_bitrate

Definition at line 83 of file encoder.c.

Referenced by h265_encoder_get_stats().

◆ codec

const AVCodec* h265_encoder::codec

Definition at line 67 of file encoder.c.

Referenced by h265_encode(), h265_encoder_flush(), and video_encoder_create().

◆ codec_ctx

AVCodecContext* h265_encoder::codec_ctx

◆ codec_opened

bool h265_encoder::codec_opened

Definition at line 77 of file encoder.c.

Referenced by h265_encoder_flush(), and video_encoder_create().

◆ current_height

uint16_t h265_encoder::current_height

Definition at line 72 of file encoder.c.

Referenced by h265_encode(), h265_encoder_flush(), and video_encoder_create().

◆ current_width

uint16_t h265_encoder::current_width

Definition at line 71 of file encoder.c.

Referenced by h265_encode(), h265_encoder_flush(), and video_encoder_create().

◆ frame

AVFrame* h265_encoder::frame

Definition at line 68 of file encoder.c.

Referenced by h265_encode(), h265_encoder_destroy(), and video_encoder_create().

◆ frames_submitted

uint64_t h265_encoder::frames_submitted

Definition at line 80 of file encoder.c.

Referenced by h265_encode().

◆ keyframes

uint64_t h265_encoder::keyframes

Definition at line 82 of file encoder.c.

Referenced by h265_encode(), h265_encoder_flush(), and h265_encoder_get_stats().

◆ packet

AVPacket* h265_encoder::packet

◆ request_keyframe

bool h265_encoder::request_keyframe

Definition at line 78 of file encoder.c.

Referenced by h265_encode(), and h265_encoder_request_keyframe().

◆ total_frames

uint64_t h265_encoder::total_frames

Definition at line 81 of file encoder.c.

Referenced by h265_encode(), h265_encoder_flush(), and h265_encoder_get_stats().

◆ yuv_buf

uint8_t* h265_encoder::yuv_buf

Definition at line 74 of file encoder.c.

Referenced by h265_encode(), h265_encoder_destroy(), and video_encoder_create().

◆ yuv_buf_size

size_t h265_encoder::yuv_buf_size

Definition at line 75 of file encoder.c.

Referenced by video_encoder_create().


The documentation for this struct was generated from the following file: