mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 08:47:31 +09:00
Update aom to commit id f5bdeac22930ff4c6b219be49c843db35970b918
This commit is contained in:
parent
e329bc4331
commit
2ab8fcbfd1
370 changed files with 56185 additions and 32026 deletions
19
third_party/aom/av1/common/resize.h
vendored
19
third_party/aom/av1/common/resize.h
vendored
|
|
@ -63,6 +63,14 @@ void av1_highbd_resize_frame444(const uint8_t *const y, int y_stride,
|
|||
int owidth, int bd);
|
||||
#endif // CONFIG_HIGHBITDEPTH
|
||||
|
||||
#if CONFIG_HIGHBITDEPTH
|
||||
void av1_resize_and_extend_frame(const YV12_BUFFER_CONFIG *src,
|
||||
YV12_BUFFER_CONFIG *dst, int bd);
|
||||
#else
|
||||
void av1_resize_and_extend_frame(const YV12_BUFFER_CONFIG *src,
|
||||
YV12_BUFFER_CONFIG *dst);
|
||||
#endif // CONFIG_HIGHBITDEPTH
|
||||
|
||||
YV12_BUFFER_CONFIG *av1_scale_if_required_fast(AV1_COMMON *cm,
|
||||
YV12_BUFFER_CONFIG *unscaled,
|
||||
YV12_BUFFER_CONFIG *scaled);
|
||||
|
|
@ -71,6 +79,17 @@ YV12_BUFFER_CONFIG *av1_scale_if_required(AV1_COMMON *cm,
|
|||
YV12_BUFFER_CONFIG *unscaled,
|
||||
YV12_BUFFER_CONFIG *scaled);
|
||||
|
||||
void av1_calculate_scaled_size(int *width, int *height, int num);
|
||||
|
||||
#if CONFIG_FRAME_SUPERRES
|
||||
void av1_superres_upscale(AV1_COMMON *cm, BufferPool *const pool);
|
||||
|
||||
// Returns 1 if a superres upscaled frame is unscaled and 0 otherwise.
|
||||
static INLINE int av1_superres_unscaled(const AV1_COMMON *cm) {
|
||||
return (cm->superres_scale_numerator == SCALE_DENOMINATOR);
|
||||
}
|
||||
#endif // CONFIG_FRAME_SUPERRES
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue