libxaac/encoder/ixheaace_constants.h
bmdivya100655 b2e7201907
Encoder Enhancements (#34)
* Removed BUILD_ARM64 macro dependency
* Code refactoring
* Minor bug fixes

Co-authored-by: Divya B M <100655@ittiam.com>
2023-06-23 17:54:31 +05:30

43 lines
1.5 KiB
C

/******************************************************************************
* *
* Copyright (C) 2023 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*****************************************************************************
* Originally developed and contributed by Ittiam Systems Pvt. Ltd, Bangalore
*/
#pragma once
/*****************************************************************************/
/* constant macros */
/*****************************************************************************/
#define Q1 2
#define Q2 4
#define Q3 8
#define Q4 16
#define Q6 64
#define Q25 33554432
#define Q28 268435456
#define Q29 536870912
#define Q30 1073741824
#define Q31 2147483647
#define Q32 4294967296
#define Q35 34359738368
#define Q39 549755813887
#define Q40 Q39
#define MAX_32 (WORD32)0x7fffffffL
#define MIN_32 (WORD32)0x80000000L
#define MAX_16 (WORD16)0x7fff