8#ifndef css_bytecode_bytecode_h_
9#define css_bytecode_bytecode_h_
89 return (opcode & 0x3ff) | (
flags << 10) | ((value & 0x3fff) << 18);
99 return ((OPV >> 10) & 0xff);
114 return (getFlags(OPV) >> 1) & 0x7;
117static inline bool hasFlagValue(
css_code_t OPV)
uint8_t flags
Definition virtio.h:0
unsigned int uint32_t
Definition acefiex.h:163
unsigned char uint8_t
Definition acefiex.h:161
unsigned short int uint16_t
Definition acefiex.h:162
uint32_t colour
Definition bytecode.h:81
unit
Definition bytecode.h:38
@ UNIT_VW
Definition bytecode.h:52
@ UNIT_DPPX
Definition bytecode.h:78
@ UNIT_CH
Definition bytecode.h:48
@ UNIT_GRAD
Definition bytecode.h:63
@ UNIT_PCT
Definition bytecode.h:59
@ UNIT_PT
Definition bytecode.h:46
@ UNIT_Q
Definition bytecode.h:57
@ UNIT_VB
Definition bytecode.h:54
@ UNIT_KHZ
Definition bytecode.h:73
@ UNIT_VMIN
Definition bytecode.h:55
@ UNIT_DPCM
Definition bytecode.h:77
@ UNIT_LENGTH
Definition bytecode.h:39
@ UNIT_S
Definition bytecode.h:69
@ UNIT_CM
Definition bytecode.h:44
@ UNIT_REM
Definition bytecode.h:49
@ UNIT_TURN
Definition bytecode.h:65
@ UNIT_ANGLE
Definition bytecode.h:61
@ UNIT_IN
Definition bytecode.h:43
@ UNIT_RESOLUTION
Definition bytecode.h:75
@ UNIT_EX
Definition bytecode.h:41
@ UNIT_MM
Definition bytecode.h:45
@ UNIT_HZ
Definition bytecode.h:72
@ UNIT_VMAX
Definition bytecode.h:56
@ UNIT_DEG
Definition bytecode.h:62
@ UNIT_PC
Definition bytecode.h:47
@ UNIT_EM
Definition bytecode.h:42
@ UNIT_TIME
Definition bytecode.h:67
@ UNIT_PX
Definition bytecode.h:40
@ UNIT_VI
Definition bytecode.h:53
@ UNIT_RAD
Definition bytecode.h:64
@ UNIT_FREQ
Definition bytecode.h:71
@ UNIT_DPI
Definition bytecode.h:76
@ UNIT_LH
Definition bytecode.h:50
@ UNIT_VH
Definition bytecode.h:51
@ UNIT_MS
Definition bytecode.h:68
shape
Definition bytecode.h:83
@ SHAPE_RECT
Definition bytecode.h:84
flag_value
Definition bytecode.h:21
@ FLAG_VALUE_INHERIT
Definition bytecode.h:23
@ FLAG_VALUE_REVERT
Definition bytecode.h:25
@ FLAG_VALUE_INITIAL
Definition bytecode.h:24
@ FLAG_VALUE_UNSET
Definition bytecode.h:26
@ FLAG_VALUE__NONE
Definition bytecode.h:22
uint32_t css_code_t
Definition bytecode.h:17
flag
Definition bytecode.h:29
@ FLAG_UNSET
Definition bytecode.h:34
@ FLAG_IMPORTANT
Definition bytecode.h:30
@ FLAG_REVERT
Definition bytecode.h:33
@ FLAG_INITIAL
Definition bytecode.h:32
@ FLAG_INHERIT
Definition bytecode.h:31
enum css_properties_e opcode_t
Definition bytecode.h:19
css_properties_e
Definition properties.h:16