Current Server Time: 23:31 (Central Europe)

#apertus IRC Channel Logs

2018/03/08

Timezone: UTC


00:30
avis
joined the channel
00:37
avis
left the channel
05:58
anuejn
Bertl_oO: btw: what kind of vhdl editor du you use? emacs?
07:06
rton
joined the channel
07:21
Bertl_zZ
changed nick to: Bertl
07:21
Bertl
morning folks!
07:21
Bertl
anuejn: vim
07:33
ymc98
joined the channel
07:34
supragya
joined the channel
07:46
se6astian|away
changed nick to: se6astian
08:22
ymc98
left the channel
08:27
sebix
joined the channel
08:27
sebix
left the channel
08:27
sebix
joined the channel
08:28
TofuLynx
joined the channel
08:36
supragya
left the channel
08:39
se6astian
changed nick to: se6astian|away
08:54
TofuLynx
Good morning everyone!
09:08
anuejn
ah
09:08
anuejn
can you suggest plugins for autocompletion/auto formatting?
09:09
se6astian|away
changed nick to: se6astian
09:12
Bertl
I don't use autocomplete or auto formatting, but I'm sure there are a number of vim plugins for that as well
09:12
Bertl
indentation and syntax highlighting is done by vim-vhdl
09:15
TofuLynx
left the channel
09:17
TofuLynx
joined the channel
09:32
TofuLynx
who, me?
09:32
TofuLynx
nvm, just read the logs
09:32
TofuLynx
I'm embarassed now
11:02
TofuLynx
left the channel
11:44
Arun___
joined the channel
11:45
Arun___
Hello BertL I've updated the code, few things before you review
11:45
Arun___
-Indentation are corrected(line 127-144 in receiver github is showing different indentation than atom and ise)
11:45
Arun___
-no more long end if's -all processes are named -license added -all constants uppercase -spaces corrected
11:45
Arun___
And i'll make sure these points are of your least concern next time I upload any code :-)
11:45
Arun___
Alert!! Wall of text ahead
11:45
Bertl
don't care about github, when I view it in ASCII it should be correct
11:45
Arun___
Regarding Structural changes such as 1.Creating array in place of separate register variables ,2.Using case statement in place of if/end if blocks in lines 169-216
11:46
Arun___
My problem regarding case statement in process reg_proc is that case statement generate same netlist as elsif which means only single case can happen at any instant, which is not what I was aiming for as I already tested case statement as you can see in previous code I intentionally commented that block.
11:46
Arun___
My aim is to make each register and its shift statement independent from each other , good practice at very high switching speed, which takes us to creating array , only 3 clock cycles are spared for data transfer from buffer to reg file , to match slow outer interface with high speed transmitter, is to transfer data to all registers parallely in one cycle ,and 128 cycles to fill the buffer with relatively slower interface.
11:46
Arun___
Tracked the source of lfsr.vhd and added original header , but this site http://www.asic-world.com/examples/vhdl/package.html has no license regarding the file, should I write lfsr package myself?
11:49
Arun__
joined the channel
11:49
Bertl
@lfsr, the bottom line gives a copyright and states that 'all rights reserved' so you probably have to ask the author
11:50
Bertl
it would be better to pick code which is already FOSS with a proper license
11:50
Arun___
So I should remove that file for now from github !!
11:50
Arun___
OK Will try to write my own
11:52
Arun___
OK Will write my own ;-)
11:53
Bertl
btw, I think it is a good idea to add the github link to T871 similar to T872 under 'Code for review'
11:55
Arun___
editing option is not highlighted
11:55
Arun___
Commented
11:56
Bertl
here you can check the 'raw' (ASCII) indentation of your file:
11:56
Bertl
https://raw.githubusercontent.com/arun13e/APERTUS-High_speed_link/master/Code/Transmitter.vhd
11:58
Bertl
best to replace all tabs with spaces and remove any whitepsace at the end of a line
12:00
Arun___
comments are clipped too
12:00
Arun___
ON IT!!!
12:16
TofuLynx
joined the channel
12:54
Arun___
left the channel
13:05
TofuLynx
left the channel
14:07
pusle
left the channel
14:08
BAndiT1983|away
changed nick to: BAndiT1983
14:12
pusle
joined the channel
14:22
supragya
joined the channel
14:26
supragya
BAndiT1983, I will be working on the AVI today. Btw, did you find any tag inspector of sorts for AVI format?
14:27
BAndiT1983
hi supragya
14:27
supragya
hi BAndiT1983
14:27
BAndiT1983
mediainfo was ok for me for now
14:27
supragya
It wont be of much help debugging the struct info...
14:27
BAndiT1983
i suppose that it shows more info if you fill the file more
14:28
supragya
is it?
14:28
supragya
maybe I will check
14:28
BAndiT1983
i had no problems with that stuff, was mainly reworking your code, so it's simpler to use
14:28
supragya
have no exam tomorrow so will get it up and running by today maybe
14:28
supragya
can you point me to the simpler code?
14:29
BAndiT1983
will try to get some progress, but was busy with visiting city departments till now, later will do preparations for big tranposrt tomorrow
14:29
BAndiT1983
i have it on my drive at the moment, will fork your repo when i have a bit of time
14:29
supragya
do a PR maybe
14:30
BAndiT1983
will do
14:30
supragya
:)
14:30
BAndiT1983
currently i have cut i down, so constructor gets file name, width, height and fps
14:30
BAndiT1983
every other stuff will be calculated from it or set to some general number
14:31
supragya
I will work on the headers after an hour or so after the run
14:31
BAndiT1983
grabbed clion EAP version, but have also considered to register as open-source project with jetbrains
14:31
supragya
I have a student license
14:31
supragya
[ considered to register as open-source project with jetbrains] - seems good
14:32
supragya
bbl, gtg
14:32
supragya
left the channel
14:47
Arun__
left the channel
15:02
BAndiT1983
changed nick to: BAndiT1983|away
15:20
Arun___
joined the channel
15:33
intrac_
joined the channel
15:35
intrac
left the channel
15:39
intrac_
changed nick to: intrac
16:03
supragya
joined the channel
16:28
sebix
left the channel
16:29
BAndiT1983|away
changed nick to: BAndiT1983
16:29
TofuLynx
joined the channel
16:32
supragya
Hi TofuLynx
16:33
supragya
Did that 1/4 scale of image in Processing text solve?
16:33
supragya
*test
16:33
supragya
If not, I have an explanation
16:33
rton93
joined the channel
16:34
supragya
BAndiT1983, can you provide me with your code?
16:34
supragya
the change in constructor?
16:34
BAndiT1983
sorry, no time at the moment
16:34
BAndiT1983
will try to do it later
16:34
supragya
Okay, will do on my own then
16:35
BAndiT1983
signature looks like this -> AviEncode::AviContainer::AviContainer(std::string fileName, unsigned int width, unsigned int height, unsigned int fps)
16:35
rton
left the channel
16:35
supragya
okay
16:42
TofuLynx
Hey supragya
16:42
TofuLynx
hadnt had the time to check
16:42
TofuLynx
what's your theory?
16:42
supragya
well it's simple
16:42
TofuLynx
I can check it now
16:42
supragya
Consider a bayer image and it's extracted channel
16:43
supragya
if Raw image had width W, channel has W/2
16:43
supragya
But if the rendering of the channel is done in width W,
16:43
supragya
The odd rows will feature on the left and the even rows on right
16:44
supragya
the vertical scale will be 0.5 then
16:44
supragya
and the bottom half of the displayed image will be all black
16:45
TofuLynx
supragya
16:45
TofuLynx
that was already fixed
16:45
TofuLynx
xD
16:45
TofuLynx
the error now is differente
16:45
supragya
well that is what i asked
16:45
TofuLynx
let me show you the current error then :P
16:45
TofuLynx
https://imgur.com/a/6AUNy
16:45
supragya
let me have a look... however I am not sure if can tell you something
16:45
TofuLynx
that's a single line of pixels
16:46
supragya
problems with buffer flush?
16:47
TofuLynx
uh?
16:47
TofuLynx
why do you say so?
16:47
supragya
it maybe one of two things: The buffer you are writing to is not empty before the first pixel is written. Or, maybe it is malfunctioning UI element
16:48
supragya
what is that cyan dot on the line?
16:48
TofuLynx
an error
16:48
TofuLynx
it happens in differente images too
16:48
supragya
always at same place?
16:48
BAndiT1983
the dot looks green to me ;)
16:48
TofuLynx
yeah
16:48
TofuLynx
and yes, it's green :)
16:48
supragya
check the above things
16:49
supragya
definitely one of them
16:49
TofuLynx
hmm
16:49
TofuLynx
dont think so
16:49
TofuLynx
I think it's an issue while extracting the last line
16:49
BAndiT1983
UI takes the buffers as they are, no big changes happen to them
16:49
BAndiT1983
TofuLynx, try to switch R, G and B buttons, to see how the cahnnels look
16:50
TofuLynx
ah
16:50
TofuLynx
one thing I noticed
16:50
TofuLynx
in the screenshots i noticed that there are R G and B buttons
16:50
TofuLynx
I dont have that xD
16:51
supragya
magic happening?
16:51
TofuLynx
maybe xD
16:52
TofuLynx
as you can see on the screenshot
16:52
TofuLynx
there are no buttons
16:53
BAndiT1983
hm, look at the commits, maybe cut too much of old stuff
16:53
TofuLynx
roger that
16:53
supragya
? my commits?
16:53
TofuLynx
he means openCine commits
16:53
BAndiT1983
yes, OC commits
16:53
supragya
roger
16:54
BAndiT1983
can't see if really removed, maybe they have bigger offset now, try to move them to the top of the layout
16:55
TofuLynx
you commented a lot of stuff
16:58
TofuLynx
left the channel
16:58
TofuLynx_
joined the channel
16:59
BAndiT1983
have commented out mostly MOV player
16:59
BAndiT1983
look in the views folder
17:00
BAndiT1983
the buttons are still in the .ui file, so just open it in qtcreator and move them up for now
17:00
TofuLynx_
yeah I think I found the culprit
17:04
TofuLynx_
it's just my PC's resolution
17:04
TofuLynx_
it's 768p, so the buttons were off-screen
17:06
Bertl
well, that's a user interface design bug :)
17:06
supragya
XD
17:07
supragya
768p ?
17:07
TofuLynx_
1366x768p
17:07
BAndiT1983
alright, we will create special version for Bertl, with ASCII output in HDR
17:07
TofuLynx_
wow xD
17:07
TofuLynx_
btw
17:07
TofuLynx_
red layer seems normal, the others have that artifact
17:07
TofuLynx_
will test a thing
17:07
BAndiT1983
then you have a place to start with ;)
17:08
BAndiT1983
chekc your offsets etc.
17:08
BAndiT1983
*check
17:08
BAndiT1983
i will try to get some time later to work further on the interface of AVI code form supragya
17:08
BAndiT1983
if you need help, then just write, will read logs
17:08
BAndiT1983
see you
17:08
TofuLynx_
bye bye
17:08
BAndiT1983
changed nick to: BAndiT1983|away
17:09
TofuLynx_
I removed the second green from RGGB
17:09
TofuLynx_
from the extractor, so it only extracts the green of odd rows
17:09
TofuLynx_
even rows**
17:09
TofuLynx_
and the error disappeared
17:09
TofuLynx_
which makes me conclude the error is associated with extracting the last odd row
17:09
supragya
TofuLynx_, you have a magic laptop, I tell you
17:09
TofuLynx_
why? xD
17:10
supragya
I could sense it, I am a psychic
17:10
TofuLynx_
uhhh
17:10
TofuLynx_
scary
17:11
Bertl
supragya: you can sense laptops?
17:12
supragya
it's my side hobby, Bertl. :)
17:12
supragya
(what does that even mean, side hobby XD)
17:12
Bertl
a meta hobby?
17:12
supragya
maybe
17:13
TofuLynx_
xD
17:13
TofuLynx_
are you drowsy or something like that? xD
17:13
supragya
I am happy I don't have exam tomorrow. And I can code all night.
17:13
TofuLynx_
nice xD
17:18
TofuLynx_
left the channel
17:18
TofuLynx_
joined the channel
17:33
niemand
joined the channel
17:49
se6astian
changed nick to: se6astian|away
17:51
se6astian|away
changed nick to: se6astian
17:51
TofuLynx_
gtg
17:51
TofuLynx_
Bye bye!
17:51
supragya
bye
17:52
TofuLynx_
left the channel
17:52
se6astian
changed nick to: se6astian|away
17:59
illwieckz
left the channel
18:12
illwieckz
joined the channel
18:22
supragya
left the channel
18:22
Bertl
off for now ... bbl
18:23
Bertl
changed nick to: Bertl_oO
18:52
supragya
joined the channel
18:58
supragya
BAndiT1983|away, seems like mediainfo is not enough
18:59
supragya
AVIWriter is now writing full headers (aka, everything except frames), still the output is: https://pastebin.com/cBH2hbLG
18:59
supragya
BAndiT1983|away, have reworked the code, you may git pull commit `Full header writing possible`
19:03
supragya
Have put markers in code at https://github.com/supragya/libfuse-FrameServer/blob/master/AVIWriter/src/AviEncode/AviEncode.cpp
19:04
supragya
Pitch in if you have idea at // NOTE :)
19:09
supragya
BAndiT1983|away, found an online utility that serves the purpose: https://www.get-metadata.com/file-info/raw-header | My end output: https://www.get-metadata.com/result/776072da-5e67-4d4e-a309-f4e003146798
19:14
supragya
left the channel
19:21
se6astian|away
changed nick to: se6astian
20:13
Arun___
Added lfsr.vhd/ removed tabs , Code is again functional...
20:40
Arun___
left the channel
20:54
Arun___
joined the channel
20:57
supragya
joined the channel
21:06
supragya
left the channel
21:10
supragya
joined the channel
21:14
niemand
left the channel
21:49
supragya
BAndiT1983|away, found a way to debug inside VLC: goto Tools -> Messages, set verbosity to [2 debug] and then load AVI file
21:50
supragya
currently, tree is good:
21:50
supragya
avi debug: * LIST-root size:264 pos:0
21:50
supragya
avi debug: + RIFF-AVI size:1000000 pos:0
21:50
supragya
avi debug: | + LIST-hdr1 size:208 pos:12
21:50
supragya
avi debug: | | + avih size:64 pos:24
21:50
supragya
avi debug: | | + LIST-strl size:144 pos:96
21:50
supragya
avi debug: | | | + strh size:64 pos:108
21:50
supragya
avi debug: | | | + strf size:64 pos:180
21:50
supragya
avi debug: | + LIST-movi size:0 pos:252
21:51
supragya
however sizes need recomputation: <asx debug: not enough data>
22:13
rton93
left the channel
22:24
supragya
left the channel
22:27
se6astian
changed nick to: se6astian|away
22:43
Arun___
left the channel
23:39
Bertl_oO
off to bed now ... have a good one everyone!
23:39
Bertl_oO
changed nick to: Bertl_zZ
23:47
futarisIRCcloud
left the channel