# 1280x720@50p slow pixclk **

# STC counter reference clock based on MCLK27
00001000 0000

# V_IP_FORMAT = arbirtrary Progressive, V_FORMAT = arbitrary resolution
0000140a 17FF

# vin/out swap
00001418 0001

# gop struct,  V_STRM_FORMAT = arbitrary resolution
00001430 00FF

# set external sync
00001540 1000

# VIN_TOP_START_LINE
00001542 0001

# VIN_BOT_START_LINE - not relevant for progressive set outside 720
00001544 FFFF

#Set VIN_MAX_HCOUNT to 1821 = 1280 + 542 -1
00001546 071D

#Set VIN_MAX_VCOUNT to 849 = 720 + 129
00001548 0351

#Set VIN_H_VALID_POS to 541
0000154a 021E

#VIN_TOP_VALID_LINE set to 127
0000154c 007F

#VIN_BOT_VALID_LINE - not relevant for progressive set outside 720
0000154e FFFF

#Set VIN_VALID_HCOUNT to 1280
00001550 0500

#Set VIN_VALID_VCOUNT to 720
00001552 02d0

# set H.264 profile
# High L2.0
#000015A0 4014
# High L4.0
000015A0 4028

# set the horizontal macroblock size = 1280 / 16 = 80
000015A2 0050

# set the vertical macroblock size = 720 / 16 = 45
000015A4 002D

# frame rate =	timescale/num_units_in_tick			(where for prog scan = twice frame rate)
#	29.97					60000/1001
#	30						60/1
# 59.97					120000/1001
# 60						120/1
#..assume 
# 48						96/1

# set number of units in tick
000015A6 0001

# set time_scale_h
000015A8 0000

# set time_scale_l
000015AA 0060

# set aspect ratio IDC
000015AC 00FF

# set sar_width
000015AE 0001

# set sar_height
000015B0 0001
