lkml.org 
[lkml]   [2023]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 4/9] media: v4l2: Add JPEG pixel format to v4l2 format info
    Date
    Dne petek, 24. marec 2023 ob 16:12:23 CET je Paul Kocialkowski napisal(a):
    > Represent the JPEG pixel format in the v4l2 format info table.
    >
    > Note that the bpp is set to 1 which is not a proper way to estimate
    > the needed buffer size for a given JPEG image. However the compression
    > ratios of JPEG typically allow fitting the image in a smaller size,
    > even though extra metadata could increase the total size by an
    > arbitrary amount. Thus it is not a perfectly safe way to calculate the
    > size of a JPEG buffer for given dimensions but it still provides a
    > reasonable approach.
    >
    > Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>

    Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>

    Best regards,
    Jernej


    \
     
     \ /
      Last update: 2023-03-27 01:17    [W:2.952 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site