![]() |
Oyranos
0.9.7
Oyranos is a full featured Color Management System
|
JPEG filter for Oyranos. More...
#include "oyCMM_s.h"
#include "oyCMMapi4_s.h"
#include "oyCMMapi7_s.h"
#include "oyCMMapiFilter_s.h"
#include "oyCMMui_s.h"
#include "oyConnectorImaging_s.h"
#include "oyProfiles_s.h"
#include "oyranos_cmm.h"
#include "oyranos_config.h"
#include "oyranos_definitions.h"
#include "oyranos_helper.h"
#include <math.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include "jpegmarkers.h"
#include "oyranos_i18n.h"
Macros | |
#define | CMM_NICK "oJPG" |
Functions | |
int | ojpgFilter_CmmRun (oyFilterPlug_s *requestor_plug, oyPixelAccess_s *ticket) |
implement oyCMMFilter_GetNext_f() More... | |
const char * | ojpgApi4UiGetText (const char *select, oyNAME_e type, oyStruct_s *context) |
int | ojpgCMMInit (oyStruct_s *s OY_UNUSED) |
API requirement. More... | |
int | ojpgCMMMessageFuncSet (oyMessage_f message_func) |
API requirement. More... | |
const char * | ojpgGetText (const char *select, oyNAME_e type, oyStruct_s *context) |
oyCMMapi_s * | ojpgApi7CmmCreate (const char *format, const char *ext) |
ojpg oyCMMapi7_s implementation More... | |
oyCMMapi_s * | ojpgApi4CmmCreate (const char *format) |
ojpg oyCMMapi4_s implementation More... | |
Variables | |
oyMessage_f | ojpg_msg = oyMessageFunc |
oyCMM_s | oJPG_cmm_module |
ojpg module infos More... | |
JPEG filter for Oyranos.
JPEG file i/o module for Oyranos
#define CMM_NICK "oJPG" |
The CMM_NICK consists of four bytes, which appear as well in the library name. This is important for Oyranos to identify the required filter struct name.
Referenced by ojpgGetText().
oyCMMapi_s* ojpgApi4CmmCreate | ( | const char * | format | ) |
ojpg oyCMMapi4_s implementation
ojpg_api4 a filter providing a CMM device link creator
const char * ojpgApi4UiGetText | ( | const char * | select, |
oyNAME_e | type, | ||
oyStruct_s * | context | ||
) |
This function implements oyCMMGetText_f.
References oyCMMapiFilter_s::oyCMMapiFilter_GetBackendContext(), and oyCMMui_s::oyCMMui_GetParent().
oyCMMapi_s* ojpgApi7CmmCreate | ( | const char * | format, |
const char * | ext | ||
) |
ojpg oyCMMapi7_s implementation
ojpg_api7 a filter providing a CMM filter
int ojpgCMMInit | ( | oyStruct_s *s | OY_UNUSED | ) |
API requirement.
Function ojpgCMMInit
int ojpgCMMMessageFuncSet | ( | oyMessage_f | message_func | ) |
API requirement.
Function ojpgCMMMessageFuncSet A Oyranos user might want its own message function and omit the default one.
int ojpgFilter_CmmRun | ( | oyFilterPlug_s * | requestor_plug, |
oyPixelAccess_s * | ticket | ||
) |
implement oyCMMFilter_GetNext_f()
Function ojpgFilter_CmmRun The primary filter entry for data processing.
requestor_plug | the plug of the requesting node after my filter in the graph |
ticket | the job ticket |
References oyASSUMED_RGB, and oyUINT8.
const char* ojpgGetText | ( | const char * | select, |
oyNAME_e | type, | ||
oyStruct_s * | context | ||
) |
This function implements oyCMMinfoGetText_f.
Implement at least "name", "manufacturer" and "copyright". If you like with internationalisation.
References CMM_NICK, and oyNAME_NICK.
oyCMM_s oJPG_cmm_module |
ojpg module infos
oJPG_cmm_module This structure is dlopened by Oyranos. Its name has to consist of the following elements:
oyMessage_f ojpg_msg = oyMessageFunc |
The message function pointer to use for messaging.