- 博客(1)
- 资源 (1)
- 收藏
- 关注
转载 【无标题】
很多场合我们需要动态显示实时声音分贝,下面列举三种计算分贝的算法。(以双声道为例,也就是一个short类型,最大能量值为32767)首先我们分别累加每个采样点的数值,除以采样个数,得到声音平均能量值。然后再将其做100与32767之间的等比量化。得到1-100的量化值。通常情况下,人声分布在较低的能量范围,这样就会使量化后的数据大致分布在1-20的较小区间,不能够很敏感的感知变化。所以我们将其做了5倍的放大,当然计算后大于100的值,我们将其赋值100................
2022-06-25 10:21:04
210
gm8136数据手册
GM8136 数据手册
The MPEG4/JPEG codec includes the hardware engines to accelerate the computation-intensive tasks, such
as the motion estimation, DCT/IDCT, quantization/inverse quantization, and motion compensation. By
initializing the control registers of this codec, MPEG4/JPEG codec will automatically perform the motion
estimation calculation task for 16x16 or 8x8 block. MPEG4/JPEG codec will also automatically perform the
DCT/quantization, IDCT/inverse quantization, AC/DC prediction, zigzag scan, and VLC/VLD calculation task
for a macro-block. Therefore, CPU loading can be released from the timing critical tasks in the video
encoding process. The features of the MPEG4/JPEG engine include:
Compliant with MPEG4 (ISO/IEC 14496-2) simple profile L0 ~ L3 standards with resolutions of
subQCIF, QCIF, CIF, VGA, D1, and 720p with steps of 16 units
Compliant with JPEG (ISO/IEC 10918-1) baseline standard
Includes hardware engines for motion estimation/motion compensation, DCT/IDCT,
quantization/inverse quantization, AC/DC prediction, and coding/decoding with variable length
Uses local memory controller to control local memory shared by CPU, MPEG4/JPEG codec, and
DMA master
Uses DMA controller to control data transfers between system memory and local memory
Supports automatic power-down mechanism to reduce power consumption
Motion estimation search range: -16 ~ +15.5 (Optionally -32 ~ +31) with half-pixel accuracy
Supports short video header (H.263 baseline)
Supports H.263/MPEG/JPEG quantization methods
2018-03-21
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人