dng_filter_task Class ReferenceRepresents a task which filters an area of a source dng_image to an area of a destination dng_image. More...
Inheritance diagram for dng_filter_task:
![]()
Detailed DescriptionRepresents a task which filters an area of a source dng_image to an area of a destination dng_image.Constructor & Destructor DocumentationConstruct a filter task given a source and destination images.
Member Function Documentation
Compute the source area needed for a given destination area. Default implementation assumes desitnation area is equal to source area for all cases.
Referenced by Process(), and SrcTileSize().
Given a destination tile size, calculate input tile size. Simlar to SrcArea, and should seldom be overridden.
References SrcArea(). Referenced by Start().
Implements filtering operation from one buffer to another. Source and destination pixels are set up in member fields of this class. Ideally, no allocation should be done in this routine.
Referenced by Process().
Called prior to processing on specific threads. Can be used to allocate per-thread memory buffers, etc.
Reimplemented from dng_area_task. References dng_memory_allocator::Allocate(), and SrcTileSize().
Process one tile or partitioned area. Should not be overridden. Instead, override ProcessArea, which is where to implement filter processing for a specific type of dng_filter_task. There is no allocator parameter as all allocation should be done in Start.
Implements dng_area_task. References dng_image::edge_repeat, dng_pixel_buffer::fArea, dng_pixel_buffer::fData, dng_pixel_buffer::fPixelRange, dng_pixel_buffer::fPixelSize, dng_pixel_buffer::fPixelType, dng_pixel_buffer::fPlane, dng_pixel_buffer::fPlanes, dng_pixel_buffer::fPlaneStep, dng_pixel_buffer::fRowStep, dng_image::Get(), dng_image::PixelRange(), dng_image::PixelType(), ProcessArea(), dng_image::Put(), SrcArea(), and ThrowProgramError().
The documentation for this class was generated from the following files:
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||

