mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
Update aom to v1.0.0
Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
This commit is contained in:
parent
bb61121b44
commit
48f6d2e034
1087 changed files with 154333 additions and 265310 deletions
11
third_party/aom/aom_scale/generic/aom_scale.c
vendored
11
third_party/aom/aom_scale/generic/aom_scale.c
vendored
|
|
@ -18,9 +18,10 @@
|
|||
***************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Header Files
|
||||
****************************************************************************/
|
||||
#include "./aom_scale_rtcd.h"
|
||||
* Header Files
|
||||
****************************************************************************/
|
||||
#include "config/aom_scale_rtcd.h"
|
||||
|
||||
#include "aom_mem/aom_mem.h"
|
||||
#include "aom_scale/aom_scale.h"
|
||||
#include "aom_scale/yv12config.h"
|
||||
|
|
@ -475,11 +476,11 @@ void aom_scale_frame(YV12_BUFFER_CONFIG *src, YV12_BUFFER_CONFIG *dst,
|
|||
unsigned char *temp_area, unsigned char temp_height,
|
||||
unsigned int hscale, unsigned int hratio,
|
||||
unsigned int vscale, unsigned int vratio,
|
||||
unsigned int interlaced) {
|
||||
unsigned int interlaced, const int num_planes) {
|
||||
const int dw = (hscale - 1 + src->y_width * hratio) / hscale;
|
||||
const int dh = (vscale - 1 + src->y_height * vratio) / vscale;
|
||||
|
||||
for (int plane = 0; plane < 3; ++plane) {
|
||||
for (int plane = 0; plane < num_planes; ++plane) {
|
||||
const int is_uv = plane > 0;
|
||||
const int plane_dw = dw >> is_uv;
|
||||
const int plane_dh = dh >> is_uv;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue