Chris Galvan
1e591ab019
Removed const_cast now that we've switched from array_view to span
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-21 15:32:30 -06:00
Chris Galvan
c090ad6a56
Account for the pixel size when computing the image data index
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-20 16:10:42 -06:00
Chris Galvan
cdcf8defd0
Added special case support for R8_SNORM, R16_SNORM, and R16_FLOAT
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-20 13:53:51 -06:00
Chris Galvan
0bd2083c48
Replaced array_view usage with span
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-20 10:35:22 -06:00
Chris Galvan
b6b8b464d0
Use AZStd::array instead of AZStd::vector when retrieving a single pixel
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-19 16:53:59 -06:00
Chris Galvan
c2b1cd1be2
Fixed bug when retrieving single pixel value
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-19 09:56:54 -06:00
Chris Galvan
948d72e079
Fixed logic error for iterating through the image data by region
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-18 16:22:25 -06:00
Chris Galvan
798f6ea5bb
Added support for additional formats
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-18 15:41:37 -06:00
Chris Galvan
2048d8c05c
Added region-based APIs for uint and int
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-13 11:38:16 -06:00
Chris Galvan
1ed81ae973
Added API for retrieving region of streaming image asset pixel values
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-13 10:27:19 -06:00
Chris Galvan
16bad281ae
Changed GetSubImagePixelValue parameter order so x,y are first
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-11 10:40:59 -06:00
Chris Galvan
8510bdbfa7
(Draft) WIP adding pixel retrieval API to StreamingImageAsset
...
Signed-off-by: Chris Galvan <chgalvan@amazon.com >
2022-01-07 14:27:43 -06:00
Artur K
f44169f7fa
Cleanup SerializeContext.h pt.1 ( #4264 )
...
* Remove AssetSerializer inclusion from SerializeContext header
Moved a few Reflect methods to new cpp files.
In addition, some preparations for further header dependency reductions.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Fix smoke test lua failures.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Windows build fixes.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Missing license headers
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Fix white-space issues.
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Code review fix for AzToolsFramework/AssetEditor/AssetEditorBus.h
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
* Fix inheritance list wrapping broken by older clang-format
Signed-off-by: nemerle <96597+nemerle@users.noreply.github.com >
Co-authored-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com >
2021-09-29 11:31:01 -05:00
Steve Pham
38261d0800
Shorten copyright headers by splitting into 2 lines ( #2213 )
...
* Updated all copyright headers to split the longer original copyright line into 2 shorter lines
Signed-off-by: Steve Pham <spham@amazon.com >
2021-07-16 15:25:48 -07:00
Steve Pham
b4a2edec6a
Final update copyright headers to reference license files at the repo root ( #1693 )
...
* Final update copyright headers to reference license files at the repo root
Signed-off-by: spham <spham@amazon.com >
* Fix copyright validator unit tests to support the stale O3DE header scenario
Signed-off-by: spham <spham@amazon.com >
2021-06-30 19:51:55 -07:00
Steve Pham
70042fcdcd
O3DE Copyright Updates for Linux Foundation ( #1504 )
2021-06-23 10:55:22 -07:00
alexpete
75dc720198
Integrating latest 47acbe8
2021-03-25 13:57:57 -07:00
alexpete
a10351f38d
Initial commit
2021-03-08 14:30:57 -08:00