22 |
|
#define VIDEO_DEFS_H |
23 |
|
|
24 |
|
#include "macos_util.h" |
25 |
+ |
#include <stddef.h> |
26 |
|
|
27 |
|
|
28 |
|
/* |
361 |
|
// Argument for accl_sync_hook at offset 0x4f8 |
362 |
|
}; |
363 |
|
|
364 |
+ |
enum { |
365 |
+ |
acclTransferMode = offsetof(accl_params, transfer_mode), |
366 |
+ |
acclPenMode = offsetof(accl_params, pen_mode), |
367 |
+ |
acclForePen = offsetof(accl_params, fore_pen), |
368 |
+ |
acclBackPen = offsetof(accl_params, back_pen), |
369 |
+ |
acclSrcBaseAddr = offsetof(accl_params, src_base_addr), |
370 |
+ |
acclSrcRowBytes = offsetof(accl_params, src_row_bytes), |
371 |
+ |
acclSrcBoundsRect = offsetof(accl_params, src_bounds), |
372 |
+ |
acclSrcPixelType = offsetof(accl_params, src_pixel_type), |
373 |
+ |
acclSrcPixelSize = offsetof(accl_params, src_pixel_size), |
374 |
+ |
acclSrcCmpCount = offsetof(accl_params, src_cmp_count), |
375 |
+ |
acclSrcCmpSize = offsetof(accl_params, src_cmp_size), |
376 |
+ |
acclSrcPMTable = offsetof(accl_params, src_pm_table), |
377 |
+ |
acclDestBaseAddr = offsetof(accl_params, dest_base_addr), |
378 |
+ |
acclDestRowBytes = offsetof(accl_params, dest_row_bytes), |
379 |
+ |
acclDestBoundsRect = offsetof(accl_params, dest_bounds), |
380 |
+ |
acclDestPixelType = offsetof(accl_params, dest_pixel_type), |
381 |
+ |
acclDestPixelSize = offsetof(accl_params, dest_pixel_size), |
382 |
+ |
acclDestCmpCount = offsetof(accl_params, dest_cmp_count), |
383 |
+ |
acclDestCmpSize = offsetof(accl_params, dest_cmp_size), |
384 |
+ |
acclDestPMTable = offsetof(accl_params, dest_pm_table), |
385 |
+ |
acclSrcRect = offsetof(accl_params, src_rect), |
386 |
+ |
acclDestRect = offsetof(accl_params, dest_rect), |
387 |
+ |
acclDrawProc = offsetof(accl_params, draw_proc) |
388 |
+ |
}; |
389 |
+ |
|
390 |
|
// Hook info for NQDMisc |
391 |
|
struct accl_hook_info { |
392 |
|
uint32 draw_func; |