digiKam
|
Public Member Functions | |
void | add_slice_segment_header (slice_segment_header *shdr) |
de265_error | alloc_image (int w, int h, enum de265_chroma c, std::shared_ptr< const seq_parameter_set > sps, bool allocMetadata, decoder_context *dctx, de265_PTS pts, void *user_data, bool useCustomAllocFunctions) |
bool | available_pred_blk (int xC, int yC, int nCbS, int xP, int yP, int nPbW, int nPbH, int partIdx, int xN, int yN) const |
bool | available_zscan (int xCurr, int yCurr, int xN, int yN) const |
bool | can_be_released () const |
void | clear_metadata () |
void | clear_split_transform_flags (int x0, int y0, int log2CbSize) |
de265_error | copy_image (const de265_image *src) |
void | copy_lines_from (const de265_image *src, int first, int end) |
de265_image () | |
bool | debug_is_completed () const |
void | exchange_pixel_data_with (de265_image &) |
void | fill_image (int y, int u, int v) |
void | fill_pred_mode (enum PredMode mode) |
int | get_bit_depth (int cIdx) const |
int | get_bytes_per_pixel (int cIdx) const |
enum de265_chroma | get_chroma_format () const |
int | get_chroma_stride () const |
bool | get_CTB_has_pcm_or_cu_transquant_bypass (int ctbX, int ctbY) const |
bool | get_CtbDeblockFlag (int ctbX, int ctbY) const |
int | get_ctDepth (int x, int y) const |
uint8_t | get_cu_skip_flag (int x, int y) const |
int | get_cu_transquant_bypass (int x, int y) const |
uint8_t | get_deblk_bS (int x0, int y0) const |
uint8_t | get_deblk_flags (int x0, int y0) const |
int | get_deblk_height () const |
int | get_deblk_width () const |
int | get_height (int cIdx=0) const |
uint32_t | get_ID () const |
uint8_t * | get_image_plane (int cIdx) |
const uint8_t * | get_image_plane (int cIdx) const |
uint8_t * | get_image_plane_at_pos (int cIdx, int xpos, int ypos) |
const uint8_t * | get_image_plane_at_pos (int cIdx, int xpos, int ypos) const |
void * | get_image_plane_at_pos_any_depth (int cIdx, int xpos, int ypos) |
const void * | get_image_plane_at_pos_any_depth (int cIdx, int xpos, int ypos) const |
template<class pixel_t > | |
pixel_t * | get_image_plane_at_pos_NEW (int cIdx, int xpos, int ypos) |
xpos;ypos in actual plane resolution More... | |
int | get_image_stride (int cIdx) const |
enum IntraPredMode | get_IntraPredMode (int x, int y) const |
enum IntraPredMode | get_IntraPredMode_atIndex (int idx) const |
enum IntraPredMode | get_IntraPredModeC (int x, int y) const |
int | get_log2CbSize (int x0, int y0) const |
int | get_log2CbSize_cbUnits (int xCb, int yCb) const |
int | get_luma_stride () const |
const PBMotion & | get_mv_info (int x, int y) const |
int | get_nonzero_coefficient (int x, int y) const |
enum PartMode | get_PartMode (int x, int y) const |
int | get_pcm_flag (int x, int y) const |
const pic_parameter_set & | get_pps () const |
enum PredMode | get_pred_mode (int x, int y) const |
int | get_QPY (int x0, int y0) const |
const sao_info * | get_sao_info (int ctbX, int ctbY) const |
std::shared_ptr< const seq_parameter_set > | get_shared_sps () |
int | get_SliceAddrRS (int ctbX, int ctbY) const |
int | get_SliceAddrRS_atCtbRS (int ctbRS) const |
slice_segment_header * | get_SliceHeader (int x, int y) |
slice_segment_header * | get_SliceHeaderCtb (int ctbX, int ctbY) |
const slice_segment_header * | get_SliceHeaderCtb (int ctbX, int ctbY) const |
int | get_SliceHeaderIndex (int x, int y) const |
int | get_SliceHeaderIndex_atIndex (int ctb) const |
int | get_SliceHeaderIndexCtb (int ctbX, int ctbY) const |
int | get_split_transform_flag (int x0, int y0, int trafoDepth) const |
const seq_parameter_set & | get_sps () const |
const video_parameter_set & | get_vps () const |
int | get_width (int cIdx=0) const |
bool | has_pps () const |
bool | has_sps () const |
bool | has_vps () const |
bool | high_bit_depth (int cIdx) const |
bool | is_allocated () const |
bool | is_IntraPredModeC_Mode4 (int x, int y) const |
bool | is_SliceHeader_available (int x, int y) const |
void | mark_all_CTB_progress (int progress) |
int | num_threads_active () const |
int | number_of_ctbs () const |
void | printBlk (const char *title, int x0, int y0, int blkSize, int cIdx) const |
void | printBlk (int x0, int y0, int cIdx, int log2BlkSize) |
void | release () |
void | set_CtbDeblockFlag (int ctbX, int ctbY, bool flag) |
void | set_ctDepth (int x, int y, int log2BlkWidth, int depth) |
void | set_cu_transquant_bypass (int x, int y, int log2BlkWidth, uint8_t value=1) |
void | set_deblk_bS (int x0, int y0, uint8_t bS) |
void | set_deblk_flags (int x0, int y0, uint8_t flags) |
void | set_headers (std::shared_ptr< video_parameter_set > _vps, std::shared_ptr< seq_parameter_set > _sps, std::shared_ptr< pic_parameter_set > _pps) |
void | set_image_plane (int cIdx, uint8_t *mem, int stride, void *userdata) |
void | set_IntraPredMode (int PUidx, int log2blkSize, enum IntraPredMode mode) |
void | set_IntraPredMode (int x0, int y0, int log2blkSize, enum IntraPredMode mode) |
void | set_IntraPredModeC (int x0, int y0, int log2blkSize, enum IntraPredMode mode, bool is_mode4) |
void | set_log2CbSize (int x0, int y0, int log2CbSize, bool fill) |
void | set_mv_info (int x, int y, int nPbW, int nPbH, const PBMotion &mv) |
void | set_nonzero_coefficient (int x, int y, int log2TrafoSize) |
void | set_PartMode (int x, int y, enum PartMode mode) |
void | set_pcm_flag (int x, int y, int log2BlkWidth, uint8_t value=1) |
void | set_pred_mode (int x, int y, int log2BlkWidth, enum PredMode mode) |
void | set_QPY (int x, int y, int log2BlkWidth, int QP_Y) |
void | set_sao_info (int ctbX, int ctbY, const sao_info *saoinfo) |
void | set_SliceAddrRS (int ctbX, int ctbY, int SliceAddrRS) |
void | set_SliceHeaderIndex (int x, int y, int SliceHeaderIndex) |
void | set_split_transform_flag (int x0, int y0, int trafoDepth) |
void | thread_blocks () |
void | thread_finishes (const thread_task *) |
void | thread_run (const thread_task *) |
void | thread_start (int nThreads) |
void | thread_unblocks () |
void | wait_for_completion () |
void | wait_for_progress (thread_task *task, int ctbAddrRS, int progress) |
void | wait_for_progress (thread_task *task, int ctbx, int ctby, int progress) |
~de265_image () | |
Public Attributes | |
uint8_t | BitDepth_C |
uint8_t | BitDepth_Y |
int | chroma_height_confwin |
int | chroma_width_confwin |
de265_progress_lock * | ctb_progress |
decoder_context * | decctx |
de265_cond | finished_cond |
int | height_confwin |
de265_image_allocation | image_allocation_functions |
uint8_t | integrity |
de265_mutex | mutex |
nal_header | nal_hdr |
int | nThreadsBlocked |
int | nThreadsFinished |
int | nThreadsQueued |
int | nThreadsRunning |
int | nThreadsTotal |
int | PicOrderCntVal |
bool | PicOutputFlag |
enum PictureState | PicState |
int | picture_order_cnt_lsb |
uint8_t * | pixels_confwin [3] |
void * | plane_user_data [3] |
de265_PTS | pts |
int32_t | removed_at_picture_id |
bool | sei_hash_check_result |
std::vector< slice_segment_header * > | slices |
uint8_t | SubHeightC |
uint8_t | SubWidthC |
void * | user_data |
int | width_confwin |
Static Public Attributes | |
static de265_image_allocation | default_image_allocation |
de265_image::de265_image | ( | ) |
de265_image::~de265_image | ( | ) |
|
inline |
References slice_segment_header::slice_index, and slices.
de265_error de265_image::alloc_image | ( | int | w, |
int | h, | ||
enum de265_chroma | c, | ||
std::shared_ptr< const seq_parameter_set > | sps, | ||
bool | allocMetadata, | ||
decoder_context * | dctx, | ||
de265_PTS | pts, | ||
void * | user_data, | ||
bool | useCustomAllocFunctions | ||
) |
bool de265_image::available_pred_blk | ( | int | xC, |
int | yC, | ||
int | nCbS, | ||
int | xP, | ||
int | yP, | ||
int | nPbW, | ||
int | nPbH, | ||
int | partIdx, | ||
int | xN, | ||
int | yN | ||
) | const |
bool de265_image::available_zscan | ( | int | xCurr, |
int | yCurr, | ||
int | xN, | ||
int | yN | ||
) | const |
|
inline |
References PicOutputFlag, PicState, and UnusedForReference.
void de265_image::clear_metadata | ( | ) |
|
inline |
References CLEAR_TB_BLK.
de265_error de265_image::copy_image | ( | const de265_image * | src | ) |
void de265_image::copy_lines_from | ( | const de265_image * | src, |
int | first, | ||
int | end | ||
) |
bool de265_image::debug_is_completed | ( | ) | const |
void de265_image::exchange_pixel_data_with | ( | de265_image & | ) |
void de265_image::fill_image | ( | int | y, |
int | u, | ||
int | v | ||
) |
|
inline |
References MetaDataArray< DataUnit >::data_size, and MODE_INTRA.
|
inline |
Referenced by get_bytes_per_pixel(), and high_bit_depth().
|
inline |
References get_bit_depth().
|
inline |
|
inline |
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
References CB_ref_info::ctDepth, and MetaDataArray< DataUnit >::get().
|
inline |
References get_pred_mode(), and MODE_SKIP.
|
inline |
References CB_ref_info::cu_transquant_bypass, and MetaDataArray< DataUnit >::get().
|
inline |
References DEBLOCK_BS_MASK, and MetaDataArray< DataUnit >::width_in_units.
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
References MetaDataArray< DataUnit >::height_in_units.
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References get_image_stride().
Referenced by printBlk().
|
inline |
References get_image_stride().
|
inline |
References get_image_stride().
|
inline |
References get_image_stride().
|
inline |
xpos;ypos in actual plane resolution
References get_image_stride().
|
inline |
Referenced by get_image_plane_at_pos(), get_image_plane_at_pos_any_depth(), get_image_plane_at_pos_NEW(), and printBlk().
|
inline |
References MetaDataArray< DataUnit >::get(), and TU_FLAG_NONZERO_COEFF.
|
inline |
|
inline |
|
inline |
References MetaDataArray< DataUnit >::get(), and CB_ref_info::log2CbSize.
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
|
inline |
References MetaDataArray< DataUnit >::get().
|
inline |
|
inline |
References MetaDataArray< DataUnit >::get(), and CB_ref_info::PartMode.
|
inline |
References MetaDataArray< DataUnit >::get(), and CB_ref_info::pcm_flag.
|
inline |
|
inline |
Referenced by get_cu_skip_flag().
|
inline |
References MetaDataArray< DataUnit >::get(), and CB_ref_info::QP_Y.
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
|
inline |
References get_SliceHeaderIndex(), and slices.
|
inline |
References get_SliceHeaderIndexCtb(), and slices.
|
inline |
References get_SliceHeaderIndexCtb(), and slices.
|
inline |
References MetaDataArray< DataUnit >::get(), and CTB_info::SliceHeaderIndex.
Referenced by get_SliceHeader().
|
inline |
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
Referenced by get_SliceHeaderCtb().
|
inline |
References MetaDataArray< DataUnit >::get().
|
inline |
Referenced by fillIntraPredModeCandidates().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
References get_bit_depth().
|
inline |
|
inline |
References MetaDataArray< DataUnit >::get().
|
inline |
References MetaDataArray< DataUnit >::get(), CTB_info::SliceHeaderIndex, and slices.
|
inline |
|
inline |
References nThreadsBlocked, and nThreadsRunning.
|
inline |
References MetaDataArray< DataUnit >::size().
|
inline |
References get_image_plane_at_pos(), and get_image_stride().
void de265_image::printBlk | ( | int | x0, |
int | y0, | ||
int | cIdx, | ||
int | log2BlkSize | ||
) |
void de265_image::release | ( | ) |
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
References SET_CB_BLK.
|
inline |
References MetaDataArray< DataUnit >::get(), CTB_info::has_pcm_or_cu_transquant_bypass, SET_CB_BLK, and value.
|
inline |
References DEBLOCK_BS_MASK, and MetaDataArray< DataUnit >::width_in_units.
|
inline |
|
inline |
void de265_image::set_image_plane | ( | int | cIdx, |
uint8_t * | mem, | ||
int | stride, | ||
void * | userdata | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
References MetaDataArray< DataUnit >::get(), CB_ref_info::log2CbSize, and SET_CB_BLK.
void de265_image::set_mv_info | ( | int | x, |
int | y, | ||
int | nPbW, | ||
int | nPbH, | ||
const PBMotion & | mv | ||
) |
|
inline |
|
inline |
|
inline |
References MetaDataArray< DataUnit >::get(), CTB_info::has_pcm_or_cu_transquant_bypass, SET_CB_BLK, and value.
|
inline |
References SET_CB_BLK.
|
inline |
References SET_CB_BLK.
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
References MetaDataArray< DataUnit >::width_in_units.
|
inline |
References MetaDataArray< DataUnit >::get(), and CTB_info::SliceHeaderIndex.
|
inline |
References MetaDataArray< DataUnit >::get().
void de265_image::thread_blocks | ( | ) |
void de265_image::thread_finishes | ( | const thread_task * | ) |
void de265_image::thread_run | ( | const thread_task * | ) |
void de265_image::thread_start | ( | int | nThreads | ) |
void de265_image::thread_unblocks | ( | ) |
void de265_image::wait_for_completion | ( | ) |
void de265_image::wait_for_progress | ( | thread_task * | task, |
int | ctbAddrRS, | ||
int | progress | ||
) |
void de265_image::wait_for_progress | ( | thread_task * | task, |
int | ctbx, | ||
int | ctby, | ||
int | progress | ||
) |
uint8_t de265_image::BitDepth_C |
uint8_t de265_image::BitDepth_Y |
int de265_image::chroma_height_confwin |
int de265_image::chroma_width_confwin |
de265_progress_lock* de265_image::ctb_progress |
Referenced by mark_all_CTB_progress().
decoder_context* de265_image::decctx |
|
static |
de265_cond de265_image::finished_cond |
int de265_image::height_confwin |
de265_image_allocation de265_image::image_allocation_functions |
uint8_t de265_image::integrity |
de265_mutex de265_image::mutex |
nal_header de265_image::nal_hdr |
int de265_image::nThreadsBlocked |
Referenced by num_threads_active().
int de265_image::nThreadsFinished |
int de265_image::nThreadsQueued |
int de265_image::nThreadsRunning |
Referenced by num_threads_active().
int de265_image::nThreadsTotal |
int de265_image::PicOrderCntVal |
bool de265_image::PicOutputFlag |
Referenced by can_be_released().
enum PictureState de265_image::PicState |
Referenced by can_be_released().
int de265_image::picture_order_cnt_lsb |
uint8_t* de265_image::pixels_confwin[3] |
void* de265_image::plane_user_data[3] |
de265_PTS de265_image::pts |
int32_t de265_image::removed_at_picture_id |
bool de265_image::sei_hash_check_result |
std::vector<slice_segment_header*> de265_image::slices |
Referenced by add_slice_segment_header(), get_SliceHeader(), get_SliceHeaderCtb(), and is_SliceHeader_available().
uint8_t de265_image::SubHeightC |
uint8_t de265_image::SubWidthC |
void* de265_image::user_data |
int de265_image::width_confwin |