29 #include <libde265/de265-version.h>
34 #ifndef __STDC_LIMIT_MACROS
35 #define __STDC_LIMIT_MACROS 1
39 #if defined(_MSC_VER) && !defined(LIBDE265_STATIC_BUILD)
40 #ifdef LIBDE265_EXPORTS
41 #define LIBDE265_API __declspec(dllexport)
43 #define LIBDE265_API __declspec(dllimport)
46 #ifdef LIBDE265_EXPORTS
47 #define LIBDE265_API __attribute__((__visibility__("default")))
56 #define LIBDE265_DEPRECATED __attribute__((deprecated))
57 #elif defined(_MSC_VER)
58 #define LIBDE265_DEPRECATED __declspec(deprecated)
60 #define LIBDE265_DEPRECATED
64 #define LIBDE265_INLINE __inline
66 #define LIBDE265_INLINE inline
185 const char** nal_unit_name,
187 int* nuh_temporal_id);
206 #ifndef LIBDE265_DISABLE_DEPRECATED
LIBDE265_API de265_error de265_flush_data(de265_decoder_context *)
LIBDE265_API int de265_get_version_number_minor(void)
LIBDE265_API const struct de265_image * de265_get_next_picture(de265_decoder_context *)
LIBDE265_API void de265_push_end_of_frame(de265_decoder_context *)
LIBDE265_API int de265_get_version_number_major(void)
LIBDE265_API de265_error de265_push_NAL(de265_decoder_context *, const void *data, int length, de265_PTS pts, void *user_data)
LIBDE265_API void de265_set_image_plane(struct de265_image *img, int cIdx, void *mem, int stride, void *userdata)
LIBDE265_API void de265_reset(de265_decoder_context *)
LIBDE265_API const char * de265_get_version(void)
LIBDE265_API void * de265_get_image_plane_user_data(const struct de265_image *, int channel)
LIBDE265_API de265_error de265_free_decoder(de265_decoder_context *)
LIBDE265_API int de265_get_version_number_maintenance(void)
de265_acceleration
Definition: de265.h:391
@ de265_acceleration_AUTO
Definition: de265.h:401
@ de265_acceleration_ARM
Definition: de265.h:399
@ de265_acceleration_SSE2
Definition: de265.h:395
@ de265_acceleration_AVX
Definition: de265.h:397
@ de265_acceleration_SCALAR
Definition: de265.h:392
@ de265_acceleration_NEON
Definition: de265.h:400
@ de265_acceleration_MMX
Definition: de265.h:393
@ de265_acceleration_SSE
Definition: de265.h:394
@ de265_acceleration_SSE4
Definition: de265.h:396
@ de265_acceleration_AVX2
Definition: de265.h:398
LIBDE265_API void de265_get_image_NAL_header(const struct de265_image *, int *nal_unit_type, const char **nal_unit_name, int *nuh_layer_id, int *nuh_temporal_id)
LIBDE265_API const char * de265_get_error_text(de265_error err)
LIBDE265_API const struct de265_image * de265_peek_next_picture(de265_decoder_context *)
LIBDE265_API int de265_get_highest_TID(de265_decoder_context *)
LIBDE265_API void de265_release_next_picture(de265_decoder_context *)
LIBDE265_API void de265_set_parameter_bool(de265_decoder_context *, enum de265_param param, int value)
void de265_decoder_context
Definition: de265.h:192
LIBDE265_API void de265_set_parameter_int(de265_decoder_context *, enum de265_param param, int value)
LIBDE265_API de265_error de265_free(void)
#define LIBDE265_DEPRECATED
Definition: de265.h:60
LIBDE265_API de265_PTS de265_get_image_PTS(const struct de265_image *)
LIBDE265_API int de265_get_image_height(const struct de265_image *, int channel)
LIBDE265_API int de265_get_number_of_input_bytes_pending(de265_decoder_context *)
LIBDE265_API int de265_get_current_TID(de265_decoder_context *)
LIBDE265_API int de265_isOK(de265_error err)
LIBDE265_API int de265_change_framerate(de265_decoder_context *, int more_vs_less)
LIBDE265_API void de265_set_verbosity(int level)
LIBDE265_API de265_decoder_context * de265_new_decoder(void)
LIBDE265_API int de265_get_number_of_NAL_units_pending(de265_decoder_context *)
LIBDE265_API void de265_set_framerate_ratio(de265_decoder_context *, int percent)
LIBDE265_API enum de265_chroma de265_get_chroma_format(const struct de265_image *)
de265_image_format
Definition: de265.h:300
@ de265_image_format_YUV422P8
Definition: de265.h:303
@ de265_image_format_YUV444P8
Definition: de265.h:304
@ de265_image_format_mono8
Definition: de265.h:301
@ de265_image_format_YUV420P8
Definition: de265.h:302
LIBDE265_API de265_error de265_decode(de265_decoder_context *, int *more)
int64_t de265_PTS
Definition: de265.h:166
LIBDE265_API void * de265_get_image_user_data(const struct de265_image *)
LIBDE265_API de265_error de265_get_warning(de265_decoder_context *)
LIBDE265_API int de265_get_image_width(const struct de265_image *, int channel)
LIBDE265_API void de265_set_image_user_data(struct de265_image *, void *user_data)
LIBDE265_API int de265_get_bits_per_pixel(const struct de265_image *, int channel)
LIBDE265_API void de265_set_image_allocation_functions(de265_decoder_context *, struct de265_image_allocation *, void *userdata)
LIBDE265_API de265_error de265_init(void)
LIBDE265_API void de265_disable_logging()
de265_chroma
Definition: de265.h:159
@ de265_chroma_444
Definition: de265.h:163
@ de265_chroma_420
Definition: de265.h:161
@ de265_chroma_422
Definition: de265.h:162
@ de265_chroma_mono
Definition: de265.h:160
LIBDE265_API const uint8_t * de265_get_image_plane(const struct de265_image *, int channel, int *out_stride)
LIBDE265_API const struct de265_image_allocation * de265_get_default_image_allocation_functions(void)
LIBDE265_API void de265_push_end_of_NAL(de265_decoder_context *)
#define LIBDE265_API
Definition: de265.h:52
de265_param
Definition: de265.h:375
@ DE265_DECODER_PARAM_DUMP_VPS_HEADERS
Definition: de265.h:378
@ DE265_DECODER_PARAM_DUMP_SLICE_HEADERS
Definition: de265.h:380
@ DE265_DECODER_PARAM_DUMP_SPS_HEADERS
Definition: de265.h:377
@ DE265_DECODER_PARAM_DISABLE_SAO
Definition: de265.h:385
@ DE265_DECODER_PARAM_DUMP_PPS_HEADERS
Definition: de265.h:379
@ DE265_DECODER_PARAM_DISABLE_DEBLOCKING
Definition: de265.h:384
@ DE265_DECODER_PARAM_ACCELERATION_CODE
Definition: de265.h:381
@ DE265_DECODER_PARAM_SUPPRESS_FAULTY_PICTURES
Definition: de265.h:382
@ DE265_DECODER_PARAM_BOOL_SEI_CHECK_HASH
Definition: de265.h:376
LIBDE265_API de265_error de265_push_data(de265_decoder_context *, const void *data, int length, de265_PTS pts, void *user_data)
LIBDE265_API int de265_get_parameter_bool(de265_decoder_context *, enum de265_param param)
LIBDE265_API LIBDE265_DEPRECATED de265_error de265_decode_data(de265_decoder_context *, const void *data, int length)
LIBDE265_API de265_error de265_start_worker_threads(de265_decoder_context *, int number_of_threads)
LIBDE265_API uint32_t de265_get_version_number(void)
LIBDE265_API void de265_set_limit_TID(de265_decoder_context *, int max_tid)
de265_error
Definition: de265.h:82
@ DE265_WARNING_NONEXISTING_SPS_REFERENCED
Definition: de265.h:122
@ DE265_ERROR_CTB_OUTSIDE_IMAGE_AREA
Definition: de265.h:89
@ DE265_ERROR_LIBRARY_NOT_INITIALIZED
Definition: de265.h:95
@ DE265_WARNING_INCORRECT_ENTRY_POINT_OFFSET
Definition: de265.h:115
@ DE265_WARNING_PREMATURE_END_OF_SLICE_SEGMENT
Definition: de265.h:114
@ DE265_WARNING_NUMMVP_NOT_EQUAL_TO_NUMMVQ
Definition: de265.h:125
@ DE265_ERROR_NOT_IMPLEMENTED_YET
Definition: de265.h:107
@ DE265_NON_EXISTING_LT_REFERENCE_CANDIDATE_IN_SLICE_HEADER
Definition: de265.h:135
@ DE265_WARNING_SLICE_SEGMENT_ADDRESS_INVALID
Definition: de265.h:132
@ DE265_ERROR_OUT_OF_MEMORY
Definition: de265.h:90
@ DE265_WARNING_COLLOCATED_MOTION_VECTOR_OUTSIDE_IMAGE_AREA
Definition: de265.h:138
@ DE265_ERROR_CANNOT_START_THREADPOOL
Definition: de265.h:93
@ DE265_WARNING_PPS_HEADER_INVALID
Definition: de265.h:118
@ DE265_WARNING_EOSS_BIT_NOT_SET
Definition: de265.h:129
@ DE265_WARNING_SLICEHEADER_INVALID
Definition: de265.h:119
@ DE265_WARNING_NO_WPP_CANNOT_USE_MULTITHREADING
Definition: de265.h:112
@ DE265_WARNING_CANNOT_APPLY_SAO_OUT_OF_MEMORY
Definition: de265.h:136
@ DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE
Definition: de265.h:91
@ DE265_WARNING_NUMBER_OF_SHORT_TERM_REF_PIC_SETS_OUT_OF_RANGE
Definition: de265.h:126
@ DE265_ERROR_CANNOT_PROCESS_SEI
Definition: de265.h:97
@ DE265_WARNING_INVALID_CHROMA_FORMAT
Definition: de265.h:131
@ DE265_WARNING_NONEXISTING_REFERENCE_PICTURE_ACCESSED
Definition: de265.h:124
@ DE265_WARNING_SHORT_TERM_REF_PIC_SET_OUT_OF_RANGE
Definition: de265.h:127
@ DE265_ERROR_COEFFICIENT_OUT_OF_IMAGE_BOUNDS
Definition: de265.h:87
@ DE265_WARNING_CTB_OUTSIDE_IMAGE_AREA
Definition: de265.h:116
@ DE265_WARNING_FAULTY_REFERENCE_PICTURE_LIST
Definition: de265.h:128
@ DE265_ERROR_NO_SUCH_FILE
Definition: de265.h:84
@ DE265_WARNING_SPS_MISSING_CANNOT_DECODE_SEI
Definition: de265.h:137
@ DE265_WARNING_DEPENDENT_SLICE_WITH_ADDRESS_ZERO
Definition: de265.h:133
@ DE265_ERROR_IMAGE_BUFFER_FULL
Definition: de265.h:92
@ DE265_WARNING_INCORRECT_MOTION_VECTOR_SCALING
Definition: de265.h:120
@ DE265_ERROR_PREMATURE_END_OF_SLICE
Definition: de265.h:100
@ DE265_WARNING_NUMBER_OF_THREADS_LIMITED_TO_MAXIMUM
Definition: de265.h:134
@ DE265_WARNING_WARNING_BUFFER_FULL
Definition: de265.h:113
@ DE265_ERROR_LIBRARY_INITIALIZATION_FAILED
Definition: de265.h:94
@ DE265_WARNING_BOTH_PREDFLAGS_ZERO
Definition: de265.h:123
@ DE265_ERROR_PARAMETER_PARSING
Definition: de265.h:98
@ DE265_ERROR_WAITING_FOR_INPUT_DATA
Definition: de265.h:96
@ DE265_WARNING_MAX_NUM_REF_PICS_EXCEEDED
Definition: de265.h:130
@ DE265_OK
Definition: de265.h:83
@ DE265_WARNING_NONEXISTING_PPS_REFERENCED
Definition: de265.h:121
@ DE265_WARNING_SPS_HEADER_INVALID
Definition: de265.h:117
@ DE265_ERROR_UNSPECIFIED_DECODING_ERROR
Definition: de265.h:101
@ DE265_ERROR_NO_INITIAL_SLICE_HEADER
Definition: de265.h:99
@ DE265_ERROR_CHECKSUM_MISMATCH
Definition: de265.h:88
qulonglong value
Definition: itemviewutilities.cpp:592
int(* get_buffer)(de265_decoder_context *ctx, struct de265_image_spec *spec, struct de265_image *img, void *userdata)
Definition: de265.h:327
void(* release_buffer)(de265_decoder_context *ctx, struct de265_image *img, void *userdata)
Definition: de265.h:331
int crop_right
Definition: de265.h:317
int visible_width
Definition: de265.h:321
int crop_left
Definition: de265.h:316
int alignment
Definition: de265.h:312
int crop_bottom
Definition: de265.h:319
int width
Definition: de265.h:310
int height
Definition: de265.h:311
int visible_height
Definition: de265.h:322
int crop_top
Definition: de265.h:318
enum de265_image_format format
Definition: de265.h:309
void * user_data
Definition: image.h:424
de265_PTS pts
Definition: image.h:423