24 #ifndef _SEFRAMEWORK_IMAGE_IMAGECHUNK_H_
25 #define _SEFRAMEWORK_IMAGE_IMAGECHUNK_H_
103 for (
int cy = 0; cy <
m_height; cy++) {
104 for (
int cx = 0; cx <
m_width; cx++) {
105 (*m_chunk_vector)[cx + cy *
m_stride] = chunk.getValue(cx, cy);
113 :
ImageChunk<T>(nullptr, 0, width, height, width),
118 for (
int cy = 0; cy < height; cy++) {
119 for (
int cx = 0; cx < width; cx++) {
120 (*m_chunk_vector)[cx + cy * width] = image->getValue(
x + cx,
y + cy);
126 ImageChunk<T>(nullptr, 0, width, height, width),
129 assert(
static_cast<int>(
m_chunk_vector->size()) == width * height);
134 ImageChunk<T>(nullptr, 0, width, height, width),
136 assert(
static_cast<int>(
m_chunk_vector->size()) == width * height);
141 template <
typename... Args>
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y