'이론 관련/컴퓨터 관련'에 해당되는 글 96건

  1. 2022.10.19 tlv
  2. 2022.10.17 DR - Disaster Recovery Plan
  3. 2022.06.02 SLP - Superword Level Parallelism
  4. 2022.04.13 digital twin
  5. 2021.11.18 mp4 container
  6. 2021.10.22 current loop to rs232
  7. 2021.09.23 usb dwc
  8. 2021.05.10 fp16
  9. 2020.11.17 gps 체크섬
  10. 2020.11.05 GPX, NMEA 포맷 변환

tlv

 

http://www.ktword.co.kr/test/view/view.php?m_temp1=3739

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

vRAN  (0) 2023.08.23
cordic (coordinate rotation digital computer)  (0) 2023.02.27
DR - Disaster Recovery Plan  (0) 2022.10.17
SLP - Superword Level Parallelism  (0) 2022.06.02
digital twin  (0) 2022.04.13
Posted by 구차니

이번 카카오 사태에 갑자기 뜬(?) 용어

HA까지만 알았는데 DR은 솔찍히 첨 듣는다.

 

[링크 : https://en.wikipedia.org/wiki/Disaster_recovery]

[링크 : https://en.wikipedia.org/wiki/Business_continuity_planning]

[링크 : https://m.blog.naver.com/kkson50/120147495464]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

cordic (coordinate rotation digital computer)  (0) 2023.02.27
tlv  (0) 2022.10.19
SLP - Superword Level Parallelism  (0) 2022.06.02
digital twin  (0) 2022.04.13
mp4 container  (0) 2021.11.18
Posted by 구차니

gcc에서 vectorize  옵션을 통해 빌드 하는데

-fopt-info-vec-all -O3 -mavx

 

메시지들 중에서 SLP 라는 용어 발견

note: ===vect_slp_analyze_bb===

note: Final SLP tree for instance:
note: Build SLP for varname = 900;
note: Build SLP failed: unrolling required in basic block SLP

note: vectorizing stmts using SLP.

 

gcc 메뉴얼에도 SLP 어쩌구는 나오는데 약어가 안나온다.

2011-10-23
  1. Vectorization of reduction in loop SLP. Both multiple reduction cycles and reduction chains are supported.
  2. Various basic block vectorization (SLP) improvements, such as better data dependence analysis, support of misaligned accesses and multiple types, cost model.

[링크 : https://gcc.gnu.org/projects/tree-ssa/vectorization.html#using]

 

Superword-Level Parallelism (SLP) vectorizer

[링크 : https://rcor.me/papers/cgo19snslp.pdf]

 

Superword level parallelism (SLP) is an advanced method of traditional vectorization that facilitates parallelism across loop iterations, SIMD, and basic blocks. Vectorization in this context is the process used to complete several similar tasks (or instructions) simultaneously, therefore saving processing time and resources.

[링크 : https://www.webopedia.com/definitions/superword-level-parallelism/]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

tlv  (0) 2022.10.19
DR - Disaster Recovery Plan  (0) 2022.10.17
digital twin  (0) 2022.04.13
mp4 container  (0) 2021.11.18
current loop to rs232  (0) 2021.10.22
Posted by 구차니

디지털 트윈은.. 테슬라 자율주행의 컨셉이라고 하면 쉽게 이해가 되려나?

현실을 스캔해서 가상현실로 끌어오고

그걸 이용해 다양하게 분석, 시뮬레이션 하여 최적의 운전을 하는 것

그 대상이 빌딩일 수도 있고, 땅일수도 있고 특정 물건일 수도 있다.

 

[링크 : https://matterport.com/ko/what-digital-twin]

[링크 : https://redshift.autodesk.co.kr/what-is-a-digital-twin/]

 

디지털 트윈은 물리적 객체, 프로세스, 관계, 행동을 포함하는 실세계의 가상 표현입니다. GIS는 자연 및 인공 환경의 디지털 트윈을 생성하며 다양한 유형의 디지털 모델을 고유하게 통합합니다.

[링크 : https://www.esri.com/ko-kr/digital-twin/overview]

 

‘디지털 트윈(Digital-Twin)’이란?
실제 장비나 공간을 가상 세계에 쌍둥이처럼 똑같이 구현하는 기술이에요.

[링크 : https://www.korea.kr/news/visualNewsView.do?newsId=148876722]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

DR - Disaster Recovery Plan  (0) 2022.10.17
SLP - Superword Level Parallelism  (0) 2022.06.02
mp4 container  (0) 2021.11.18
current loop to rs232  (0) 2021.10.22
usb dwc  (0) 2021.09.23
Posted by 구차니

 

Structure of MP4 Files 

MP4 is an extensible container file, meaning that it does not define a strict structure and allows custom structure and hierarchy for each media type. The data in the MP4 file is divided into two sections, the first containing the media-related data and the second containing metadata. The media data contains audio or video and metadata indicate flags for random access, timestamps, etc. The structures in MP4 are typically referred to as atoms or boxes. The minimum size of an atom is 8 bytes(the first 4 bytes specify size and the next 4 bytes specify type). Here is a list of the root level atoms contained in MP files:
  • ftyp: Contains the file type, description, and the common data structures used.
  • pdin: Contains progressive video loading/downloading information.
  • moov: Container for all the movie metadata.
  • moof: Container with video fragments.
  • mfra: The container with random access to the video fragment
  • mdat: Data container for media.
  • stts: sample-to-time table.
  • stsc: sample-to-chunk table.
  • stsz: sample sizes (framing)
  • meta: The container with the metadata information.

[링크 : https://docs.fileformat.com/video/mp4/]

[링크 : http://www.ftyps.com/]

[링크 : https://m.blog.naver.com/yesing1/70096278829]

 

+

22.01.24

[링크 : https://whitesnake1004.tistory.com/710]

 

+

팟 플레이어 메타 정보

General
Complete name                  : C:\file_example_MP4_480_1_5MG.mp4
Format                         : MPEG-4
Format profile                 : Base Media / Version 2
Codec ID                       : mp42 (mp42/mp41/isom/avc1)
File size                      : 1.50 MiB
Duration                       : 30 s 527 ms
Overall bit rate               : 411 kb/s
Encoded date                   : UTC 2015-08-07 09:13:02
Tagged date                    : UTC 2015-08-07 09:13:02

Video
ID                             : 1
Format                         : AVC
Format/Info                    : Advanced Video Codec
Format profile                 : Baseline@L3
Format settings                : 3 Ref Frames
Format settings, CABAC         : No
Format settings, Reference fra : 3 frames
Format settings, GOP           : M=1, N=90
Codec ID                       : avc1
Codec ID/Info                  : Advanced Video Coding
Duration                       : 30 s 33 ms
Bit rate                       : 300 kb/s
Width                          : 480 pixels
Height                         : 270 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 30.000 FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0
Bit depth                      : 8 bits
Scan type                      : Progressive
Bits/(Pixel*Frame)             : 0.077
Stream size                    : 1.08 MiB (72%)
Writing library                : x264 core 146 r11M 121396c
Encoding settings              : cabac=0 / ref=3 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=48 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / stitchable=1 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=infinite / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=300 / ratetol=1.0 / qcomp=0.60 / qpmin=5 / qpmax=69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=330 / vbv_bufsize=360 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                   : UTC 2015-08-07 09:13:02
Tagged date                    : UTC 2015-08-07 09:13:02
Codec configuration box        : avcC

Audio
ID                             : 2
Format                         : AAC LC
Format/Info                    : Advanced Audio Codec Low Complexity
Codec ID                       : mp4a-40-2
Duration                       : 30 s 527 ms
Bit rate mode                  : Constant
Bit rate                       : 112 kb/s
Channel(s)                     : 2 channels
Channel layout                 : L R
Sampling rate                  : 48.0 kHz
Frame rate                     : 46.875 FPS (1024 SPF)
Compression mode               : Lossy
Stream size                    : 417 KiB (27%)
Encoded date                   : UTC 2015-08-07 09:13:02
Tagged date                    : UTC 2015-08-07 09:13:02

size(4byte) + fourcc?(4byte) + data 라는 구조로 보면

 

ftyp 구획은 0x20 =32byte이고 이건 size의 4바이트 포함하여, 포맷의 종류를 적어두는 느낌? mp42 mp41 isom avc1

팟 플레이어 파일 정보 에서는 아래와 같이 나온다.

Codec ID                       : mp42 (mp42/mp41/isom/avc1)

 

moov 구획 0x2E30 길이(11824)

인코더의 메타정보 같기도 하고.. L-SMASH Video Handler, L-SMASH Audio Handler 이런 문구가 나온다.

 

free 구획 8 바이트 길이(내용 없음)

 

mdat 구획 0x17c690 (1,558,160 바이트)

 

일단은 mdat 로 끝나도 파일 재생에는 문제 없다.

[링크 : https://file-examples.com/index.php/sample-video-files/sample-mp4-files/]

 

+

moov 는 비디오 데이터의 인덱스 역할을 합니다.
플레이어가 이 인덱스에 접근할때까지 영상은 재생되지 않습니다.
보통 moov는 파일을 설명하는 모든 정보가 생성된 뒤에 파일의 끝에 저장됩니다.

[링크 : https://duzi077.tistory.com/118]

 

moov : 미디어의 모든 메타 데이타를 저장하는 무비 박스 (movie box)
  mvhd: 무비 헤더 박스 (movie header box)
  trak : 무비 안의 단일 트랙을 정의하는 박스 (track box) ------------ 반복 가능
    tkhd : 트랙의 특성을 기술 (track header box)
    edts : (edit box)
      elst : (edit list box)
    mdia : 트랙의 미디어 타입과 샘플 데이타 (media box)
      mdhd : 미디어의 특성을 기술 (media header box)
      hdlr : (handler reference box)
      minf : (media information box)
        hdlr : (handler reference box)
        stbl : (sample table box)
          stsd : 트랙의 디코딩에 필요한 코덱의 정보 (sample description box)
          stts : 샘플의 시간 (time-to-sample box)
          stsz : 청크 내 샘플의 크기 (sample size box)
          stsc : 청크 내 샘플의 수 (sample to chunk box)
          stco : 청크의 위치 (chunk offset box)

[링크 : https://unipro.tistory.com/104]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

SLP - Superword Level Parallelism  (0) 2022.06.02
digital twin  (0) 2022.04.13
current loop to rs232  (0) 2021.10.22
usb dwc  (0) 2021.09.23
fp16  (0) 2021.05.10
Posted by 구차니

current loop <-> 232로 변환이 되는걸 보면 신기하네

전류를 이용해서 0과 1을 구분하게 하고 전송하는 걸려나?

[링크 : https://en.wikipedia.org/wiki/Digital_current_loop_interface]

 

가격이 자비가 없구만 -_-

[링크 : https://www.advantech.co.kr/products/9b61869b-9881-49a5-ae89-43f1437c14d1/bb-232cl9r/mod_aee5aa69-8a42-46eb-8bf8-10df17c4a938]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

digital twin  (0) 2022.04.13
mp4 container  (0) 2021.11.18
usb dwc  (0) 2021.09.23
fp16  (0) 2021.05.10
gps 체크섬  (0) 2020.11.17
Posted by 구차니

리눅스 커널에서 보다 보니 USB에는 DWC 라는게 붙길래 찾아보니

DesignWare Core 라는 용어가 나온다.

synopsys는 회사명 designware(r)은 IP의 명칭이라고 해야하려나?

 

[링크 : https://www.synopsys.com/dw/ipdir.php?ds=dwc_usb_2_0_digital_controllers]

[링크 : https://www.kernel.org/doc/html/v5.0/driver-api/usb/dwc3.html]

 

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

mp4 container  (0) 2021.11.18
current loop to rs232  (0) 2021.10.22
fp16  (0) 2021.05.10
gps 체크섬  (0) 2020.11.17
GPX, NMEA 포맷 변환  (0) 2020.11.05
Posted by 구차니

float가 대개 32bit

double이 대개 64bit 인데

fp16이라고 16bit짜리 half precision float point라는게 존재하네..

 

They can express values in the range ±65,504, with the minimum value above 1 being 1 + 1/1024.

In the IEEE 754-2008 standard, the 16-bit base-2 format is referred to as binary16. It is intended for storage of floating-point values in applications where higher precision is not essential for performing arithmetic computations.

[링크 : https://en.wikipedia.org/wiki/Half-precision_floating-point_format]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

current loop to rs232  (0) 2021.10.22
usb dwc  (0) 2021.09.23
gps 체크섬  (0) 2020.11.17
GPX, NMEA 포맷 변환  (0) 2020.11.05
NMEA / GPS 날짜&시간  (0) 2020.11.05
Posted by 구차니

$ 제외하고 * 앞 까지의 내용을

0과 XOR해서 계산한다.

$GPRMC,011641.00,A,3724.064281,N,12659.430194,E,002.6,346.9,261020,,,A*5F

[링크 : https://nmeachecksum.eqth.net/]

[링크 : https://techlog.gurucat.net/305]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

usb dwc  (0) 2021.09.23
fp16  (0) 2021.05.10
GPX, NMEA 포맷 변환  (0) 2020.11.05
NMEA / GPS 날짜&시간  (0) 2020.11.05
온프레미스  (0) 2020.10.27
Posted by 구차니

구글 지도 에서 export 가능한 포멧이 GPX인데 XML 기반이다.

GPX를 NMEA(GPS raw data) 형식으로 변환이 가능하면

구글 어스에서 내가 경로를 만들어서 raw 데이터로 쓸 수 있으려나?

 

 

gpx to nmea를 해보는데 output data가 NMEA 0183으로 지정된다. NMEA 2000은 파일 포맷이 아닌건가?

그리고 변환해보니 (point.gpx) GPWPL 로만 생성이 된다.

 

[링크 : https://mygeodata.cloud/converter/gpx-to-nmea]

[링크 : https://mygeodata.cloud/converter/nmea-to-gpx]

 

[링크 : https://wiki.openstreetmap.org/wiki/Converting/NMEA_to_GPX]

'이론 관련 > 컴퓨터 관련' 카테고리의 다른 글

fp16  (0) 2021.05.10
gps 체크섬  (0) 2020.11.17
NMEA / GPS 날짜&시간  (0) 2020.11.05
온프레미스  (0) 2020.10.27
NMEA 포맷  (0) 2020.10.26
Posted by 구차니