'2022/07'에 해당되는 글 41건

  1. 2022.07.09 남에 집 구경
  2. 2022.07.08 일본 아베 총 맞아
  3. 2022.07.07 kore - c restful api server
  4. 2022.07.07 weston redraw 취소하기
  5. 2022.07.06 v4l2-ctl 밝기 조절
  6. 2022.07.06 정수기 필터 구매
  7. 2022.07.06 uvcdynctrl
  8. 2022.07.05 tsdb influxdb
  9. 2022.07.04 grid와 flex
  10. 2022.07.04 상큼한 월요일. 지각 -_-

첫 애 친구네 집이 조만간 이사갈 예정이라

오늘 처음으로 공개된대서 가봤더니

역시 큰 집이 최고여..

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

컴백 홈 그리고 집 뒤집기  (0) 2022.07.24
여름휴가의.시작  (0) 2022.07.22
정수기 필터 구매  (0) 2022.07.06
보일러 고장  (0) 2022.07.01
6.25  (0) 2022.06.25
Posted by 구차니
Posted by 구차니
Programming/C Win32 MFC2022. 7. 7. 19:08

c언어로 작성된 REST API

당연하지만(?) openSSL을 요구한다.

 

[링크 : https://choiseokwon.tistory.com/310]

[링크 : https://docs.kore.io/4.0.0/]

'Programming > C Win32 MFC' 카테고리의 다른 글

c에서 cpp 함수 불러오기  (0) 2023.01.04
MSB / LSB 변환  (0) 2022.08.29
fopen exclusivly  (0) 2021.07.09
vs2019 sdi , mdi 프로젝트 생성하기  (0) 2021.07.08
vkey win32 / linux  (0) 2021.04.30
Posted by 구차니

코드 분석하다 보니 아래와 같은 함수를 compositor.c에서 발견함.

weston 에서 호출되는 곳은 3 곳.

 

/** State of the repaint loop */
enum {
REPAINT_NOT_SCHEDULED = 0, /**< idle; no repaint will occur */
REPAINT_BEGIN_FROM_IDLE, /**< start_repaint_loop scheduled */
REPAINT_SCHEDULED, /**< repaint is scheduled to occur */
REPAINT_AWAITING_COMPLETION, /**< last repaint not yet finished */
} repaint_status;

static void
weston_output_schedule_repaint_reset(struct weston_output *output)
{
output->repaint_status = REPAINT_NOT_SCHEDULED;
TL_POINT(output->compositor, "core_repaint_exit_loop",
 TLP_OUTPUT(output), TLP_END);
}

'프로그램 사용 > wayland' 카테고리의 다른 글

wayvnc 0.5 릴리즈  (0) 2022.08.09
capture drm screen  (0) 2022.08.08
weston drm debug  (0) 2022.06.29
libwayland debug 메시지  (0) 2022.06.27
libwayland  (0) 2022.06.27
Posted by 구차니
Linux API/v4l2022. 7. 6. 15:21

 

$ v4l2-ctl

General/Common options:
  --all              display all information available
  -C, --get-ctrl=<ctrl>[,<ctrl>...]
                     get the value of the controls [VIDIOC_G_EXT_CTRLS]
  -c, --set-ctrl=<ctrl>=<val>[,<ctrl>=<val>...]
                     set the value of the controls [VIDIOC_S_EXT_CTRLS]
  -D, --info         show driver info [VIDIOC_QUERYCAP]
  -d, --device=<dev> use device <dev> instead of /dev/video0
                     if <dev> starts with a digit, then /dev/video<dev> is used
  -e, --out-device=<dev> use device <dev> for output streams instead of the
                     default device as set with --device
                     if <dev> starts with a digit, then /dev/video<dev> is used
  -h, --help         display this help message
  --help-all         all options
  --help-io          input/output options
  --help-misc        miscellaneous options
  --help-overlay     overlay format options
  --help-sdr         SDR format options
  --help-selection   crop/selection options
  --help-stds        standards and other video timings options
  --help-streaming   streaming options
  --help-tuner       tuner/modulator options
  --help-vbi         VBI format options
  --help-vidcap      video capture format options
  --help-vidout      vidout output format options
  --help-edid        edid handling options
  -k, --concise      be more concise if possible.
  -l, --list-ctrls   display all controls and their values [VIDIOC_QUERYCTRL]
  -L, --list-ctrls-menus
                     display all controls and their menus [VIDIOC_QUERYMENU]
  -r, --subset=<ctrl>[,<offset>,<size>]+
                     the subset of the N-dimensional array to get/set for control <ctrl>,
                     for every dimension an (<offset>, <size>) tuple is given.
  -w, --wrapper      use the libv4l2 wrapper library.
  --list-devices     list all v4l devices
  --log-status       log the board status in the kernel log [VIDIOC_LOG_STATUS]
  --get-priority     query the current access priority [VIDIOC_G_PRIORITY]
  --set-priority=<prio>
                     set the new access priority [VIDIOC_S_PRIORITY]
                     <prio> is 1 (background), 2 (interactive) or 3 (record)
  --silent           only set the result code, do not print any messages
  --sleep=<secs>     sleep <secs>, call QUERYCAP and close the file handle
  --verbose          turn on verbose ioctl status reporting

 

$ v4l2-ctl -l -d /dev/video2
                     brightness 0x00980900 (int)    : min=-64 max=64 step=1 default=0 value=0
                       contrast 0x00980901 (int)    : min=0 max=95 step=1 default=5 value=5
                     saturation 0x00980902 (int)    : min=0 max=100 step=1 default=60 value=60
                            hue 0x00980903 (int)    : min=-2000 max=2000 step=1 default=0 value=0
 white_balance_temperature_auto 0x0098090c (bool)   : default=1 value=1
                          gamma 0x00980910 (int)    : min=100 max=300 step=1 default=100 value=100
                           gain 0x00980913 (int)    : min=1 max=8 step=1 default=1 value=1
           power_line_frequency 0x00980918 (menu)   : min=0 max=2 default=1 value=2
      white_balance_temperature 0x0098091a (int)    : min=2800 max=6500 step=1 default=4600 value=4600 flags=inactive
                      sharpness 0x0098091b (int)    : min=1 max=7 step=1 default=2 value=2
         backlight_compensation 0x0098091c (int)    : min=0 max=1 step=1 default=1 value=1
                  exposure_auto 0x009a0901 (menu)   : min=0 max=3 default=3 value=1
              exposure_absolute 0x009a0902 (int)    : min=10 max=626 step=1 default=156 value=25

 

v4l2-ctl -d /dev/video2 -c exposure_absolute=70
v4l2-ctl -d /dev/video2 -c exposure_absolute=600

[링크 : https://thirdnsov.tistory.com/107]

'Linux API > v4l' 카테고리의 다른 글

v4l2 debug  (0) 2022.07.13
v4l2 timestamp  (0) 2017.04.19
uv4l  (0) 2015.09.13
리눅스에 웹캠 연결시 인식  (5) 2009.12.06
Posted by 구차니

쓴지도 2년이 되어가니

케이블류 랑 피팅을 갈아줄까 고민중

 

정수필터 꽂는 "헤드" 만은 안파는것 같고

1차 필터와 2차 필터 사이에 Y 피팅은 왜  썼는지 모르겠고

피팅들도 웬만큼 다 빼버리고 다이렉트로 꽂아볼까?

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

여름휴가의.시작  (0) 2022.07.22
남에 집 구경  (0) 2022.07.09
보일러 고장  (0) 2022.07.01
6.25  (0) 2022.06.25
어머니 생신  (0) 2022.06.25
Posted by 구차니
Linux2022. 7. 6. 13:31

 

$ uvcdynctrl -h
uvcdynctrl 0.2.4

Manage dynamic controls in uvcvideo

Usage: uvcdynctrl [OPTIONS]... [VALUES]...

  -h, --help               Print help and exit
  -V, --version            Print version and exit
  -l, --list               List available cameras
  -i, --import=filename    Import dynamic controls from an XML file
  -a, --addctrl=vid        Import dynamic controls for vid from default location
  -v, --verbose            Enable verbose output  (default=off)
  -d, --device=devicename  Specify the device to use  (default=`video0')
  -c, --clist              List available controls
  -g, --get=control        Retrieve the current control value
  -G, --get_raw=unit_id:selector        Retrieve the current raw control value
  -s, --set=control        Set a new control value
                            (For negative values: -s 'My Control' -- -42)
  -S, --set_raw=unit_id:selector        Set the current raw control value
                            (value is a hex string of control size,
                             default is little endian- '(BE)' prefix to change:
                             -S 13:1 0x01100c or -S 13:1 '(BE)0x0c1001' )

  -f, --formats            List available frame formats
  -W, --save=filename      Save device controls state to a file
  -L, --load=filename      Load device controls state from a file

 

2760p 내장 카메라, 로지텍 웹캠(HD Pro Webcam C920)

$ uvcdynctrl -c
Listing available controls for device video0:
  Brightness
  Contrast
  Saturation
  Hue
  White Balance Temperature, Auto
  Gamma
  Power Line Frequency
  White Balance Temperature
  Sharpness
  Backlight Compensation
  Exposure, Auto
  Exposure (Absolute)
  Exposure, Auto Priority

$ sudo uvcdynctrl -d /dev/video2 -c
Listing available controls for device /dev/video2:
  Brightness
  Contrast
  Saturation
  White Balance Temperature, Auto
  Gain
  Power Line Frequency
  White Balance Temperature
  Sharpness
  Backlight Compensation
  Exposure, Auto
  Exposure (Absolute)
  Exposure, Auto Priority
  Pan (Absolute)
  Tilt (Absolute)
  Focus (absolute)
  Focus, Auto
  Zoom, Absolute
  LED1 Mode
  LED1 Frequency

[링크 : https://coding-yoon.tistory.com/107]

[링크 : https://manpages.ubuntu.com/manpages/jammy/en/man1/uvcdynctrl.1.html]

'Linux' 카테고리의 다른 글

리눅스 경로 / 와 // 와 ///  (0) 2022.11.01
리눅스 프로세스 숨기기  (0) 2022.08.31
dmesg -w  (0) 2022.06.30
dmesg log_buf_len  (0) 2022.06.29
bash set -e set -x  (0) 2022.06.22
Posted by 구차니
파일방2022. 7. 5. 16:32

tdb - time series db

시계열 데이터를 저장하는데 특화된 db

MIT 라이선스 라는데.. 상용 사용 가능하려나?

 

[링크 : https://www.influxdata.com/]

'파일방' 카테고리의 다른 글

barrier - fork of synergy  (0) 2023.01.02
fsn (fusion) - file system navigator  (0) 2022.08.26
rufus - symbol 'grub_register_command_lockdown' not found  (0) 2022.06.27
codesys  (0) 2022.05.18
debian noroot 와 userland  (0) 2022.05.02
Posted by 구차니
Programming/web 관련2022. 7. 4. 18:06

웹 2년 넘게 안했더니

또 어떤 놈(?)들이 사악한걸 만들어 놨네

 

[링크 : https://studiomeal.com/archives/197]

[링크 : https://studiomeal.com/archives/533]

 

+

2022.08.08

display: flex; 로 설정하고

flex-direction: row;

flex-direction: column;

으로 쌓일 방향을 지정가능하다.

[링크 : https://heropy.blog/2018/11/24/css-flexible-box/]

'Programming > web 관련' 카테고리의 다른 글

JWT 로그인 예제  (0) 2022.08.24
quirks mode  (0) 2022.08.08
markdown 문법 - 체크박스  (0) 2020.10.15
크롬 확장도구 - json viewer  (0) 2019.08.07
resizable table cell  (0) 2019.06.17
Posted by 구차니

추경호 기획재정부 장관이 답하라면서

그 장관집을 가로막는 것도 아니고

해당 부서에서 시위하는것도 아니고

왜 뜬금없이 4호선이냐고 -_-

 

[링크 : https://news.v.daum.net/v/20220704101749645]

 

세종시에 있구만!!

[링크 : https://www.moef.go.kr/mi/otlnmap.do;jsessionid=wy94hAljQpFVwon+3eX-E0CS.node30?menuNo=9080000]

'개소리 왈왈 > 직딩의 비애' 카테고리의 다른 글

덥다.. 여름인가  (0) 2022.08.02
시간만 지나간다.  (0) 2022.07.18
회사 야유회  (0) 2022.06.24
총제적 난국  (0) 2022.06.15
외근  (0) 2022.06.14
Posted by 구차니