Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1609263
| From | Stanimir Varbanov <stanimir.varbanov@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files |
| Date | 2017-03-26 00:20 +0100 |
| Message-ID | <tp38t-7U8-9@gated-at.bofh.it> (permalink) |
| References | <tkBaN-3bi-5@gated-at.bofh.it> <tkBaO-3bi-19@gated-at.bofh.it> <toyHp-2WH-31@gated-at.bofh.it> <toC8l-5sk-85@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hi,
On 24.03.2017 20:21, Nicolas Dufresne wrote:
> Le vendredi 24 mars 2017 à 15:41 +0100, Hans Verkuil a écrit :
>>> +static const struct venus_format vdec_formats[] = {
>>> + {
>>> + .pixfmt = V4L2_PIX_FMT_NV12,
>>> + .num_planes = 1,
>>> + .type = V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,
>>
>> Just curious: is NV12 the only uncompressed format supported by the
>> hardware?
>> Or just the only one that is implemented here?
yes, at least to my knowledge (except below UBWC).
>
> The downstream kernel[0], from Qualcomm have:
>
> {
> .name = "UBWC YCbCr Semiplanar 4:2:0",
> .description = "UBWC Y/CbCr 4:2:0",
> .fourcc = V4L2_PIX_FMT_NV12_UBWC,
> .num_planes = 2,
> .get_frame_size = get_frame_size_nv12_ubwc,
> .type = CAPTURE_PORT,
> },
> {
> .name = "UBWC YCbCr Semiplanar 4:2:0 10bit",
> .description = "UBWC Y/CbCr 4:2:0 10bit",
> .fourcc = V4L2_PIX_FMT_NV12_TP10_UBWC,
> .num_planes = 2,
> .get_frame_size = get_frame_size_nv12_ubwc_10bit,
> .type = CAPTURE_PORT,
> },
>
> I have no idea what UBWC stands for. The performance in NV12 is more
> then decent from my testing. Though, there is no 10bit variant.
UBWC is some kind of compressed format for NV12 [1]. This format is
applicable for the newer venus hardware revisions and I planed to add it
later on (when Adreno GPU driver starts handle it).
regards,
Stan
[1]
https://android.googlesource.com/kernel/msm/+/android-7.1.0_r0.2/include/media/msm_media_info.h#151
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Hans Verkuil <hverkuil@xs4all.nl> - 2017-03-24 15:50 +0100
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Nicolas Dufresne <nicolas@ndufresne.ca> - 2017-03-24 19:30 +0100
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Stanimir Varbanov <stanimir.varbanov@linaro.org> - 2017-03-26 00:20 +0100
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Stanimir Varbanov <stanimir.varbanov@linaro.org> - 2017-03-25 23:50 +0100
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Nicolas Dufresne <nicolas@ndufresne.ca> - 2017-03-27 04:30 +0200
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Hans Verkuil <hverkuil@xs4all.nl> - 2017-03-27 11:00 +0200
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Hans Verkuil <hverkuil@xs4all.nl> - 2017-03-27 10:50 +0200
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Hans Verkuil <hverkuil@xs4all.nl> - 2017-03-27 10:50 +0200
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Stanimir Varbanov <stanimir.varbanov@linaro.org> - 2017-03-27 14:00 +0200
Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files Nicolas Dufresne <nicolas@ndufresne.ca> - 2017-03-27 17:10 +0200
csiph-web