Current Server Time: 20:29 (Central Europe)

#apertus IRC Channel Logs

2018/03/08

Timezone: UTC


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