12#ifndef AOM_AOM_SCALE_YV12CONFIG_H_
13#define AOM_AOM_SCALE_YV12CONFIG_H_
21#include "config/aom_config.h"
25#include "aom/aom_integer.h"
26#include "aom/internal/aom_image_internal.h"
30#define AOMINNERBORDERINPIXELS 160
31#define AOM_INTERP_EXTEND 4
32#define AOM_BORDER_IN_PIXELS 288
33#define AOM_ENC_NO_SCALE_BORDER 160
34#define AOM_ENC_ALLINTRA_BORDER 64
35#define AOM_DEC_BORDER_IN_PIXELS 64
37#if CONFIG_AV1_ENCODER && !CONFIG_REALTIME_ONLY
105 int use_external_reference_buffers;
109 uint8_t *store_buf_adr[3];
112#if CONFIG_AV1_ENCODER && !CONFIG_REALTIME_ONLY
114 struct image_pyramid *y_pyramid;
115 struct corner_list *corners;
118 uint8_t *buffer_alloc;
119 size_t buffer_alloc_sz;
124 unsigned int bit_depth;
142#define YV12_FLAG_HIGHBITDEPTH 8
154 int ss_x,
int ss_y,
int use_highbitdepth,
int border,
155 int byte_alignment,
bool alloc_pyramid,
156 int alloc_y_plane_only);
173 int ss_x,
int ss_y,
int use_highbitdepth,
174 int border,
int byte_alignment,
177 bool alloc_pyramid,
int alloc_y_plane_only);
215static inline int aom_calc_y_stride(
int aligned_width,
int border) {
216 return ((aligned_width + 2 * border) + 31) & ~31;
Describes the codec algorithm interface to applications.
Describes the decoder external frame buffer interface.
int(* aom_get_frame_buffer_cb_fn_t)(void *priv, size_t min_size, aom_codec_frame_buffer_t *fb)
get frame buffer callback prototype
Definition aom_frame_buffer.h:64
enum aom_chroma_sample_position aom_chroma_sample_position_t
List of chroma sample positions.
struct aom_metadata_array aom_metadata_array_t
Array of aom_metadata structs for an image.
Definition aom_image.h:171
enum aom_transfer_characteristics aom_transfer_characteristics_t
List of supported transfer functions.
enum aom_color_range aom_color_range_t
List of supported color range.
enum aom_color_primaries aom_color_primaries_t
List of supported color primaries.
enum aom_matrix_coefficients aom_matrix_coefficients_t
List of supported matrix coefficients.
External frame buffer.
Definition aom_frame_buffer.h:40
YV12 frame buffer data structure.
Definition yv12config.h:46