• Philippe Gorley's avatar
    accel: add hardware encoding · 12932733
    Philippe Gorley authored
    Adds VAAPI and VideoToolbox hardware encoders.
    
    Abstracts hardware related field accesses from the encoder and decoder
    to put them in HardwareAccel. They are freed in ~HardwareAccel.
    
    Limits bitrate when hardware encoding h264, else it can easily go up to
    a few MiB/s.
    
    Change-Id: I7d847d8ab3e4c9692341f038ce6d5dd76562e606
    12932733
media_encoder.cpp 28.1 KB