AOMedia AV1 Codec: AV1EncRowMultiThreadSync Struct Reference

| AOMedia AV1 Codec

Data Fields
AV1EncRowMultiThreadSync Struct Reference

Encoder parameters for synchronization of row based multi-threading. More...

`#include <encoder.h>`

## Data Fields
int * | num_finished_cols
int | sync_range
int | rows
int | next_mi_row
int | num_threads_working
Synchronization objects for top-right dependency.
pthread_mutex_t * | mutex_
pthread_cond_t * | cond_

## Detailed Description

Encoder parameters for synchronization of row based multi-threading.

## Field Documentation

## ◆ mutex_

pthread_mutex_t* AV1EncRowMultiThreadSync::mutex_

Mutex lock object

## ◆ cond_

pthread_cond_t* AV1EncRowMultiThreadSync::cond_

Condition variable

## ◆ num_finished_cols

int* AV1EncRowMultiThreadSync::num_finished_cols

Buffer to store the superblock whose encoding is complete. cur_col[i] stores the number of superblocks which finished encoding in the ith superblock row.

## ◆ sync_range

int AV1EncRowMultiThreadSync::sync_range

Number of extra superblocks of the top row to be complete for encoding of the current superblock to start. A value of 1 indicates top-right dependency.

## ◆ rows

int AV1EncRowMultiThreadSync::rows

Number of superblock rows.

## ◆ next_mi_row

int AV1EncRowMultiThreadSync::next_mi_row

The superblock row (in units of MI blocks) to be processed next.

## ◆ num_threads_working

int AV1EncRowMultiThreadSync::num_threads_working

Number of threads processing the current tile.

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

- av1/encoder/encoder.h