dlezcano has quit [Ping timeout: 272 seconds]
dlezcano has joined #linux-exynos
RzR is now known as rZr
isaque has quit [Quit: isaque]
alexst has quit [Quit: Lost terminal]
dlezcano has quit [Ping timeout: 276 seconds]
masta has joined #linux-exynos
masta has quit [Ping timeout: 272 seconds]
masta has joined #linux-exynos
[7] has quit [Disconnected by services]
TheSeven has joined #linux-exynos
theblazehen_ has quit [Ping timeout: 240 seconds]
dlezcano has joined #linux-exynos
dlezcano has quit [Ping timeout: 264 seconds]
ayaka has quit [Ping timeout: 272 seconds]
ansiwon_ is now known as ansiwon
rZr has quit [Changing host]
rZr has joined #linux-exynos
snawrocki has joined #linux-exynos
pekka10 has joined #linux-exynos
pekka10 has quit [Read error: Connection reset by peer]
pekka10 has joined #linux-exynos
dlezcano has joined #linux-exynos
dlezcano has quit [Ping timeout: 240 seconds]
TheSeven has quit [Disconnected by services]
[7] has joined #linux-exynos
dlezcano has joined #linux-exynos
[7] has quit [Disconnected by services]
TheSeven has joined #linux-exynos
pekka10 has quit [Read error: Connection reset by peer]
pekka10 has joined #linux-exynos
dlezcano has quit [Ping timeout: 240 seconds]
Vasco_O is now known as Vasco
prahal__ has joined #linux-exynos
paulk-collins has joined #linux-exynos
prahal__ has quit [Quit: prahal__]
ayaka has joined #linux-exynos
<
ayaka>
the CSCR2Y shows that at lease RGB/YUV convertor support wide color range
dlezcano has joined #linux-exynos
pekka20 has joined #linux-exynos
pekka10 has quit [Read error: Connection reset by peer]
dlezcano has quit [Ping timeout: 244 seconds]
dlezcano has joined #linux-exynos
dlezcano has quit [Ping timeout: 264 seconds]
<
ayaka>
ndufresne, the colorspace range select is only available to the YUV/RGB convertor solution
<
ayaka>
no such bits for us m2m solution
<
ayaka>
it makes it is possible to change the colorspace range for the driver
<
ndufresne>
which driver ?
rZZZr has joined #linux-exynos
rZr has quit [Ping timeout: 252 seconds]
dlezcano has joined #linux-exynos
prahal__ has joined #linux-exynos
ssvb has joined #linux-exynos
LiquidAcid has joined #linux-exynos
pekka20 has quit [Read error: Connection reset by peer]
dlezcano has quit [Ping timeout: 272 seconds]
theblazehen_ has joined #linux-exynos
dlezcano has joined #linux-exynos
mturquette has quit [Ping timeout: 252 seconds]
mturquette has joined #linux-exynos
Turl has quit [Ping timeout: 252 seconds]
Turl has joined #linux-exynos
dlezcano has quit [Ping timeout: 244 seconds]
pekka10 has joined #linux-exynos
TheSeven has quit [Remote host closed the connection]
TheSeven has joined #linux-exynos
pekka10 has quit [Read error: Connection reset by peer]
rZZZr is now known as RzR
<
javier__>
ndufresne: still around?
<
ndufresne>
not for long
<
javier__>
ndufresne: with the fimc logic to calculate the bytes per line, I got all format correct but NV61 and NV21
<
javier__>
other formats that are planar (1 allocation buffer Y and CbCr components separated) works
<
javier__>
ndufresne: what am I missing for these formats?
TheSeven has quit [Read error: Connection reset by peer]
TheSeven has joined #linux-exynos
<
javier__>
ndufresne: actually... I'm looking at the SoC manual and I don't see a supported format with CrCb, only CbCr
<
ndufresne>
javier__: NV21 is the same as NV12
<
ndufresne>
and NV61 should be the same as NV16, do ou got the other working ?
<
ndufresne>
I mean in term of stride and buffer size of course
<
ndufresne>
the UV in the interleaved plane remain swapped
<
javier__>
ndufresne: yes, YV12 and NV16 works
<
ndufresne>
there isn't a flag to swap the Cb and Cr ?
<
javier__>
so is this another le vs be issue like xRGB and BGRx ?
<
ndufresne>
javier__: see IN_CHROMA_ORDER
<
ndufresne>
It's like the RB swap register, that will let you support both NV12 and NV21 (same for NV16 and NV61)
<
ndufresne>
NV12 is YUV420 while NV16 is YUV422 iirc
pekka10 has joined #linux-exynos
<
ndufresne>
javier__: e.g. NV21 is SRC_FORMAT 2 with IN_CHROMA_ORDER 1
<
javier__>
ndufresne: I see, I'll look at that then to set the register to swap the Cb and Cr components when setting a format
<
ndufresne>
javier__: fyi, 46.3.1.4 GSCALER_IN_CON
<
ndufresne>
javier__: output is similar, careful for the output, format 7 is reserve for when you connect the scaler to the display controller
<
javier__>
ndufresne: Ok
<
ndufresne>
hmm, scaling seems fun, to exploit the full range, you need to apply fixed prescaller ;-P
<
javier__>
ndufresne: hmm, if I'm reading the code correct, this Cb and Cr component swap should already be working
<
javier__>
since for V4L2_PIX_FMT_NV16 .corder is set to GSC_CBCR and for V4L2_PIX_FMT_NV61 is set to GSC_CRCB
<
ndufresne>
so all your missing is GSC_RB and GSC_BR for the RGB side
<
ndufresne>
the general idea is there, we just need to make it work
<
javier__>
ndufresne: yeah, probably the logic was never tested...
<
javier__>
and probably the logic to switch the RBG components was missing since only xRGB was supported but no BGRx
<
javier__>
but that's something to look tomorrow
<
javier__>
ndufresne: thanks a lot for your help and have a nice evening!
<
ndufresne>
sure, see you tomorrow !
dlezcano has joined #linux-exynos
TheSeven has quit [Remote host closed the connection]
TheSeven has joined #linux-exynos
TheSeven has quit [Quit: No Ping reply in 180 seconds.]
TheSeven has joined #linux-exynos
paulk-collins has quit [Quit: Leaving]
LiquidAcid has quit [Quit: Leaving]
nashpa has quit [Ping timeout: 264 seconds]
nashpa has joined #linux-exynos
dlezcano has quit [Quit: Leaving]
dlezcano has joined #linux-exynos