HbbTv  17.9.0
Open source HBBTV engine
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Typedefs | Enumerations
hbbtv_types.h File Reference

Definition of general purpose types. More...

Go to the source code of this file.

Data Structures

struct  S_HBBTV_DVB_LOCATOR
 
struct  S_HBBTV_STRING
 
struct  S_HBBTV_RECT
 
struct  S_HBBTV_REGION
 
struct  S_HBBTV_SYSTEM_INFO
 
struct  S_HBBTV_FREESAT_CALLBACKS
 Structure containing function pointers used by the HbbTV engine to retrieve Freesat specific data. More...
 

Typedefs

typedef E_HBBTV_ERR(* F_HBBTV_OBTAIN_ALL_GENRES )(S_HBBTV_STRING **genre_list, U32BIT *num)
 Function used by the HbbTV engine to retrieve the list of all the available genres. More...
 
typedef E_HBBTV_ERR(* F_HBBTV_OBTAIN_SERVICE_GENRES )(U16BIT freesat_id, S_HBBTV_STRING **genre_list, U32BIT *num)
 Function used by the HbbTV engine to retrieve the list of the genres associated with a service. More...
 
typedef void(* F_HBBTV_FREE_GENRE_LIST )(S_HBBTV_STRING *genre_list, U32BIT num)
 Function used by the HbbTV engine to free the list of strings returned by F_HBBTV_OBTAIN_ALL_GENRES and F_HBBTV_OBTAIN_SERVICE_GENRES callbacks. More...
 

Enumerations

enum  E_HBBTV_ERR {
  HBBTV_OK = 0, HBBTV_IGNORED_REQUEST, HBBTV_ERR_OBJECT_NOT_FOUND, HBBTV_ERR_BAD_PARAMETER,
  HBBTV_ERR_ALLOCATING_MEMORY, HBBTV_ERR_COMP_NOT_OPEN, HBBTV_ERR_COMP_ALREADY_OPEN, HBBTV_ERR_COMP_NOT_STARTED,
  HBBTV_ERR_COMP_ALREADY_STARTED, HBBTV_ERR_QUEUE_FULL, HBBTV_ERR_INTERNAL, HBBTV_ERR_SYSTEM_RESOURCE,
  HBBTV_ERR_OTHER
}
 
enum  E_HBBTV_ASPECT_RATIO { HBBTV_VIDEO_ASPECT_RATIO_16x9, HBBTV_VIDEO_ASPECT_RATIO_4x3 }
 
enum  E_HBBTV_KEY {
  HBBTV_VK_INVALID = 0, HBBTV_VK_RED = 403, HBBTV_VK_GREEN = 404, HBBTV_VK_YELLOW = 405,
  HBBTV_VK_BLUE = 406, HBBTV_VK_UP = 38, HBBTV_VK_DOWN = 40, HBBTV_VK_LEFT = 37,
  HBBTV_VK_RIGHT = 39, HBBTV_VK_ENTER = 13, HBBTV_VK_BACK = 461, HBBTV_VK_0 = 48,
  HBBTV_VK_1 = 49, HBBTV_VK_2 = 50, HBBTV_VK_3 = 51, HBBTV_VK_4 = 52,
  HBBTV_VK_5 = 53, HBBTV_VK_6 = 54, HBBTV_VK_7 = 55, HBBTV_VK_8 = 56,
  HBBTV_VK_9 = 57, HBBTV_VK_STOP = 413, HBBTV_VK_PLAY = 415, HBBTV_VK_PAUSE = 19,
  HBBTV_VK_FAST_FWD = 417, HBBTV_VK_REWIND = 412, HBBTV_VK_INFO = 457, HBBTV_VK_TELETEXT = 459,
  HBBTV_VK_RECORD = 416, HBBTV_VK_PAGE_UP = 33, HBBTV_VK_PAGE_DOWN = 34, HBBTV_VK_A = 65,
  HBBTV_VK_B = 66, HBBTV_VK_C = 67, HBBTV_VK_D = 68, HBBTV_VK_E = 69,
  HBBTV_VK_F = 70, HBBTV_VK_G = 71, HBBTV_VK_H = 72, HBBTV_VK_I = 73,
  HBBTV_VK_J = 74, HBBTV_VK_K = 75, HBBTV_VK_L = 76, HBBTV_VK_M = 77,
  HBBTV_VK_N = 78, HBBTV_VK_O = 79, HBBTV_VK_P = 80, HBBTV_VK_Q = 81,
  HBBTV_VK_R = 82, HBBTV_VK_S = 83, HBBTV_VK_T = 84, HBBTV_VK_U = 85,
  HBBTV_VK_V = 86, HBBTV_VK_W = 87, HBBTV_VK_X = 88, HBBTV_VK_Y = 89,
  HBBTV_VK_Z = 90, HBBTV_VK_PREV = 424, HBBTV_VK_NEXT = 425, HBBTV_VK_GUIDE = 458,
  HBBTV_VK_SUBTITLE = 460, HBBTV_VK_MENU = 462
}
 Key codes. More...
 

Detailed Description

Definition of general purpose types.

Date
January 2014
Author
Sergio Panseri

Typedef Documentation

typedef void(* F_HBBTV_FREE_GENRE_LIST)(S_HBBTV_STRING *genre_list, U32BIT num)

Function used by the HbbTV engine to free the list of strings returned by F_HBBTV_OBTAIN_ALL_GENRES and F_HBBTV_OBTAIN_SERVICE_GENRES callbacks.

Parameters
genre_listList of genre strings to be freed .
numNumber of string in the list.
typedef E_HBBTV_ERR(* F_HBBTV_OBTAIN_ALL_GENRES)(S_HBBTV_STRING **genre_list, U32BIT *num)

Function used by the HbbTV engine to retrieve the list of all the available genres.

Parameters
genre_listPointer to a list of string representing the avilable genres.
numPointer the number of string in the list.
Returns
HBBTV_OK on success, HBBTV_ERR_OTHER otherwise.
typedef E_HBBTV_ERR(* F_HBBTV_OBTAIN_SERVICE_GENRES)(U16BIT freesat_id, S_HBBTV_STRING **genre_list, U32BIT *num)

Function used by the HbbTV engine to retrieve the list of the genres associated with a service.

Parameters
freesat_idService Freesat ID.
genre_listPointer to a list of string representing the genres.
numPointer the number of string in the list.
Returns
HBBTV_OK on success, HBBTV_ERR_OTHER otherwise.

Enumeration Type Documentation

Key codes.

Note
CEA-2014-A Annex F