2010年1月6日 星期三

Y Color Range, Color space problem

Old standard use ITU 601
HD format use ITU 709

ITU 709 使用不同的轉換公式

Rec. 601 Y' = 0.299 R' + 0.587 G' + 0.114 B'
Rec. 709 Y' = 0.2126 R' + 0.7152 G' + 0.0722 B'

請參考
http://www.glennchan.info/articles/technical/hd-versus-sd-color-space/hd-versus-sd-color-space.htm
還有Rec. 709 in wikipedia
http://en.wikipedia.org/wiki/Rec._709

http://dcmc.ee.ncku.edu.tw/pdf/course/Reports/Adaptive_Logarithmic_Mapping_For_Displaying_High_Contrast_Scenes.pdf

sRGB 和 Rec. 709 的primaries 一樣

Color 校正討論
http://my3c.com/D5/archiver/?tid-3187.html


Color system  ( Color appearance model )

CIEXYZ 1931
CIELAB 1976

Munsell 1930s
CIECAM 2002

CIECAM02 is used in Windows Vista's Windows Color System.

2009年12月28日 星期一

WINCE 不SUPPORT的函數

MFC for Windows CE does not support the following methods of the CWnd class:


ArrangeIconicWindows

CancelToolTips

ChangeClipboardChain

CreateCaret

CreateGrayCaret

DlgDirList

DlgDirListComboBox

DlgDirSelect

DlgDirSelectComboBox

DragAcceptFiles

DrawMenuBar

EnableScrollBar

EnableToolTips

FilterToolTipMessage

FlashWindow

GetClipboardViewer

GetDCEx

GetDSCCursor

GetLastActivePopup

GetSystemMenu

GetUpdateRgn

GetWindowContextHelpId

GetWindowPlacement

GetWindowRgn

HiliteMenuItem

InvalidateRgn

IsZoomed

LockWindowUpdate

OnActivateApp

OnAskCbFormatName

OnChangeCbChain

OnChildActivate

OnCompacting

OnContextMenu

OnDeviceChange

OnDevModeChange

OnDrawClipboard

OnDropFiles

OnDSCNotify

OnEndSession

OnEnterIdle

OnEnterMenuLoop

OnExitMenuLoop

OnGetMinMaxInfo

OnHScrollClipboard

OnIconEraseBkgnd

OnInitMenu

OnMButtonDblClk

OnMButtonDown

OnMButtonUp

OnMDIActivate

OnMenuSelect

OnMouseActivate

OnMouseWheel

OnMoving

OnNcActivate

OnNcCalcSize

OnNcCreate

OnNcHitTest

OnNcLButtonDblClk

OnNcLButtonDown

OnNcLButtonUp

OnNcMButtonDblClk

OnNcMButtonDown

OnNcMButtonUp

OnNcMouseMove

OnNcPaint

OnNcRButtonDblClk

OnNcRButtonDown

OnNcRButtonUp

OnPaintClipboard

OnPaletteIsChanging

OnParentNotify

OnQueryDragIcon

OnQueryEndSession

OnQueryNewPalette

OnQueryOpen

OnRButtonDblClk

OnRButtonDown

OnRButtonUp

OnRegisteredMouseWheel

OnSetCursor

OnSizeClipboard

OnSizing

OnSpoolerStatus

OnStyleChanging

OnSysColorChange

OnTimeChange

OnToolHitTest

OnVScrollClipboard

OnWindowPosChanging

SetClipboardViewer

SetMenu

SetWindowContextHelpId

SetWindowPlacement

SetWindowRgn

ShowOwnedPopups

ShowScrollBar

UnockWindowUpdate

ValidateRgn

 
 
http://msdn.microsoft.com/ja-jp/library/ms930331.aspx

2009年12月10日 星期四

Audio 知識

Sound --> ADC --> Digital Form ( CD, SACD, XRCD )
Digital Form --> DAC --> Analog --> Amplifier --> Speaker

Digital Form Enhance
1. Upsampling ( Dithering + Noise Shaping(Shaving?) + ...

24bit/176.4KHz Best
24bit Dynamic Range ( Equal Segment) is 144dB
20bit Dynamic Range is 120dB
16bit Dynamic Range is 96dB
XRCD Dynamic Range is around 108dB

Formula

20 * log10( 2^24 ) = 20 * 7.22 = 144 dB

SNR = Dynamic Range + 1.76dB

The dynamic range of human hearing is roughly 140 dB.

2. Digital Transfer
by SPDIF

by XLR

by HDMI

transmiiter IC --> wire --> receiver IC--> I2S ( DAC accepted form ) --> DAC




DAC

Dynamic Range
SNR
THD ( Total Harmonic Distortion )
IMD

PCM1792 Datasheet recommended using NE5534 & LT1028 op

The operational amplifier recommended for the IV circuit is the NE5534, and the operational amplifier recommended for the differential circuit is the Linear Technology LT1028, because its input noise is low.


The circuit of Figure 37 can realize the highest performance. In this case the output level is set to 4.5 V rms and 129 dB S/N is achieved (stereo mode). In monaural mode, if the output of the L-channel and R-channel is used as a balanced output, 132 dB S/N is achieved (see Figure 39).
Balanced Output (XLR, TRS)

2009年11月29日 星期日

Making Money Thought

1. increase C/P
2. Automatic increase
3. Mass Customer


1. 能隨時間 經驗增加價值
2. 自動工作 (365天24小時無休)
3. 服務更多的人

Don't be a labor, be a Consultant

2009年11月26日 星期四

目錄無法Delete Copy Rename 的問題

在USB300 發現一個問題 就是在網路中無法將目錄改名

那是因為目錄名稱最後是空白字元 ( Trailing Space )
參考 http://support.microsoft.com/?scid=kb%3Ben-us%3B320081&x=15&y=12

2009年11月25日 星期三

2009年9月22日 星期二

MAC Address

在assign MAC address 的時候,要注意順序

前3個是OUI ( Organizationally Unique Identifier )
而且 第一個byte( MSB) 的最後一個bit 代表 unicast or multicast
假如為1 , 就會是multicast , 在很多網路上會不能用
要注意