digiKam
en265.h File Reference

Go to the source code of this file.

Classes

struct  en265_packet
 

Enumerations

enum  en265_encoder_state {
  EN265_STATE_IDLE , EN265_STATE_WAITING_FOR_INPUT , EN265_STATE_WORKING , EN265_STATE_OUTPUT_QUEUE_FULL ,
  EN265_STATE_EOS
}
 
enum  en265_nal_unit_type {
  EN265_NUT_TRAIL_N = 0 , EN265_NUT_TRAIL_R = 1 , EN265_NUT_TSA_N = 2 , EN265_NUT_TSA_R = 3 ,
  EN265_NUT_STSA_N = 4 , EN265_NUT_STSA_R = 5 , EN265_NUT_RADL_N = 6 , EN265_NUT_RADL_R = 7 ,
  EN265_NUT_RASL_N = 8 , EN265_NUT_RASL_R = 9 , EN265_NUT_BLA_W_LP = 16 , EN265_NUT_BLA_W_RADL = 17 ,
  EN265_NUT_BLA_N_LP = 18 , EN265_NUT_IDR_W_RADL = 19 , EN265_NUT_IDR_N_LP = 20 , EN265_NUT_CRA = 21 ,
  EN265_NUT_VPS = 32 , EN265_NUT_SPS = 33 , EN265_NUT_PPS = 34 , EN265_NUT_AUD = 35 ,
  EN265_NUT_EOS = 36 , EN265_NUT_EOB = 37 , EN265_NUT_FD = 38 , EN265_NUT_PREFIX_SEI = 39 ,
  EN265_NUT_SUFFIX_SEI = 40
}
 
enum  en265_packet_content_type {
  EN265_PACKET_VPS , EN265_PACKET_SPS , EN265_PACKET_PPS , EN265_PACKET_SEI ,
  EN265_PACKET_SLICE , EN265_PACKET_SKIPPED_IMAGE
}
 
enum  en265_parameter_type { en265_parameter_bool , en265_parameter_int , en265_parameter_string , en265_parameter_choice }
 

Functions

LIBDE265_API void * de265_alloc_image_plane (struct de265_image *img, int cIdx, void *inputdata, int inputstride, void *userdata)
 
LIBDE265_API void de265_free_image_plane (struct de265_image *img, int cIdx)
 
LIBDE265_API struct de265_imageen265_allocate_image (en265_encoder_context *, int width, int height, enum de265_chroma chroma, de265_PTS pts, void *image_userdata)
 
LIBDE265_API de265_error en265_block_on_input_queue_length (en265_encoder_context *, int max_pending_images, int timeout_ms)
 
LIBDE265_API int en265_current_input_queue_length (en265_encoder_context *)
 
LIBDE265_API de265_error en265_encode (en265_encoder_context *)
 
LIBDE265_API de265_error en265_free_encoder (en265_encoder_context *)
 
LIBDE265_API void en265_free_packet (en265_encoder_context *, struct en265_packet *)
 
LIBDE265_API enum en265_encoder_state en265_get_encoder_state (en265_encoder_context *)
 
LIBDE265_API void en265_get_image_spec (en265_encoder_context *, int width, int height, enum de265_chroma chroma, struct de265_image_spec *out_spec)
 
LIBDE265_API struct en265_packeten265_get_packet (en265_encoder_context *, int timeout_ms)
 
LIBDE265_API enum en265_parameter_type en265_get_parameter_type (en265_encoder_context *, const char *parametername)
 
LIBDE265_API const char ** en265_list_parameter_choices (en265_encoder_context *, const char *parametername)
 
LIBDE265_API const char ** en265_list_parameters (en265_encoder_context *)
 
LIBDE265_API en265_encoder_context * en265_new_encoder (void)
 
LIBDE265_API int en265_number_of_queued_packets (en265_encoder_context *)
 
LIBDE265_API de265_error en265_parse_command_line_parameters (en265_encoder_context *, int *argc, char **argv)
 
LIBDE265_API de265_error en265_push_eof (en265_encoder_context *)
 
LIBDE265_API de265_error en265_push_image (en265_encoder_context *, struct de265_image *)
 
LIBDE265_API de265_error en265_set_parameter_bool (en265_encoder_context *, const char *parametername, int value)
 
LIBDE265_API de265_error en265_set_parameter_choice (en265_encoder_context *, const char *parametername, const char *value)
 
LIBDE265_API de265_error en265_set_parameter_int (en265_encoder_context *, const char *parametername, int value)
 
LIBDE265_API de265_error en265_set_parameter_string (en265_encoder_context *, const char *parametername, const char *value)
 
LIBDE265_API void en265_show_parameters (en265_encoder_context *)
 
LIBDE265_API de265_error en265_start_encoder (en265_encoder_context *, int number_of_threads)
 
LIBDE265_API de265_error en265_trim_input_queue (en265_encoder_context *, int max_pending_images)
 

Enumeration Type Documentation

◆ en265_encoder_state

Enumerator
EN265_STATE_IDLE 
EN265_STATE_WAITING_FOR_INPUT 
EN265_STATE_WORKING 
EN265_STATE_OUTPUT_QUEUE_FULL 
EN265_STATE_EOS 

◆ en265_nal_unit_type

Enumerator
EN265_NUT_TRAIL_N 
EN265_NUT_TRAIL_R 
EN265_NUT_TSA_N 
EN265_NUT_TSA_R 
EN265_NUT_STSA_N 
EN265_NUT_STSA_R 
EN265_NUT_RADL_N 
EN265_NUT_RADL_R 
EN265_NUT_RASL_N 
EN265_NUT_RASL_R 
EN265_NUT_BLA_W_LP 
EN265_NUT_BLA_W_RADL 
EN265_NUT_BLA_N_LP 
EN265_NUT_IDR_W_RADL 
EN265_NUT_IDR_N_LP 
EN265_NUT_CRA 
EN265_NUT_VPS 
EN265_NUT_SPS 
EN265_NUT_PPS 
EN265_NUT_AUD 
EN265_NUT_EOS 
EN265_NUT_EOB 
EN265_NUT_FD 
EN265_NUT_PREFIX_SEI 
EN265_NUT_SUFFIX_SEI 

◆ en265_packet_content_type

Enumerator
EN265_PACKET_VPS 
EN265_PACKET_SPS 
EN265_PACKET_PPS 
EN265_PACKET_SEI 
EN265_PACKET_SLICE 
EN265_PACKET_SKIPPED_IMAGE 

◆ en265_parameter_type

Enumerator
en265_parameter_bool 
en265_parameter_int 
en265_parameter_string 
en265_parameter_choice 

Function Documentation

◆ de265_alloc_image_plane()

LIBDE265_API void* de265_alloc_image_plane ( struct de265_image img,
int  cIdx,
void *  inputdata,
int  inputstride,
void *  userdata 
)

◆ de265_free_image_plane()

LIBDE265_API void de265_free_image_plane ( struct de265_image img,
int  cIdx 
)

◆ en265_allocate_image()

LIBDE265_API struct de265_image* en265_allocate_image ( en265_encoder_context *  ,
int  width,
int  height,
enum de265_chroma  chroma,
de265_PTS  pts,
void *  image_userdata 
)

◆ en265_block_on_input_queue_length()

LIBDE265_API de265_error en265_block_on_input_queue_length ( en265_encoder_context *  ,
int  max_pending_images,
int  timeout_ms 
)

◆ en265_current_input_queue_length()

LIBDE265_API int en265_current_input_queue_length ( en265_encoder_context *  )

◆ en265_encode()

LIBDE265_API de265_error en265_encode ( en265_encoder_context *  )

◆ en265_free_encoder()

LIBDE265_API de265_error en265_free_encoder ( en265_encoder_context *  )

◆ en265_free_packet()

LIBDE265_API void en265_free_packet ( en265_encoder_context *  ,
struct en265_packet  
)

◆ en265_get_encoder_state()

LIBDE265_API enum en265_encoder_state en265_get_encoder_state ( en265_encoder_context *  )

◆ en265_get_image_spec()

LIBDE265_API void en265_get_image_spec ( en265_encoder_context *  ,
int  width,
int  height,
enum de265_chroma  chroma,
struct de265_image_spec out_spec 
)

◆ en265_get_packet()

LIBDE265_API struct en265_packet* en265_get_packet ( en265_encoder_context *  ,
int  timeout_ms 
)

◆ en265_get_parameter_type()

LIBDE265_API enum en265_parameter_type en265_get_parameter_type ( en265_encoder_context *  ,
const char *  parametername 
)

◆ en265_list_parameter_choices()

LIBDE265_API const char** en265_list_parameter_choices ( en265_encoder_context *  ,
const char *  parametername 
)

◆ en265_list_parameters()

LIBDE265_API const char** en265_list_parameters ( en265_encoder_context *  )

◆ en265_new_encoder()

LIBDE265_API en265_encoder_context* en265_new_encoder ( void  )

◆ en265_number_of_queued_packets()

LIBDE265_API int en265_number_of_queued_packets ( en265_encoder_context *  )

◆ en265_parse_command_line_parameters()

LIBDE265_API de265_error en265_parse_command_line_parameters ( en265_encoder_context *  ,
int *  argc,
char **  argv 
)

◆ en265_push_eof()

LIBDE265_API de265_error en265_push_eof ( en265_encoder_context *  )

◆ en265_push_image()

LIBDE265_API de265_error en265_push_image ( en265_encoder_context *  ,
struct de265_image  
)

◆ en265_set_parameter_bool()

LIBDE265_API de265_error en265_set_parameter_bool ( en265_encoder_context *  ,
const char *  parametername,
int  value 
)

◆ en265_set_parameter_choice()

LIBDE265_API de265_error en265_set_parameter_choice ( en265_encoder_context *  ,
const char *  parametername,
const char *  value 
)

◆ en265_set_parameter_int()

LIBDE265_API de265_error en265_set_parameter_int ( en265_encoder_context *  ,
const char *  parametername,
int  value 
)

◆ en265_set_parameter_string()

LIBDE265_API de265_error en265_set_parameter_string ( en265_encoder_context *  ,
const char *  parametername,
const char *  value 
)

◆ en265_show_parameters()

LIBDE265_API void en265_show_parameters ( en265_encoder_context *  )

◆ en265_start_encoder()

LIBDE265_API de265_error en265_start_encoder ( en265_encoder_context *  ,
int  number_of_threads 
)

◆ en265_trim_input_queue()

LIBDE265_API de265_error en265_trim_input_queue ( en265_encoder_context *  ,
int  max_pending_images 
)