Debian Codegraph @

drivers/staging/media/sunxi/cedrus/TODO

raw
1 This driver suffers from a bad initial design that results in various aspects
2 being intricated, making it difficult to scale to new codecs and to add encoding
3 support in the future.
4
5 Before leaving the staging area, it should be reworked to clearly distinguish
6 between different aspects:
7 - platform, with resources management, interrupt handler, watchdog,
8 v4l2 and m2m devices registration;
9 - proc, with video device registration and related operations;
10 - context, with m2m context, queue and controls management;
11 - engine, with each individual codec job execution and codec-specific
12 operation callbacks;
13
14 This will make it possible to register two different procs (decoder and
15 encoder) while sharing significant common infrastructure, common v4l2 and m2m
16 devices but exposing distinct video devices.