Is encoding type chip specific?

badmannen

Getting the hang of it
Nov 24, 2015
506
29
Italy
Hi. Is encoding h.264 h.264+ and h.265 chip specific? Or could it be changed by software? I guess it's a chip doing the encoding process, but maybe I can get some interesting information

Sent from my One Plus X using tapatalk
 
Encoding is usually done in the firmware.

If it was done in hardware, you would still have to change the firmware to match the interface of the hardware.

You hoping to desolder a chip, stuff it with a new one and gain a different encoder? Yea, I'm not saying its impossible, but this is not possible.
 
A fragment from the HiSilicon Hi3516A SoC spec sheet:
Key Specifications​
Processor Core​
​
A7@600 MHz, 32 KB I-cache, 32 KB D-cache/128 KBL2 cache​
​
Neon acceleration, integrated FPU​
Video Encoding​
​
H.264 BP/MP/HP​
​
H.265 main profile​
​
MJPEG/JPEG baseline encoding​
Video Encoding Performance​
​
A maximum of 5-megapixel resolution for H.264/H.265encoding​
​
Real-time H.264/H.265 encoding of multiple streams:​
−​
1080p@30 fps+720p@30 fps+VGA@30 fps​
−​
1080p@60 fps+VGA@30 fps​
−​
5-megapixel@30 fps+VGA@30 fps​
​
JPEG snapshot at 5-megapixel@8 fps​
​
Supporting the CBR/VBR bit rate control mode, rangingfrom 16 kbit/s to 40 Mbit/s​
​
Encoding frame rate ranging from 1/16 fps to 240 fps​
​
Encoding of eight ROIs​
Intelligent Video Analysis​
​
Integrated IVE, supporting various intelligent analysisapplications such as motion detection, boundary securityand video diagnosis​
Video and Graphics Processing​
​
3D denoising, image enhancement, and dynamic contrastenhancement​
​
Anti-flicker for output videos and graphics​
​
1/15.99x to 16x video scaling​
​
1/2x to 2x graphics scaling​
​
OSD overlay pre-processing for eight regions​
​
Video graphics overlaying of two layers (video layer and​
graphics layer)
 
h264 and h265 encoding is hardware based, no way even a quad core armv7 could encode a 1080p video in realtime h264 let alone h265 or any decent resolution with software calculation alone.

its a highly compressed format, encoding a 1080p h264 video @ 15Mbps in software alone on a overclocked 4.2Ghz i7 still crushes all resources and does not reach realtime rates.

h264 would have gone nowhere if cheap encoding/decoding chips did not become ubiquitous, even playback in all software is unreasonably resource intensive.. today's smartphones would just fall apart with a low resolution h264 video if they did not have decoding hardware.
 
  • Like
Reactions: badmannen