AOMedia AV1 Codec: av1/encoder/block.h File Reference

| AOMedia AV1 Codec

Data Structures | Macros | Typedefs
block.h File Reference
`#include "av1/common/blockd.h"`
`#include "av1/common/entropymv.h"`
`#include "av1/common/entropy.h"`
`#include "av1/common/enums.h"`
`#include "av1/common/mvref_common.h"`
`#include "av1/encoder/enc_enums.h"`
`#include "av1/encoder/partition_cnn_weights.h"`
`#include "av1/encoder/hash.h"`

Go to the source code of this file.

## Data Structures
struct | SuperBlockEnc
| Superblock level encoder info. More...
struct | WinnerModeStats
| Stores the best performing modes. More...
struct | macroblock_plane
| Each source plane of the current macroblock. More...
struct | LV_MAP_COEFF_COST
| Costs for encoding the coefficients within a level. More...
struct | LV_MAP_EOB_COST
| Costs for encoding the eob. More...
struct | CB_COEFF_BUFFER
| Stores the transforms coefficients for the whole superblock. More...
struct | MB_MODE_INFO_EXT
| Extended mode info derived from mbmi. More...
struct | MB_MODE_INFO_EXT_FRAME
| Stores best extended mode information at frame level. More...
struct | MB_RD_INFO
| Txfm search results for a partition. More...
struct | MB_RD_RECORD
| Hash records of txfm search results for the partition block. More...
struct | TXB_RD_INFO
| Txfm search results for a tx block. More...
struct | TXB_RD_RECORD
| Hash records of txfm search result for each tx block. More...
struct | COMP_RD_STATS
| Rdcost stats in compound mode. More...
struct | OBMCBuffer
| Contains buffers used to speed up rdopt for obmc. More...
struct | PALETTE_BUFFER
| Contains color maps used in palette mode. More...
struct | CompoundTypeRdBuffers
| Contains buffers used by av1_compound_type_rd() More...
struct | PartitionSearchInfo
| Holds some parameters related to partitioning schemes in AV1. More...
struct | TxfmSearchParams
| Defines the parameters used to perform txfm search. More...
struct | TxbRdRecords
| Txfm hash records. More...
struct | TxfmSearchInfo
| Stores various encoding/search decisions related to txfm search. More...
struct | ModeCosts
| Holds the entropy costs for various modes sent to the bitstream. More...
struct | MvCosts
| Holds mv costs for encoding and motion search. More...
struct | IntraBCMVCosts
| Holds mv costs for intrabc. More...
struct | CoeffCosts
| Holds the costs needed to encode the coefficients. More...
struct | WARP_SAMPLE_INFO
| Holds the motion samples for warp motion model estimation. More...
struct | macroblock
| Encoder's parameters related to the current coding block. More...

## Macros
#define | MIN_TPL_BSIZE_1D 16
| Minimum linear dimension of a tpl block.
#define | MAX_TPL_BLK_IN_SB (MAX_SB_SIZE / MIN_TPL_BSIZE_1D)
| Maximum number of tpl block in a super block.
#define | MAX_WINNER_MODE_COUNT_INTRA 3
| Number of intra winner modes kept.
#define | MAX_WINNER_MODE_COUNT_INTER 1
| Number of inter winner modes kept.
#define | RD_RECORD_BUFFER_LEN 8
| Number of txfm hash records kept for the partition block.
#define | TX_SIZE_RD_RECORD_BUFFER_LEN 256
| Number of txfm hash records kept for the txfm block.
#define | MAX_COMP_RD_STATS 64
| Number of compound rd stats.

## Typedefs
typedef struct macroblock_plane | MACROBLOCK_PLANE
| Each source plane of the current macroblock. More...
typedef struct macroblock | MACROBLOCK
| Encoder's parameters related to the current coding block. More...

## Detailed Description

Declares various structs used to encode the current partition block.

## Typedef Documentation

## ◆ MACROBLOCK_PLANE

typedef struct macroblock_plane MACROBLOCK_PLANE

Each source plane of the current macroblock.

This struct also stores the txfm buffers and quantizer settings.

## ◆ MACROBLOCK

typedef struct macroblock MACROBLOCK

Encoder's parameters related to the current coding block.

This struct contains most of the information the encoder needs to encode the current coding block. This includes the src and pred buffer, a copy of the decoder's view of the current block, the txfm coefficients. This struct also contains various buffers and data used to speed up the encoding process.