Following the "Add MPEG-2 decoding to Rockchip VPU"[1], and given we want to start using the pixel format helpers rather soon, I've decided to submit them separatedly. Aside from documenting the block_w and block_h, as suggested by Emil Velikov, these two patches are unmodified compared to v2 [1]. This series contains the minimum patches to introduce the pixel format helpers, it currently will have no users, but we expect users to start popping-up soon. very shortly [2]. To avoid confusing the patches here with those on v2 [1], I'm marking them as v3. Thanks! [1] https://patchwork.kernel.org/cover/10838327/ [2] https://patchwork.kernel.org/patch/10851639/ Ezequiel Garcia (2): rockchip/vpu: Rename pixel format helpers media: Introduce helpers to fill pixel format structs drivers/media/v4l2-core/v4l2-common.c | 164 ++++++++++++++++++ .../media/rockchip/vpu/rockchip_vpu_enc.c | 12 +- include/media/v4l2-common.h | 33 ++++ 3 files changed, 203 insertions(+), 6 deletions(-) -- 2.20.1