RetroArch
Functions | Variables
translation_driver.c File Reference
#include <string/stdstring.h>
#include "translation_driver.h"
#include "ocr_driver.h"
#include "../configuration.h"
Include dependency graph for translation_driver.c:

Functions

static const translation_driver_ttranslation_find_backend (const char *ident)
 
bool translation_driver_init (void)
 
void translation_driver_free (void)
 
char * translation_driver_translate_image (struct ocr_image_info image)
 

Variables

static const translation_driver_ttranslation_backends []
 
static const translation_driver_tcurrent_translation_backend = NULL
 
static voidtranslation_data = NULL
 

Function Documentation

◆ translation_driver_free()

void translation_driver_free ( void  )

◆ translation_driver_init()

bool translation_driver_init ( void  )
Here is the call graph for this function:

◆ translation_driver_translate_image()

char* translation_driver_translate_image ( struct ocr_image_info  image)
Here is the call graph for this function:

◆ translation_find_backend()

static const translation_driver_t* translation_find_backend ( const char *  ident)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ current_translation_backend

const translation_driver_t* current_translation_backend = NULL
static

◆ translation_backends

const translation_driver_t* translation_backends[]
static
Initial value:
= {
}
const ocr_driver_t ocr_null
Definition: ocr_null.c:17
const translation_driver_t translation_cached_google
Definition: translation_cached_google.c:22
#define NULL
Pointer to 0.
Definition: gctypes.h:65

◆ translation_data

void* translation_data = NULL
static