mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-08 08:17:31 +09:00
Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614
This commit is contained in:
parent
debbee1e2a
commit
992c6637e3
429 changed files with 76047 additions and 40937 deletions
16
third_party/aom/tools_common.c
vendored
16
third_party/aom/tools_common.c
vendored
|
|
@ -185,22 +185,6 @@ const AvxInterface *get_aom_decoder_by_fourcc(uint32_t fourcc) {
|
|||
}
|
||||
#endif // CONFIG_AV1_DECODER
|
||||
|
||||
// TODO(dkovalev): move this function to aom_image.{c, h}, so it will be part
|
||||
// of aom_image_t support
|
||||
int aom_img_plane_width(const aom_image_t *img, int plane) {
|
||||
if (plane > 0 && img->x_chroma_shift > 0)
|
||||
return (img->d_w + 1) >> img->x_chroma_shift;
|
||||
else
|
||||
return img->d_w;
|
||||
}
|
||||
|
||||
int aom_img_plane_height(const aom_image_t *img, int plane) {
|
||||
if (plane > 0 && img->y_chroma_shift > 0)
|
||||
return (img->d_h + 1) >> img->y_chroma_shift;
|
||||
else
|
||||
return img->d_h;
|
||||
}
|
||||
|
||||
void aom_img_write(const aom_image_t *img, FILE *file) {
|
||||
int plane;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue