Files
test/source/blender/blenlib/BLI_smaa_textures.h
Omar Emara 2f4a7d67b7 Realtime Compositor: Implement Anti-Aliasing node
This patch implements the Anti-Aliasing node by porting SMAA from
Workbench into a generic library that can be used by the realtime
compositor and potentially other users. SMAA was encapsulated in an
algorithm to prepare it for use by other nodes that require SMAA
support.

Pull Request: https://projects.blender.org/blender/blender/pulls/106114
2023-03-26 16:59:13 +02:00

41 lines
1.1 KiB
C

/* SPDX-License-Identifier: MIT
* Copyright 2013 Jorge Jimenez <jorge@iryoku.com>
* 2013 Jose I. Echevarria <joseignacioechevarria@gmail.com>
* 2013 Belen Masia <bmasia@unizar.es>
* 2013 Fernando Navarro <fernandn@microsoft.com>
* 2013 Diego Gutierrez <diegog@unizar.es> */
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
#define AREATEX_WIDTH 160
#define AREATEX_HEIGHT 560
#define AREATEX_PITCH (AREATEX_WIDTH * 2)
#define AREATEX_SIZE (AREATEX_HEIGHT * AREATEX_PITCH)
/**
* Stored in R8G8 format. Load it in the following format:
* - DX10: DXGI_FORMAT_R8G8_UNORM
* - GPU: GPU_RG8 texture format and GPU_DATA_UBYTE data format.
*/
extern const unsigned char areaTexBytes[];
#define SEARCHTEX_WIDTH 64
#define SEARCHTEX_HEIGHT 16
#define SEARCHTEX_PITCH SEARCHTEX_WIDTH
#define SEARCHTEX_SIZE (SEARCHTEX_HEIGHT * SEARCHTEX_PITCH)
/**
* Stored in R8 format. Load it in the following format:
* - DX10: DXGI_FORMAT_R8_UNORM
* - GPU: GPU_R8 texture format and GPU_DATA_UBYTE data format.
*/
extern const unsigned char searchTexBytes[];
#ifdef __cplusplus
}
#endif