Blue Brain BioExplorer
core::DeflectPixelOp Class Reference

#include <DeflectPixelOp.h>

Inheritance diagram for core::DeflectPixelOp:
Collaboration diagram for core::DeflectPixelOp:

Classes

struct  Instance
 

Public Member Functions

void commit () final
 
::ospray::PixelOp::Instance * createInstance (::ospray::FrameBuffer *fb, PixelOp::Instance *prev) final
 

Detailed Description

Implements an ospray pixel op that streams each tile to a Deflect server instance. The tiles are compressed directly on the tile thread and then enqueued for sending.

The ospray module to load is called "deflect", and the pixel op name for creating it is "DeflectPixelOp".

Definition at line 40 of file DeflectPixelOp.h.

Member Function Documentation

◆ commit()

void core::DeflectPixelOp::commit ( )
final

Updates the underlying deflect stream with the following parameters:

  • "enabled" (param1i): 1 to enable streaming, 0 to disable streaming, 1 default
  • "compression" (param1i): 1 to enable compression, 0 to send raw, uncompressed pixels, 1 default
  • "quality" (param1i): 1 (worst, smallest) - 100 (best, biggest) for JPEG quality, 80 default

Definition at line 199 of file DeflectPixelOp.cpp.

◆ createInstance()

ospray::PixelOp::Instance * core::DeflectPixelOp::createInstance ( ::ospray::FrameBuffer *  fb,
PixelOp::Instance *  prev 
)
final

Definition at line 222 of file DeflectPixelOp.cpp.


The documentation for this class was generated from the following files: