1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
|
/*
* Copyright (c) 2011 Intel Corporation. All Rights Reserved.
* Copyright (c) Imagination Technologies Limited, UK
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sub license, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice (including the
* next paragraph) shall be included in all copies or substantial portions
* of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
* IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
* ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/******************************************************************************
@File dxva_cmdseq_msg.h
@Title Debug driver
@Platform </b>\n
@Description </b>\n This file contains the VA_CMDSEQ_MSG_H Definitions.
******************************************************************************/
#if !defined (__VA_CMDSEQ_MSG_H__)
#define __VA_CMDSEQ_MSG_H__
#ifdef __cplusplus
extern "C" {
#endif
/* Deblock parameters */
typedef struct {
uint32_t handle; /* struct ttm_buffer_object * of REGIO */
uint32_t buffer_size;
uint32_t ctxid;
uint32_t *pPicparams;
void *regio_kmap; /* virtual of regio */
uint32_t pad[3];
} DEBLOCKPARAMS;
/* Host BE OPP parameters */
typedef struct {
uint32_t handle; /* struct ttm_buffer_object * of REGIO */
uint32_t buffer_stride;
uint32_t buffer_size;
uint32_t picture_width_mb;
uint32_t size_mb;
} FRAME_INFO_PARAMS;
typedef struct {
union {
struct {
uint32_t msg_size :
8;
uint32_t msg_type :
8;
uint32_t msg_fence :
16;
} bits;
uint32_t value;
} header;
union {
struct {
uint32_t flags :
16;
uint32_t slice_type :
8;
uint32_t padding :
8;
} bits;
uint32_t value;
} flags;
uint32_t operating_mode;
union {
struct {
uint32_t context :
8;
uint32_t mmu_ptd :
24;
} bits;
uint32_t value;
} mmu_context;
union {
struct {
uint32_t frame_height_mb :
16;
uint32_t pic_width_mb :
16;
} bits;
uint32_t value;
} pic_size;
uint32_t address_a0;
uint32_t address_a1;
uint32_t mb_param_address;
uint32_t ext_stride_a;
uint32_t address_b0;
uint32_t address_b1;
uint32_t rotation_flags;
} FW_VA_DEBLOCK_MSG;
/* OOLD message */
typedef struct {
uint32_t pad[5];
uint32_t SOURCE_LUMA_BUFFER_ADDRESS;
uint32_t SOURCE_CHROMA_BUFFER_ADDRESS;
uint32_t SOURCE_MB_PARAM_ADDRESS;
uint32_t TARGET_LUMA_BUFFER_ADDRESS;
uint32_t TARGET_CHROMA_BUFFER_ADDRESS;
} FW_VA_OOLD_MSG;
#define FW_VA_RENDER_SIZE (32)
// FW_VA_RENDER MSG_SIZE
#define FW_VA_RENDER_MSG_SIZE_ALIGNMENT (1)
#define FW_VA_RENDER_MSG_SIZE_TYPE IMG_UINT8
#define FW_VA_RENDER_MSG_SIZE_MASK (0xFF)
#define FW_VA_RENDER_MSG_SIZE_LSBMASK (0xFF)
#define FW_VA_RENDER_MSG_SIZE_OFFSET (0x0000)
#define FW_VA_RENDER_MSG_SIZE_SHIFT (0)
// FW_VA_RENDER ID
#define FW_VA_RENDER_ID_ALIGNMENT (1)
#define FW_VA_RENDER_ID_TYPE IMG_UINT8
#define FW_VA_RENDER_ID_MASK (0xFF)
#define FW_VA_RENDER_ID_LSBMASK (0xFF)
#define FW_VA_RENDER_ID_OFFSET (0x0001)
#define FW_VA_RENDER_ID_SHIFT (0)
// FW_VA_RENDER BUFFER_SIZE
#define FW_VA_RENDER_BUFFER_SIZE_ALIGNMENT (2)
#define FW_VA_RENDER_BUFFER_SIZE_TYPE IMG_UINT16
#define FW_VA_RENDER_BUFFER_SIZE_MASK (0x0FFF)
#define FW_VA_RENDER_BUFFER_SIZE_LSBMASK (0x0FFF)
#define FW_VA_RENDER_BUFFER_SIZE_OFFSET (0x0002)
#define FW_VA_RENDER_BUFFER_SIZE_SHIFT (0)
// FW_VA_RENDER MMUPTD
#define FW_VA_RENDER_MMUPTD_ALIGNMENT (4)
#define FW_VA_RENDER_MMUPTD_TYPE IMG_UINT32
#define FW_VA_RENDER_MMUPTD_MASK (0xFFFFFFFF)
#define FW_VA_RENDER_MMUPTD_LSBMASK (0xFFFFFFFF)
#define FW_VA_RENDER_MMUPTD_OFFSET (0x0004)
#define FW_VA_RENDER_MMUPTD_SHIFT (0)
// FW_VA_RENDER LLDMA_ADDRESS
#define FW_VA_RENDER_LLDMA_ADDRESS_ALIGNMENT (4)
#define FW_VA_RENDER_LLDMA_ADDRESS_TYPE IMG_UINT32
#define FW_VA_RENDER_LLDMA_ADDRESS_MASK (0xFFFFFFFF)
#define FW_VA_RENDER_LLDMA_ADDRESS_LSBMASK (0xFFFFFFFF)
#define FW_VA_RENDER_LLDMA_ADDRESS_OFFSET (0x0008)
#define FW_VA_RENDER_LLDMA_ADDRESS_SHIFT (0)
// FW_VA_RENDER CONTEXT
#define FW_VA_RENDER_CONTEXT_ALIGNMENT (4)
#define FW_VA_RENDER_CONTEXT_TYPE IMG_UINT32
#define FW_VA_RENDER_CONTEXT_MASK (0xFFFFFFFF)
#define FW_VA_RENDER_CONTEXT_LSBMASK (0xFFFFFFFF)
#define FW_VA_RENDER_CONTEXT_OFFSET (0x000C)
#define FW_VA_RENDER_CONTEXT_SHIFT (0)
// FW_VA_RENDER FENCE_VALUE
#define FW_VA_RENDER_FENCE_VALUE_ALIGNMENT (4)
#define FW_VA_RENDER_FENCE_VALUE_TYPE IMG_UINT32
#define FW_VA_RENDER_FENCE_VALUE_MASK (0xFFFFFFFF)
#define FW_VA_RENDER_FENCE_VALUE_LSBMASK (0xFFFFFFFF)
#define FW_VA_RENDER_FENCE_VALUE_OFFSET (0x0010)
#define FW_VA_RENDER_FENCE_VALUE_SHIFT (0)
// FW_VA_RENDER OPERATING_MODE
#define FW_VA_RENDER_OPERATING_MODE_ALIGNMENT (4)
#define FW_VA_RENDER_OPERATING_MODE_TYPE IMG_UINT32
#define FW_VA_RENDER_OPERATING_MODE_MASK (0xFFFFFFFF)
#define FW_VA_RENDER_OPERATING_MODE_LSBMASK (0xFFFFFFFF)
#define FW_VA_RENDER_OPERATING_MODE_OFFSET (0x0014)
#define FW_VA_RENDER_OPERATING_MODE_SHIFT (0)
// FW_VA_RENDER FIRST_MB_IN_SLICE
#define FW_VA_RENDER_FIRST_MB_IN_SLICE_ALIGNMENT (2)
#define FW_VA_RENDER_FIRST_MB_IN_SLICE_TYPE IMG_UINT16
#define FW_VA_RENDER_FIRST_MB_IN_SLICE_MASK (0xFFFF)
#define FW_VA_RENDER_FIRST_MB_IN_SLICE_LSBMASK (0xFFFF)
#define FW_VA_RENDER_FIRST_MB_IN_SLICE_OFFSET (0x0018)
#define FW_VA_RENDER_FIRST_MB_IN_SLICE_SHIFT (0)
// FW_VA_RENDER LAST_MB_IN_FRAME
#define FW_VA_RENDER_LAST_MB_IN_FRAME_ALIGNMENT (2)
#define FW_VA_RENDER_LAST_MB_IN_FRAME_TYPE IMG_UINT16
#define FW_VA_RENDER_LAST_MB_IN_FRAME_MASK (0xFFFF)
#define FW_VA_RENDER_LAST_MB_IN_FRAME_LSBMASK (0xFFFF)
#define FW_VA_RENDER_LAST_MB_IN_FRAME_OFFSET (0x001A)
#define FW_VA_RENDER_LAST_MB_IN_FRAME_SHIFT (0)
// FW_VA_RENDER FLAGS
#define FW_VA_RENDER_FLAGS_ALIGNMENT (4)
#define FW_VA_RENDER_FLAGS_TYPE IMG_UINT32
#define FW_VA_RENDER_FLAGS_MASK (0xFFFFFFFF)
#define FW_VA_RENDER_FLAGS_LSBMASK (0xFFFFFFFF)
#define FW_VA_RENDER_FLAGS_OFFSET (0x001C)
#define FW_VA_RENDER_FLAGS_SHIFT (0)
#define FW_DEVA_DECODE_SIZE (20)
// FW_DEVA_DECODE MSG_ID
#define FW_DEVA_DECODE_MSG_ID_ALIGNMENT (2)
#define FW_DEVA_DECODE_MSG_ID_TYPE IMG_UINT16
#define FW_DEVA_DECODE_MSG_ID_MASK (0xFFFF)
#define FW_DEVA_DECODE_MSG_ID_LSBMASK (0xFFFF)
#define FW_DEVA_DECODE_MSG_ID_OFFSET (0x0002)
#define FW_DEVA_DECODE_MSG_ID_SHIFT (0)
// FW_DEVA_DECODE ID
#define FW_DEVA_DECODE_ID_ALIGNMENT (1)
#define FW_DEVA_DECODE_ID_TYPE IMG_UINT8
#define FW_DEVA_DECODE_ID_MASK (0xFF)
#define FW_DEVA_DECODE_ID_LSBMASK (0xFF)
#define FW_DEVA_DECODE_ID_OFFSET (0x0001)
#define FW_DEVA_DECODE_ID_SHIFT (0)
// FW_DEVA_DECODE MSG_SIZE
#define FW_DEVA_DECODE_MSG_SIZE_ALIGNMENT (1)
#define FW_DEVA_DECODE_MSG_SIZE_TYPE IMG_UINT8
#define FW_DEVA_DECODE_MSG_SIZE_MASK (0xFF)
#define FW_DEVA_DECODE_MSG_SIZE_LSBMASK (0xFF)
#define FW_DEVA_DECODE_MSG_SIZE_OFFSET (0x0000)
#define FW_DEVA_DECODE_MSG_SIZE_SHIFT (0)
// FW_DEVA_DECODE FLAGS
#define FW_DEVA_DECODE_FLAGS_ALIGNMENT (2)
#define FW_DEVA_DECODE_FLAGS_TYPE IMG_UINT16
#define FW_DEVA_DECODE_FLAGS_MASK (0xFFFF)
#define FW_DEVA_DECODE_FLAGS_LSBMASK (0xFFFF)
#define FW_DEVA_DECODE_FLAGS_OFFSET (0x0004)
#define FW_DEVA_DECODE_FLAGS_SHIFT (0)
// FW_DEVA_DECODE BUFFER_SIZE
#define FW_DEVA_DECODE_BUFFER_SIZE_ALIGNMENT (2)
#define FW_DEVA_DECODE_BUFFER_SIZE_TYPE IMG_UINT16
#define FW_DEVA_DECODE_BUFFER_SIZE_MASK (0xFFFF)
#define FW_DEVA_DECODE_BUFFER_SIZE_LSBMASK (0xFFFF)
#define FW_DEVA_DECODE_BUFFER_SIZE_OFFSET (0x0006)
#define FW_DEVA_DECODE_BUFFER_SIZE_SHIFT (0)
// FW_DEVA_DECODE LLDMA_ADDRESS
#define FW_DEVA_DECODE_LLDMA_ADDRESS_ALIGNMENT (4)
#define FW_DEVA_DECODE_LLDMA_ADDRESS_TYPE IMG_UINT32
#define FW_DEVA_DECODE_LLDMA_ADDRESS_MASK (0xFFFFFFFF)
#define FW_DEVA_DECODE_LLDMA_ADDRESS_LSBMASK (0xFFFFFFFF)
#define FW_DEVA_DECODE_LLDMA_ADDRESS_OFFSET (0x0008)
#define FW_DEVA_DECODE_LLDMA_ADDRESS_SHIFT (0)
// FW_DEVA_DECODE MMUPTD
#define FW_DEVA_DECODE_MMUPTD_ALIGNMENT (4)
#define FW_DEVA_DECODE_MMUPTD_TYPE IMG_UINT32
#define FW_DEVA_DECODE_MMUPTD_MASK (0xFFFFFF00)
#define FW_DEVA_DECODE_MMUPTD_LSBMASK (0x00FFFFFF)
#define FW_DEVA_DECODE_MMUPTD_OFFSET (0x000C)
#define FW_DEVA_DECODE_MMUPTD_SHIFT (8)
// FW_DEVA_DECODE CONTEXT
#define FW_DEVA_DECODE_CONTEXT_ALIGNMENT (1)
#define FW_DEVA_DECODE_CONTEXT_TYPE IMG_UINT8
#define FW_DEVA_DECODE_CONTEXT_MASK (0xFF)
#define FW_DEVA_DECODE_CONTEXT_LSBMASK (0xFF)
#define FW_DEVA_DECODE_CONTEXT_OFFSET (0x000C)
#define FW_VA_DEBLOCK_SIZE (16 + 32) /* 32 bytes for DEBLOCKPARAMS */
#define FW_DEVA_DEBLOCK_SIZE (48)
#define FW_DEVA_DECODE_CONTEXT_SHIFT (0)
// FW_DEVA_DECODE OPERATING_MODE
#define FW_DEVA_DECODE_OPERATING_MODE_ALIGNMENT (4)
#define FW_DEVA_DECODE_OPERATING_MODE_TYPE IMG_UINT32
#define FW_DEVA_DECODE_OPERATING_MODE_MASK (0xFFFFFFFF)
#define FW_DEVA_DECODE_OPERATING_MODE_LSBMASK (0xFFFFFFFF)
#define FW_DEVA_DECODE_OPERATING_MODE_OFFSET (0x0010)
#define FW_DEVA_DECODE_OPERATING_MODE_SHIFT (0)
// FW_VA_DEBLOCK MSG_SIZE
#define FW_VA_DEBLOCK_MSG_SIZE_ALIGNMENT (1)
#define FW_VA_DEBLOCK_MSG_SIZE_TYPE IMG_UINT8
#define FW_VA_DEBLOCK_MSG_SIZE_MASK (0xFF)
#define FW_VA_DEBLOCK_MSG_SIZE_LSBMASK (0xFF)
#define FW_VA_DEBLOCK_MSG_SIZE_OFFSET (0x0000)
#define FW_VA_DEBLOCK_MSG_SIZE_SHIFT (0)
// FW_VA_DEBLOCK ID
#define FW_VA_DEBLOCK_ID_ALIGNMENT (1)
#define FW_VA_DEBLOCK_ID_TYPE IMG_UINT8
#define FW_VA_DEBLOCK_ID_MASK (0xFF)
#define FW_VA_DEBLOCK_ID_LSBMASK (0xFF)
#define FW_VA_DEBLOCK_ID_OFFSET (0x0001)
#define FW_VA_DEBLOCK_ID_SHIFT (0)
// FW_VA_DEBLOCK FLAGS
#define FW_VA_DEBLOCK_FLAGS_ALIGNMENT (2)
#define FW_VA_DEBLOCK_FLAGS_TYPE IMG_UINT16
#define FW_VA_DEBLOCK_FLAGS_MASK (0xFFFF)
#define FW_VA_DEBLOCK_FLAGS_LSBMASK (0xFFFF)
#define FW_VA_DEBLOCK_FLAGS_OFFSET (0x0002)
#define FW_VA_DEBLOCK_FLAGS_SHIFT (0)
// FW_VA_DEBLOCK CONTEXT
#define FW_VA_DEBLOCK_CONTEXT_ALIGNMENT (4)
#define FW_VA_DEBLOCK_CONTEXT_TYPE IMG_UINT32
#define FW_VA_DEBLOCK_CONTEXT_MASK (0xFFFFFFFF)
#define FW_VA_DEBLOCK_CONTEXT_LSBMASK (0xFFFFFFFF)
#define FW_VA_DEBLOCK_CONTEXT_OFFSET (0x0004)
#define FW_VA_DEBLOCK_CONTEXT_SHIFT (0)
// FW_VA_DEBLOCK FENCE_VALUE
#define FW_VA_DEBLOCK_FENCE_VALUE_ALIGNMENT (4)
#define FW_VA_DEBLOCK_FENCE_VALUE_TYPE IMG_UINT32
#define FW_VA_DEBLOCK_FENCE_VALUE_MASK (0xFFFFFFFF)
#define FW_VA_DEBLOCK_FENCE_VALUE_LSBMASK (0xFFFFFFFF)
#define FW_VA_DEBLOCK_FENCE_VALUE_OFFSET (0x0008)
#define FW_VA_DEBLOCK_FENCE_VALUE_SHIFT (0)
// FW_VA_DEBLOCK MMUPTD
#define FW_VA_DEBLOCK_MMUPTD_ALIGNMENT (4)
#define FW_VA_DEBLOCK_MMUPTD_TYPE IMG_UINT32
#define FW_VA_DEBLOCK_MMUPTD_MASK (0xFFFFFFFF)
#define FW_VA_DEBLOCK_MMUPTD_LSBMASK (0xFFFFFFFF)
#define FW_VA_DEBLOCK_MMUPTD_OFFSET (0x000C)
#define FW_VA_DEBLOCK_MMUPTD_SHIFT (0)
#define FW_VA_OOLD_SIZE (40)
// FW_VA_OOLD MSG_SIZE
#define FW_VA_OOLD_MSG_SIZE_ALIGNMENT (1)
#define FW_VA_OOLD_MSG_SIZE_TYPE IMG_UINT8
#define FW_VA_OOLD_MSG_SIZE_MASK (0xFF)
#define FW_VA_OOLD_MSG_SIZE_LSBMASK (0xFF)
#define FW_VA_OOLD_MSG_SIZE_OFFSET (0x0000)
#define FW_VA_OOLD_MSG_SIZE_SHIFT (0)
// FW_VA_OOLD ID
#define FW_VA_OOLD_ID_ALIGNMENT (1)
#define FW_VA_OOLD_ID_TYPE IMG_UINT8
#define FW_VA_OOLD_ID_MASK (0xFF)
#define FW_VA_OOLD_ID_LSBMASK (0xFF)
#define FW_VA_OOLD_ID_OFFSET (0x0001)
#define FW_VA_OOLD_ID_SHIFT (0)
// FW_VA_OOLD SLICE_FIELD_TYPE
#define FW_VA_OOLD_SLICE_FIELD_TYPE_ALIGNMENT (1)
#define FW_VA_OOLD_SLICE_FIELD_TYPE_TYPE IMG_UINT8
#define FW_VA_OOLD_SLICE_FIELD_TYPE_MASK (0x03)
#define FW_VA_OOLD_SLICE_FIELD_TYPE_LSBMASK (0x03)
#define FW_VA_OOLD_SLICE_FIELD_TYPE_OFFSET (0x0002)
#define FW_VA_OOLD_SLICE_FIELD_TYPE_SHIFT (0)
// FW_VA_OOLD MMUPTD
#define FW_VA_OOLD_MMUPTD_ALIGNMENT (4)
#define FW_VA_OOLD_MMUPTD_TYPE IMG_UINT32
#define FW_VA_OOLD_MMUPTD_MASK (0xFFFFFFFF)
#define FW_VA_OOLD_MMUPTD_LSBMASK (0xFFFFFFFF)
#define FW_VA_OOLD_MMUPTD_OFFSET (0x0004)
#define FW_VA_OOLD_MMUPTD_SHIFT (0)
// FW_VA_OOLD FENCE_VALUE
#define FW_VA_OOLD_FENCE_VALUE_ALIGNMENT (4)
#define FW_VA_OOLD_FENCE_VALUE_TYPE IMG_UINT32
#define FW_VA_OOLD_FENCE_VALUE_MASK (0xFFFFFFFF)
#define FW_VA_OOLD_FENCE_VALUE_LSBMASK (0xFFFFFFFF)
#define FW_VA_OOLD_FENCE_VALUE_OFFSET (0x0008)
#define FW_VA_OOLD_FENCE_VALUE_SHIFT (0)
// FW_VA_OOLD OPERATING_MODE
#define FW_VA_OOLD_OPERATING_MODE_ALIGNMENT (4)
#define FW_VA_OOLD_OPERATING_MODE_TYPE IMG_UINT32
#define FW_VA_OOLD_OPERATING_MODE_MASK (0xFFFFFFFF)
#define FW_VA_OOLD_OPERATING_MODE_LSBMASK (0xFFFFFFFF)
#define FW_VA_OOLD_OPERATING_MODE_OFFSET (0x000C)
#define FW_VA_OOLD_OPERATING_MODE_SHIFT (0)
// FW_VA_OOLD FRAME_HEIGHT_MBS
#define FW_VA_OOLD_FRAME_HEIGHT_MBS_ALIGNMENT (2)
#define FW_VA_OOLD_FRAME_HEIGHT_MBS_TYPE IMG_UINT16
#define FW_VA_OOLD_FRAME_HEIGHT_MBS_MASK (0xFFFF)
#define FW_VA_OOLD_FRAME_HEIGHT_MBS_LSBMASK (0xFFFF)
#define FW_VA_OOLD_FRAME_HEIGHT_MBS_OFFSET (0x0010)
#define FW_VA_OOLD_FRAME_HEIGHT_MBS_SHIFT (0)
// FW_VA_OOLD PIC_WIDTH_MBS
#define FW_VA_OOLD_PIC_WIDTH_MBS_ALIGNMENT (2)
#define FW_VA_OOLD_PIC_WIDTH_MBS_TYPE IMG_UINT16
#define FW_VA_OOLD_PIC_WIDTH_MBS_MASK (0xFFFF)
#define FW_VA_OOLD_PIC_WIDTH_MBS_LSBMASK (0xFFFF)
#define FW_VA_OOLD_PIC_WIDTH_MBS_OFFSET (0x0012)
#define FW_VA_OOLD_PIC_WIDTH_MBS_SHIFT (0)
// FW_VA_OOLD SOURCE_LUMA_BUFFER_ADDRESS
#define FW_VA_OOLD_SOURCE_LUMA_BUFFER_ADDRESS_ALIGNMENT (4)
#define FW_VA_OOLD_SOURCE_LUMA_BUFFER_ADDRESS_TYPE IMG_UINT32
#define FW_VA_OOLD_SOURCE_LUMA_BUFFER_ADDRESS_MASK (0xFFFFFFFF)
#define FW_VA_OOLD_SOURCE_LUMA_BUFFER_ADDRESS_LSBMASK (0xFFFFFFFF)
#define FW_VA_OOLD_SOURCE_LUMA_BUFFER_ADDRESS_OFFSET (0x0014)
#define FW_VA_OOLD_SOURCE_LUMA_BUFFER_ADDRESS_SHIFT (0)
// FW_VA_OOLD SOURCE_CHROMA_BUFFER_ADDRESS
#define FW_VA_OOLD_SOURCE_CHROMA_BUFFER_ADDRESS_ALIGNMENT (4)
#define FW_VA_OOLD_SOURCE_CHROMA_BUFFER_ADDRESS_TYPE IMG_UINT32
#define FW_VA_OOLD_SOURCE_CHROMA_BUFFER_ADDRESS_MASK (0xFFFFFFFF)
#define FW_VA_OOLD_SOURCE_CHROMA_BUFFER_ADDRESS_LSBMASK (0xFFFFFFFF)
#define FW_VA_OOLD_SOURCE_CHROMA_BUFFER_ADDRESS_OFFSET (0x0018)
#define FW_VA_OOLD_SOURCE_CHROMA_BUFFER_ADDRESS_SHIFT (0)
// FW_VA_OOLD SOURCE_MB_PARAM_ADDRESS
#define FW_VA_OOLD_SOURCE_MB_PARAM_ADDRESS_ALIGNMENT (4)
#define FW_VA_OOLD_SOURCE_MB_PARAM_ADDRESS_TYPE IMG_UINT32
#define FW_VA_OOLD_SOURCE_MB_PARAM_ADDRESS_MASK (0xFFFFFFFF)
#define FW_VA_OOLD_SOURCE_MB_PARAM_ADDRESS_LSBMASK (0xFFFFFFFF)
#define FW_VA_OOLD_SOURCE_MB_PARAM_ADDRESS_OFFSET (0x001C)
#define FW_VA_OOLD_SOURCE_MB_PARAM_ADDRESS_SHIFT (0)
// FW_VA_OOLD TARGET_LUMA_BUFFER_ADDRESS
#define FW_VA_OOLD_TARGET_LUMA_BUFFER_ADDRESS_ALIGNMENT (4)
#define FW_VA_OOLD_TARGET_LUMA_BUFFER_ADDRESS_TYPE IMG_UINT32
#define FW_VA_OOLD_TARGET_LUMA_BUFFER_ADDRESS_MASK (0xFFFFFFFF)
#define FW_VA_OOLD_TARGET_LUMA_BUFFER_ADDRESS_LSBMASK (0xFFFFFFFF)
#define FW_VA_OOLD_TARGET_LUMA_BUFFER_ADDRESS_OFFSET (0x0020)
#define FW_VA_OOLD_TARGET_LUMA_BUFFER_ADDRESS_SHIFT (0)
// FW_VA_OOLD TARGET_CHROMA_BUFFER_ADDRESS
#define FW_VA_OOLD_TARGET_CHROMA_BUFFER_ADDRESS_ALIGNMENT (4)
#define FW_VA_OOLD_TARGET_CHROMA_BUFFER_ADDRESS_TYPE IMG_UINT32
#define FW_VA_OOLD_TARGET_CHROMA_BUFFER_ADDRESS_MASK (0xFFFFFFFF)
#define FW_VA_OOLD_TARGET_CHROMA_BUFFER_ADDRESS_LSBMASK (0xFFFFFFFF)
#define FW_VA_OOLD_TARGET_CHROMA_BUFFER_ADDRESS_OFFSET (0x0024)
#define FW_VA_OOLD_TARGET_CHROMA_BUFFER_ADDRESS_SHIFT (0)
#define FW_VA_CMD_COMPLETED_SIZE (12)
// FW_VA_CMD_COMPLETED MSG_SIZE
#define FW_VA_CMD_COMPLETED_MSG_SIZE_ALIGNMENT (1)
#define FW_VA_CMD_COMPLETED_MSG_SIZE_TYPE IMG_UINT8
#define FW_VA_CMD_COMPLETED_MSG_SIZE_MASK (0xFF)
#define FW_VA_CMD_COMPLETED_MSG_SIZE_LSBMASK (0xFF)
#define FW_VA_CMD_COMPLETED_MSG_SIZE_OFFSET (0x0000)
#define FW_VA_CMD_COMPLETED_MSG_SIZE_SHIFT (0)
// FW_VA_CMD_COMPLETED ID
#define FW_VA_CMD_COMPLETED_ID_ALIGNMENT (1)
#define FW_VA_CMD_COMPLETED_ID_TYPE IMG_UINT8
#define FW_VA_CMD_COMPLETED_ID_MASK (0xFF)
#define FW_VA_CMD_COMPLETED_ID_LSBMASK (0xFF)
#define FW_VA_CMD_COMPLETED_ID_OFFSET (0x0001)
#define FW_VA_CMD_COMPLETED_ID_SHIFT (0)
// FW_VA_CMD_COMPLETED FENCE_VALUE
#define FW_VA_CMD_COMPLETED_FENCE_VALUE_ALIGNMENT (4)
#define FW_VA_CMD_COMPLETED_FENCE_VALUE_TYPE IMG_UINT32
#define FW_VA_CMD_COMPLETED_FENCE_VALUE_MASK (0xFFFFFFFF)
#define FW_VA_CMD_COMPLETED_FENCE_VALUE_LSBMASK (0xFFFFFFFF)
#define FW_VA_CMD_COMPLETED_FENCE_VALUE_OFFSET (0x0004)
#define FW_VA_CMD_COMPLETED_FENCE_VALUE_SHIFT (0)
// FW_VA_CMD_COMPLETED FLAGS
#define FW_VA_CMD_COMPLETED_FLAGS_ALIGNMENT (4)
#define FW_VA_CMD_COMPLETED_FLAGS_TYPE IMG_UINT32
#define FW_VA_CMD_COMPLETED_FLAGS_MASK (0xFFFFFFFF)
#define FW_VA_CMD_COMPLETED_FLAGS_LSBMASK (0xFFFFFFFF)
#define FW_VA_CMD_COMPLETED_FLAGS_OFFSET (0x0008)
#define FW_VA_CMD_COMPLETED_FLAGS_SHIFT (0)
#define FW_VA_CMD_FAILED_SIZE (12)
// FW_VA_CMD_FAILED MSG_SIZE
#define FW_VA_CMD_FAILED_MSG_SIZE_ALIGNMENT (1)
#define FW_VA_CMD_FAILED_MSG_SIZE_TYPE IMG_UINT8
#define FW_VA_CMD_FAILED_MSG_SIZE_MASK (0xFF)
#define FW_VA_CMD_FAILED_MSG_SIZE_LSBMASK (0xFF)
#define FW_VA_CMD_FAILED_MSG_SIZE_OFFSET (0x0000)
#define FW_VA_CMD_FAILED_MSG_SIZE_SHIFT (0)
// FW_VA_CMD_FAILED ID
#define FW_VA_CMD_FAILED_ID_ALIGNMENT (1)
#define FW_VA_CMD_FAILED_ID_TYPE IMG_UINT8
#define FW_VA_CMD_FAILED_ID_MASK (0xFF)
#define FW_VA_CMD_FAILED_ID_LSBMASK (0xFF)
#define FW_VA_CMD_FAILED_ID_OFFSET (0x0001)
#define FW_VA_CMD_FAILED_ID_SHIFT (0)
// FW_VA_CMD_FAILED FLAGS
#define FW_VA_CMD_FAILED_FLAGS_ALIGNMENT (2)
#define FW_VA_CMD_FAILED_FLAGS_TYPE IMG_UINT16
#define FW_VA_CMD_FAILED_FLAGS_MASK (0xFFFF)
#define FW_VA_CMD_FAILED_FLAGS_LSBMASK (0xFFFF)
#define FW_VA_CMD_FAILED_FLAGS_OFFSET (0x0002)
#define FW_VA_CMD_FAILED_FLAGS_SHIFT (0)
// FW_VA_CMD_FAILED FENCE_VALUE
#define FW_VA_CMD_FAILED_FENCE_VALUE_ALIGNMENT (4)
#define FW_VA_CMD_FAILED_FENCE_VALUE_TYPE IMG_UINT32
#define FW_VA_CMD_FAILED_FENCE_VALUE_MASK (0xFFFFFFFF)
#define FW_VA_CMD_FAILED_FENCE_VALUE_LSBMASK (0xFFFFFFFF)
#define FW_VA_CMD_FAILED_FENCE_VALUE_OFFSET (0x0004)
#define FW_VA_CMD_FAILED_FENCE_VALUE_SHIFT (0)
// FW_VA_CMD_FAILED IRQSTATUS
#define FW_VA_CMD_FAILED_IRQSTATUS_ALIGNMENT (4)
#define FW_VA_CMD_FAILED_IRQSTATUS_TYPE IMG_UINT32
#define FW_VA_CMD_FAILED_IRQSTATUS_MASK (0xFFFFFFFF)
#define FW_VA_CMD_FAILED_IRQSTATUS_LSBMASK (0xFFFFFFFF)
#define FW_VA_CMD_FAILED_IRQSTATUS_OFFSET (0x0008)
#define FW_VA_CMD_FAILED_IRQSTATUS_SHIFT (0)
#define FW_VA_DEBLOCK_REQUIRED_SIZE (8)
// FW_VA_DEBLOCK_REQUIRED MSG_SIZE
#define FW_VA_DEBLOCK_REQUIRED_MSG_SIZE_ALIGNMENT (1)
#define FW_VA_DEBLOCK_REQUIRED_MSG_SIZE_TYPE IMG_UINT8
#define FW_VA_DEBLOCK_REQUIRED_MSG_SIZE_MASK (0xFF)
#define FW_VA_DEBLOCK_REQUIRED_MSG_SIZE_LSBMASK (0xFF)
#define FW_VA_DEBLOCK_REQUIRED_MSG_SIZE_OFFSET (0x0000)
#define FW_VA_DEBLOCK_REQUIRED_MSG_SIZE_SHIFT (0)
// FW_VA_DEBLOCK_REQUIRED ID
#define FW_VA_DEBLOCK_REQUIRED_ID_ALIGNMENT (1)
#define FW_VA_DEBLOCK_REQUIRED_ID_TYPE IMG_UINT8
#define FW_VA_DEBLOCK_REQUIRED_ID_MASK (0xFF)
#define FW_VA_DEBLOCK_REQUIRED_ID_LSBMASK (0xFF)
#define FW_VA_DEBLOCK_REQUIRED_ID_OFFSET (0x0001)
#define FW_VA_DEBLOCK_REQUIRED_ID_SHIFT (0)
// FW_VA_DEBLOCK_REQUIRED CONTEXT
#define FW_VA_DEBLOCK_REQUIRED_CONTEXT_ALIGNMENT (4)
#define FW_VA_DEBLOCK_REQUIRED_CONTEXT_TYPE IMG_UINT32
#define FW_VA_DEBLOCK_REQUIRED_CONTEXT_MASK (0xFFFFFFFF)
#define FW_VA_DEBLOCK_REQUIRED_CONTEXT_LSBMASK (0xFFFFFFFF)
#define FW_VA_DEBLOCK_REQUIRED_CONTEXT_OFFSET (0x0004)
#define FW_VA_DEBLOCK_REQUIRED_CONTEXT_SHIFT (0)
#define FW_VA_HW_PANIC_SIZE (12)
// FW_VA_HW_PANIC FLAGS
#define FW_VA_HW_PANIC_FLAGS_ALIGNMENT (2)
#define FW_VA_HW_PANIC_FLAGS_TYPE IMG_UINT16
#define FW_VA_HW_PANIC_FLAGS_MASK (0xFFFF)
#define FW_VA_HW_PANIC_FLAGS_LSBMASK (0xFFFF)
#define FW_VA_HW_PANIC_FLAGS_OFFSET (0x0002)
#define FW_VA_HW_PANIC_FLAGS_SHIFT (0)
// FW_VA_HW_PANIC MSG_SIZE
#define FW_VA_HW_PANIC_MSG_SIZE_ALIGNMENT (1)
#define FW_VA_HW_PANIC_MSG_SIZE_TYPE IMG_UINT8
#define FW_VA_HW_PANIC_MSG_SIZE_MASK (0xFF)
#define FW_VA_HW_PANIC_MSG_SIZE_LSBMASK (0xFF)
#define FW_VA_HW_PANIC_MSG_SIZE_OFFSET (0x0000)
#define FW_VA_HW_PANIC_MSG_SIZE_SHIFT (0)
// FW_VA_HW_PANIC ID
#define FW_VA_HW_PANIC_ID_ALIGNMENT (1)
#define FW_VA_HW_PANIC_ID_TYPE IMG_UINT8
#define FW_VA_HW_PANIC_ID_MASK (0xFF)
#define FW_VA_HW_PANIC_ID_LSBMASK (0xFF)
#define FW_VA_HW_PANIC_ID_OFFSET (0x0001)
#define FW_VA_HW_PANIC_ID_SHIFT (0)
// FW_VA_HW_PANIC FENCE_VALUE
#define FW_VA_HW_PANIC_FENCE_VALUE_ALIGNMENT (4)
#define FW_VA_HW_PANIC_FENCE_VALUE_TYPE IMG_UINT32
#define FW_VA_HW_PANIC_FENCE_VALUE_MASK (0xFFFFFFFF)
#define FW_VA_HW_PANIC_FENCE_VALUE_LSBMASK (0xFFFFFFFF)
#define FW_VA_HW_PANIC_FENCE_VALUE_OFFSET (0x0004)
#define FW_VA_HW_PANIC_FENCE_VALUE_SHIFT (0)
// FW_VA_HW_PANIC IRQSTATUS
#define FW_VA_HW_PANIC_IRQSTATUS_ALIGNMENT (4)
#define FW_VA_HW_PANIC_IRQSTATUS_TYPE IMG_UINT32
#define FW_VA_HW_PANIC_IRQSTATUS_MASK (0xFFFFFFFF)
#define FW_VA_HW_PANIC_IRQSTATUS_LSBMASK (0xFFFFFFFF)
#define FW_VA_HW_PANIC_IRQSTATUS_OFFSET (0x0008)
#define FW_VA_HW_PANIC_IRQSTATUS_SHIFT (0)
#define FW_VA_HOST_BE_OPP_SIZE 16
// FW_VA_HOST_BE_OPP CONTEXT
#define FW_VA_HOST_BE_OPP_CONTEXT_ALIGNMENT (4)
#define FW_VA_HOST_BE_OPP_CONTEXT_TYPE IMG_UINT32
#define FW_VA_HOST_BE_OPP_CONTEXT_MASK (0xFFFFFFFF)
#define FW_VA_HOST_BE_OPP_CONTEXT_LSBMASK (0xFFFFFFFF)
#define FW_VA_HOST_BE_OPP_CONTEXT_OFFSET (0x0004)
#define FW_VA_HOST_BE_OPP_CONTEXT_SHIFT (0)
// FW_VA_HOST_BE_OPP FLAGS
#define FW_VA_HOST_BE_OPP_FLAGS_ALIGNMENT (2)
#define FW_VA_HOST_BE_OPP_FLAGS_TYPE IMG_UINT16
#define FW_VA_HOST_BE_OPP_FLAGS_MASK (0xFFFF)
#define FW_VA_HOST_BE_OPP_FLAGS_LSBMASK (0xFFFF)
#define FW_VA_HOST_BE_OPP_FLAGS_OFFSET (0x0002)
#define FW_VA_HOST_BE_OPP_FLAGS_SHIFT (0)
#define FW_VA_FRAME_INFO_SIZE 24 /* 20 bytes for FRAME_INFO_PARAMS */
#ifdef __cplusplus
}
#endif
#endif /* __VA_CMDSEQ_MSG_H__ */
|