ctx 622 libde265-1.0.3/dec265/dec265.cc de265_decoder_context* ctx = de265_new_decoder(); ctx 624 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_bool(ctx, DE265_DECODER_PARAM_BOOL_SEI_CHECK_HASH, check_hash); ctx 625 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_bool(ctx, DE265_DECODER_PARAM_SUPPRESS_FAULTY_PICTURES, false); ctx 627 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_bool(ctx, DE265_DECODER_PARAM_DISABLE_DEBLOCKING, disable_deblocking); ctx 628 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_bool(ctx, DE265_DECODER_PARAM_DISABLE_SAO, disable_sao); ctx 631 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_DUMP_SPS_HEADERS, 1); ctx 632 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_DUMP_VPS_HEADERS, 1); ctx 633 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_DUMP_PPS_HEADERS, 1); ctx 634 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_DUMP_SLICE_HEADERS, 1); ctx 638 libde265-1.0.3/dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_ACCELERATION_CODE, de265_acceleration_SCALAR); ctx 650 libde265-1.0.3/dec265/dec265.cc err = de265_start_worker_threads(ctx, nThreads); ctx 654 libde265-1.0.3/dec265/dec265.cc de265_set_limit_TID(ctx, highestTID); ctx 693 libde265-1.0.3/dec265/dec265.cc err = de265_push_NAL(ctx, buf,n, pos, (void*)1); ctx 711 libde265-1.0.3/dec265/dec265.cc err = de265_push_data(ctx, buf, n, pos, (void*)2); ctx 722 libde265-1.0.3/dec265/dec265.cc de265_reset(ctx); ctx 733 libde265-1.0.3/dec265/dec265.cc err = de265_flush_data(ctx); // indicate end of stream ctx 747 libde265-1.0.3/dec265/dec265.cc err = de265_decode(ctx, &more); ctx 759 libde265-1.0.3/dec265/dec265.cc const de265_image* img = de265_get_next_picture(ctx); ctx 773 libde265-1.0.3/dec265/dec265.cc de265_error warning = de265_get_warning(ctx); ctx 799 libde265-1.0.3/dec265/dec265.cc de265_free_decoder(ctx); ctx 37 libde265-1.0.3/libde265/de265.cc de265_error read_vps(decoder_context* ctx, bitreader* reader, video_parameter_set* vps); ctx 218 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = new decoder_context; ctx 219 libde265-1.0.3/libde265/de265.cc if (!ctx) { ctx 224 libde265-1.0.3/libde265/de265.cc return (de265_decoder_context*)ctx; ctx 230 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 232 libde265-1.0.3/libde265/de265.cc ctx->stop_thread_pool(); ctx 234 libde265-1.0.3/libde265/de265.cc delete ctx; ctx 242 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 249 libde265-1.0.3/libde265/de265.cc de265_error err = ctx->start_thread_pool(number_of_threads); ctx 309 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 315 libde265-1.0.3/libde265/de265.cc return ctx->nal_parser.push_data(data,len,pts,user_data); ctx 323 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 329 libde265-1.0.3/libde265/de265.cc return ctx->nal_parser.push_NAL(data,len,pts,user_data); ctx 335 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 337 libde265-1.0.3/libde265/de265.cc return ctx->decode(more); ctx 343 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 345 libde265-1.0.3/libde265/de265.cc ctx->nal_parser.flush_data(); ctx 353 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 354 libde265-1.0.3/libde265/de265.cc ctx->nal_parser.mark_end_of_frame(); ctx 362 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 364 libde265-1.0.3/libde265/de265.cc ctx->nal_parser.flush_data(); ctx 365 libde265-1.0.3/libde265/de265.cc ctx->nal_parser.mark_end_of_stream(); ctx 373 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 377 libde265-1.0.3/libde265/de265.cc ctx->reset(); ctx 394 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 396 libde265-1.0.3/libde265/de265.cc if (ctx->num_pictures_in_output_queue()>0) { ctx 397 libde265-1.0.3/libde265/de265.cc de265_image* img = ctx->get_next_picture_in_output_queue(); ctx 408 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 412 libde265-1.0.3/libde265/de265.cc if (ctx->num_pictures_in_output_queue()==0) { return; } ctx 414 libde265-1.0.3/libde265/de265.cc de265_image* next_image = ctx->get_next_picture_in_output_queue(); ctx 427 libde265-1.0.3/libde265/de265.cc ctx->pop_next_picture_in_output_queue(); ctx 434 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 435 libde265-1.0.3/libde265/de265.cc return ctx->get_highest_TID(); ctx 440 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 441 libde265-1.0.3/libde265/de265.cc return ctx->get_current_TID(); ctx 446 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 447 libde265-1.0.3/libde265/de265.cc ctx->set_limit_TID(max_tid); ctx 452 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 453 libde265-1.0.3/libde265/de265.cc ctx->set_framerate_ratio(percent); ctx 458 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 459 libde265-1.0.3/libde265/de265.cc return ctx->change_framerate(more); ctx 465 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 467 libde265-1.0.3/libde265/de265.cc return ctx->get_warning(); ctx 472 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 477 libde265-1.0.3/libde265/de265.cc ctx->param_sei_check_hash = !!value; ctx 481 libde265-1.0.3/libde265/de265.cc ctx->param_suppress_faulty_pictures = !!value; ctx 485 libde265-1.0.3/libde265/de265.cc ctx->param_disable_deblocking = !!value; ctx 489 libde265-1.0.3/libde265/de265.cc ctx->param_disable_sao = !!value; ctx 511 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 516 libde265-1.0.3/libde265/de265.cc ctx->param_sps_headers_fd = value; ctx 520 libde265-1.0.3/libde265/de265.cc ctx->param_vps_headers_fd = value; ctx 524 libde265-1.0.3/libde265/de265.cc ctx->param_pps_headers_fd = value; ctx 528 libde265-1.0.3/libde265/de265.cc ctx->param_slice_headers_fd = value; ctx 532 libde265-1.0.3/libde265/de265.cc ctx->set_acceleration_functions((enum de265_acceleration)value); ctx 546 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 551 libde265-1.0.3/libde265/de265.cc return ctx->param_sei_check_hash; ctx 554 libde265-1.0.3/libde265/de265.cc return ctx->param_suppress_faulty_pictures; ctx 557 libde265-1.0.3/libde265/de265.cc return ctx->param_disable_deblocking; ctx 560 libde265-1.0.3/libde265/de265.cc return ctx->param_disable_sao; ctx 579 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 581 libde265-1.0.3/libde265/de265.cc return ctx->nal_parser.bytes_in_input_queue(); ctx 587 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 589 libde265-1.0.3/libde265/de265.cc return ctx->nal_parser.number_of_NAL_units_pending(); ctx 666 libde265-1.0.3/libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 668 libde265-1.0.3/libde265/de265.cc ctx->set_image_allocation_functions(allocfunc, userdata); ctx 327 libde265-1.0.3/libde265/de265.h int (*get_buffer)(de265_decoder_context* ctx, // first parameter deprecated ctx 331 libde265-1.0.3/libde265/de265.h void (*release_buffer)(de265_decoder_context* ctx, // first parameter deprecated ctx 995 libde265-1.0.3/libde265/deblock.cc decoder_context* ctx = img->decctx; ctx 1013 libde265-1.0.3/libde265/deblock.cc add_task(&ctx->thread_pool_, task); ctx 1022 libde265-1.0.3/libde265/deblock.cc decoder_context* ctx = img->decctx; ctx 1039 libde265-1.0.3/libde265/deblock.cc sprintf(buf,"lf-after-V-%05d.yuv", ctx->img->PicOrderCntVal); ctx 1040 libde265-1.0.3/libde265/deblock.cc write_picture_to_file(ctx->img, buf); ctx 1054 libde265-1.0.3/libde265/deblock.cc sprintf(buf,"lf-after-H-%05d.yuv", ctx->img->PicOrderCntVal); ctx 1055 libde265-1.0.3/libde265/deblock.cc write_picture_to_file(ctx->img, buf); ctx 162 libde265-1.0.3/libde265/decctx.cc ctx->nal_parser.free_NAL_unit(nal); ctx 373 libde265-1.0.3/libde265/decctx.cc ctx->end_of_stream = false; ctx 374 libde265-1.0.3/libde265/decctx.cc ctx->pending_input_NAL = NULL; ctx 375 libde265-1.0.3/libde265/decctx.cc ctx->current_vps = NULL; ctx 376 libde265-1.0.3/libde265/decctx.cc ctx->current_sps = NULL; ctx 377 libde265-1.0.3/libde265/decctx.cc ctx->current_pps = NULL; ctx 378 libde265-1.0.3/libde265/decctx.cc ctx->num_worker_threads = 0; ctx 379 libde265-1.0.3/libde265/decctx.cc ctx->current_image_poc_lsb = 0; ctx 380 libde265-1.0.3/libde265/decctx.cc ctx->first_decoded_picture = 0; ctx 381 libde265-1.0.3/libde265/decctx.cc ctx->NoRaslOutputFlag = 0; ctx 382 libde265-1.0.3/libde265/decctx.cc ctx->HandleCraAsBlaFlag = 0; ctx 383 libde265-1.0.3/libde265/decctx.cc ctx->FirstAfterEndOfSequenceNAL = 0; ctx 384 libde265-1.0.3/libde265/decctx.cc ctx->PicOrderCntMsb = 0; ctx 385 libde265-1.0.3/libde265/decctx.cc ctx->prevPicOrderCntLsb = 0; ctx 386 libde265-1.0.3/libde265/decctx.cc ctx->prevPicOrderCntMsb = 0; ctx 387 libde265-1.0.3/libde265/decctx.cc ctx->NumPocStCurrBefore=0; ctx 388 libde265-1.0.3/libde265/decctx.cc ctx->NumPocStCurrAfter=0; ctx 389 libde265-1.0.3/libde265/decctx.cc ctx->NumPocStFoll=0; ctx 390 libde265-1.0.3/libde265/decctx.cc ctx->NumPocLtCurr=0; ctx 391 libde265-1.0.3/libde265/decctx.cc ctx->NumPocLtFoll=0; ctx 392 libde265-1.0.3/libde265/decctx.cc ctx->nal_unit_type=0; ctx 393 libde265-1.0.3/libde265/decctx.cc ctx->IdrPicFlag=0; ctx 394 libde265-1.0.3/libde265/decctx.cc ctx->RapPicFlag=0; ctx 1188 libde265-1.0.3/libde265/decctx.cc decoder_context* ctx = this; ctx 1197 libde265-1.0.3/libde265/decctx.cc ctx->process_nal_hdr(&nal_hdr); ctx 1255 libde265-1.0.3/libde265/decctx.cc ctx->FirstAfterEndOfSequenceNAL = true; ctx 1270 libde265-1.0.3/libde265/decctx.cc decoder_context* ctx = this; ctx 1274 libde265-1.0.3/libde265/decctx.cc if (ctx->nal_parser.get_NAL_queue_length() == 0 && ctx 1275 libde265-1.0.3/libde265/decctx.cc (ctx->nal_parser.is_end_of_stream() || ctx->nal_parser.is_end_of_frame()) && ctx 1276 libde265-1.0.3/libde265/decctx.cc ctx->image_units.empty()) { ctx 1281 libde265-1.0.3/libde265/decctx.cc ctx->dpb.flush_reorder_buffer(); ctx 1283 libde265-1.0.3/libde265/decctx.cc if (more) { *more = ctx->dpb.num_pictures_in_output_queue(); } ctx 1292 libde265-1.0.3/libde265/decctx.cc if (ctx->nal_parser.is_end_of_stream() == false && ctx 1293 libde265-1.0.3/libde265/decctx.cc ctx->nal_parser.is_end_of_frame() == false && ctx 1294 libde265-1.0.3/libde265/decctx.cc ctx->nal_parser.get_NAL_queue_length() == 0) { ctx 1304 libde265-1.0.3/libde265/decctx.cc if (!ctx->dpb.has_free_dpb_picture(false)) { ctx 1315 libde265-1.0.3/libde265/decctx.cc if (ctx->nal_parser.get_NAL_queue_length()) { // number_of_NAL_units_pending()) { ctx 1316 libde265-1.0.3/libde265/decctx.cc NAL_unit* nal = ctx->nal_parser.pop_from_NAL_queue(); ctx 1318 libde265-1.0.3/libde265/decctx.cc err = ctx->decode_NAL(nal); ctx 1322 libde265-1.0.3/libde265/decctx.cc else if (ctx->nal_parser.is_end_of_frame() == true && ctx 1323 libde265-1.0.3/libde265/decctx.cc ctx->image_units.empty()) { ctx 185 libde265-1.0.3/libde265/decctx.h decoder_context* ctx; ctx 106 libde265-1.0.3/libde265/image.cc static int de265_image_get_buffer(de265_decoder_context* ctx, ctx 158 libde265-1.0.3/libde265/image.cc static void de265_image_release_buffer(de265_decoder_context* ctx, ctx 79 libde265-1.0.3/libde265/md5.cc (ctx->block[(n)] = \ ctx 85 libde265-1.0.3/libde265/md5.cc (ctx->block[(n)]) ctx 92 libde265-1.0.3/libde265/md5.cc static void *body(MD5_CTX *ctx, void *data, unsigned long size) ctx 100 libde265-1.0.3/libde265/md5.cc a = ctx->a; ctx 101 libde265-1.0.3/libde265/md5.cc b = ctx->b; ctx 102 libde265-1.0.3/libde265/md5.cc c = ctx->c; ctx 103 libde265-1.0.3/libde265/md5.cc d = ctx->d; ctx 191 libde265-1.0.3/libde265/md5.cc ctx->a = a; ctx 192 libde265-1.0.3/libde265/md5.cc ctx->b = b; ctx 193 libde265-1.0.3/libde265/md5.cc ctx->c = c; ctx 194 libde265-1.0.3/libde265/md5.cc ctx->d = d; ctx 199 libde265-1.0.3/libde265/md5.cc void MD5_Init(MD5_CTX *ctx) ctx 201 libde265-1.0.3/libde265/md5.cc ctx->a = 0x67452301; ctx 202 libde265-1.0.3/libde265/md5.cc ctx->b = 0xefcdab89; ctx 203 libde265-1.0.3/libde265/md5.cc ctx->c = 0x98badcfe; ctx 204 libde265-1.0.3/libde265/md5.cc ctx->d = 0x10325476; ctx 206 libde265-1.0.3/libde265/md5.cc ctx->lo = 0; ctx 207 libde265-1.0.3/libde265/md5.cc ctx->hi = 0; ctx 210 libde265-1.0.3/libde265/md5.cc void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size) ctx 215 libde265-1.0.3/libde265/md5.cc saved_lo = ctx->lo; ctx 216 libde265-1.0.3/libde265/md5.cc if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) ctx 217 libde265-1.0.3/libde265/md5.cc ctx->hi++; ctx 218 libde265-1.0.3/libde265/md5.cc ctx->hi += size >> 29; ctx 226 libde265-1.0.3/libde265/md5.cc memcpy(&ctx->buffer[used], data, size); ctx 230 libde265-1.0.3/libde265/md5.cc memcpy(&ctx->buffer[used], data, free); ctx 233 libde265-1.0.3/libde265/md5.cc body(ctx, ctx->buffer, 64); ctx 237 libde265-1.0.3/libde265/md5.cc data = body(ctx, data, size & ~(unsigned long)0x3f); ctx 241 libde265-1.0.3/libde265/md5.cc memcpy(ctx->buffer, data, size); ctx 244 libde265-1.0.3/libde265/md5.cc void MD5_Final(unsigned char *result, MD5_CTX *ctx) ctx 248 libde265-1.0.3/libde265/md5.cc used = ctx->lo & 0x3f; ctx 250 libde265-1.0.3/libde265/md5.cc ctx->buffer[used++] = 0x80; ctx 255 libde265-1.0.3/libde265/md5.cc memset(&ctx->buffer[used], 0, free); ctx 256 libde265-1.0.3/libde265/md5.cc body(ctx, ctx->buffer, 64); ctx 261 libde265-1.0.3/libde265/md5.cc memset(&ctx->buffer[used], 0, free - 8); ctx 263 libde265-1.0.3/libde265/md5.cc ctx->lo <<= 3; ctx 264 libde265-1.0.3/libde265/md5.cc ctx->buffer[56] = ctx->lo; ctx 265 libde265-1.0.3/libde265/md5.cc ctx->buffer[57] = ctx->lo >> 8; ctx 266 libde265-1.0.3/libde265/md5.cc ctx->buffer[58] = ctx->lo >> 16; ctx 267 libde265-1.0.3/libde265/md5.cc ctx->buffer[59] = ctx->lo >> 24; ctx 268 libde265-1.0.3/libde265/md5.cc ctx->buffer[60] = ctx->hi; ctx 269 libde265-1.0.3/libde265/md5.cc ctx->buffer[61] = ctx->hi >> 8; ctx 270 libde265-1.0.3/libde265/md5.cc ctx->buffer[62] = ctx->hi >> 16; ctx 271 libde265-1.0.3/libde265/md5.cc ctx->buffer[63] = ctx->hi >> 24; ctx 273 libde265-1.0.3/libde265/md5.cc body(ctx, ctx->buffer, 64); ctx 275 libde265-1.0.3/libde265/md5.cc result[0] = ctx->a; ctx 276 libde265-1.0.3/libde265/md5.cc result[1] = ctx->a >> 8; ctx 277 libde265-1.0.3/libde265/md5.cc result[2] = ctx->a >> 16; ctx 278 libde265-1.0.3/libde265/md5.cc result[3] = ctx->a >> 24; ctx 279 libde265-1.0.3/libde265/md5.cc result[4] = ctx->b; ctx 280 libde265-1.0.3/libde265/md5.cc result[5] = ctx->b >> 8; ctx 281 libde265-1.0.3/libde265/md5.cc result[6] = ctx->b >> 16; ctx 282 libde265-1.0.3/libde265/md5.cc result[7] = ctx->b >> 24; ctx 283 libde265-1.0.3/libde265/md5.cc result[8] = ctx->c; ctx 284 libde265-1.0.3/libde265/md5.cc result[9] = ctx->c >> 8; ctx 285 libde265-1.0.3/libde265/md5.cc result[10] = ctx->c >> 16; ctx 286 libde265-1.0.3/libde265/md5.cc result[11] = ctx->c >> 24; ctx 287 libde265-1.0.3/libde265/md5.cc result[12] = ctx->d; ctx 288 libde265-1.0.3/libde265/md5.cc result[13] = ctx->d >> 8; ctx 289 libde265-1.0.3/libde265/md5.cc result[14] = ctx->d >> 16; ctx 290 libde265-1.0.3/libde265/md5.cc result[15] = ctx->d >> 24; ctx 292 libde265-1.0.3/libde265/md5.cc memset(ctx, 0, sizeof(*ctx)); ctx 41 libde265-1.0.3/libde265/md5.h extern void MD5_Init(MD5_CTX *ctx); ctx 42 libde265-1.0.3/libde265/md5.h extern void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size); ctx 43 libde265-1.0.3/libde265/md5.h extern void MD5_Final(unsigned char *result, MD5_CTX *ctx); ctx 50 libde265-1.0.3/libde265/motion.cc void mc_luma(const base_context* ctx, ctx 79 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_hevc_qpel(out, out_stride, ctx 157 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_hevc_qpel(out, out_stride, ctx 175 libde265-1.0.3/libde265/motion.cc void mc_chroma(const base_context* ctx, ctx 206 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_hevc_epel(out, out_stride, ctx 255 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_hevc_epel_hv(out, out_stride, ctx 260 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_hevc_epel_h(out, out_stride, ctx 265 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_hevc_epel_v(out, out_stride, ctx 279 libde265-1.0.3/libde265/motion.cc void generate_inter_prediction_samples(base_context* ctx, ctx 344 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_NONEXISTING_REFERENCE_PICTURE_ACCESSED, false); ctx 348 libde265-1.0.3/libde265/motion.cc const de265_image* refPic = ctx->get_image(shdr->RefPicList[l][vi->refIdx[l]]); ctx 354 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_NONEXISTING_REFERENCE_PICTURE_ACCESSED, false); ctx 368 libde265-1.0.3/libde265/motion.cc mc_luma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 374 libde265-1.0.3/libde265/motion.cc mc_luma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 381 libde265-1.0.3/libde265/motion.cc mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 384 libde265-1.0.3/libde265/motion.cc mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 389 libde265-1.0.3/libde265/motion.cc mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 392 libde265-1.0.3/libde265/motion.cc mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 443 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[0], stride[0], ctx 445 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[1], stride[1], ctx 448 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[2], stride[2], ctx 453 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_BOTH_PREDFLAGS_ZERO, false); ctx 477 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[0], stride[0], ctx 480 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[1], stride[1], ctx 483 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[2], stride[2], ctx 488 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_BOTH_PREDFLAGS_ZERO, false); ctx 504 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred_avg(pixels[0], stride[0], ctx 512 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred_avg(pixels[1], stride[1], ctx 515 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred_avg(pixels[2], stride[2], ctx 548 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_bipred(pixels[0], stride[0], ctx 559 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_bipred(pixels[1], stride[1], ctx 564 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_bipred(pixels[2], stride[2], ctx 575 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[0], stride[0], ctx 577 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[1], stride[1], ctx 580 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[2], stride[2], ctx 600 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[0], stride[0], ctx 603 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[1], stride[1], ctx 607 libde265-1.0.3/libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[2], stride[2], ctx 617 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_BOTH_PREDFLAGS_ZERO, false); ctx 1100 libde265-1.0.3/libde265/motion.cc void derive_collocated_motion_vectors(base_context* ctx, ctx 1116 libde265-1.0.3/libde265/motion.cc assert(ctx->has_image(colPic)); ctx 1117 libde265-1.0.3/libde265/motion.cc const de265_image* colImg = ctx->get_image(colPic); ctx 1123 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_COLLOCATED_MOTION_VECTOR_OUTSIDE_IMAGE_AREA, false); ctx 1191 libde265-1.0.3/libde265/motion.cc const de265_image* refimg = ctx->get_image(shdr->RefPicList[1][rIdx]); ctx 1203 libde265-1.0.3/libde265/motion.cc const de265_image* refimg = ctx->get_image(shdr->RefPicList[0][rIdx]); ctx 1265 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_INCORRECT_MOTION_VECTOR_SCALING, false); ctx 1277 libde265-1.0.3/libde265/motion.cc void derive_temporal_luma_vector_prediction(base_context* ctx, ctx 1320 libde265-1.0.3/libde265/motion.cc if (!ctx->has_image(colPic)) { ctx 1325 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_NONEXISTING_REFERENCE_PICTURE_ACCESSED, false); ctx 1349 libde265-1.0.3/libde265/motion.cc derive_collocated_motion_vectors(ctx,img,shdr, xP,yP, colPic, xColPb,yColPb, refIdxL, X, ctx 1368 libde265-1.0.3/libde265/motion.cc derive_collocated_motion_vectors(ctx,img,shdr, xP,yP, colPic, xColPb,yColPb, refIdxL, X, ctx 1383 libde265-1.0.3/libde265/motion.cc void derive_combined_bipredictive_merging_candidates(const base_context* ctx, ctx 1412 libde265-1.0.3/libde265/motion.cc const de265_image* img0 = l0Cand.predFlag[0] ? ctx->get_image(shdr->RefPicList[0][l0Cand.refIdx[0]]) : NULL; ctx 1413 libde265-1.0.3/libde265/motion.cc const de265_image* img1 = l1Cand.predFlag[1] ? ctx->get_image(shdr->RefPicList[1][l1Cand.refIdx[1]]) : NULL; ctx 1453 libde265-1.0.3/libde265/motion.cc void get_merge_candidate_list_without_step_9(base_context* ctx, ctx 1504 libde265-1.0.3/libde265/motion.cc derive_temporal_luma_vector_prediction(ctx,img,shdr, xP,yP,nPbW,nPbH, ctx 1512 libde265-1.0.3/libde265/motion.cc derive_temporal_luma_vector_prediction(ctx,img,shdr, ctx 1535 libde265-1.0.3/libde265/motion.cc derive_combined_bipredictive_merging_candidates(ctx, shdr, ctx 1555 libde265-1.0.3/libde265/motion.cc void get_merge_candidate_list(base_context* ctx, ctx 1564 libde265-1.0.3/libde265/motion.cc get_merge_candidate_list_without_step_9(ctx, shdr, ctx 1611 libde265-1.0.3/libde265/motion.cc void derive_luma_motion_merge_mode(base_context* ctx, ctx 1621 libde265-1.0.3/libde265/motion.cc get_merge_candidate_list_without_step_9(ctx, shdr, ctx 1639 libde265-1.0.3/libde265/motion.cc void derive_spatial_luma_vector_prediction(base_context* ctx, ctx 1690 libde265-1.0.3/libde265/motion.cc const de265_image* tmpimg = ctx->get_image(shdr->RefPicList[X][ refIdxLX ]); ctx 1706 libde265-1.0.3/libde265/motion.cc if (vi.predFlag[X]) imgX = ctx->get_image(shdr->RefPicList[X][ vi.refIdx[X] ]); ctx 1708 libde265-1.0.3/libde265/motion.cc if (vi.predFlag[Y]) imgY = ctx->get_image(shdr->RefPicList[Y][ vi.refIdx[Y] ]); ctx 1775 libde265-1.0.3/libde265/motion.cc const de265_image* refPicA = ctx->get_image(shdr->RefPicList[refPicList][refIdxA ]); ctx 1776 libde265-1.0.3/libde265/motion.cc const de265_image* refPicX = ctx->get_image(shdr->RefPicList[X ][refIdxLX]); ctx 1797 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_INCORRECT_MOTION_VECTOR_SCALING, false); ctx 1841 libde265-1.0.3/libde265/motion.cc if (vi.predFlag[X]) imgX = ctx->get_image(shdr->RefPicList[X][ vi.refIdx[X] ]); ctx 1843 libde265-1.0.3/libde265/motion.cc if (vi.predFlag[Y]) imgY = ctx->get_image(shdr->RefPicList[Y][ vi.refIdx[Y] ]); ctx 1917 libde265-1.0.3/libde265/motion.cc const de265_image* refPicB=ctx->get_image(shdr->RefPicList[refPicList][refIdxB ]); ctx 1918 libde265-1.0.3/libde265/motion.cc const de265_image* refPicX=ctx->get_image(shdr->RefPicList[X ][refIdxLX]); ctx 1935 libde265-1.0.3/libde265/motion.cc ctx->add_warning(DE265_WARNING_INCORRECT_MOTION_VECTOR_SCALING, false); ctx 1946 libde265-1.0.3/libde265/motion.cc void fill_luma_motion_vector_predictors(base_context* ctx, ctx 1959 libde265-1.0.3/libde265/motion.cc derive_spatial_luma_vector_prediction(ctx, img, shdr, xC,yC, nCS, xP,yP, ctx 1976 libde265-1.0.3/libde265/motion.cc derive_temporal_luma_vector_prediction(ctx, img, shdr, ctx 2022 libde265-1.0.3/libde265/motion.cc MotionVector luma_motion_vector_prediction(base_context* ctx, ctx 2032 libde265-1.0.3/libde265/motion.cc fill_luma_motion_vector_predictors(ctx, shdr, img, ctx 2063 libde265-1.0.3/libde265/motion.cc void motion_vectors_and_ref_indices(base_context* ctx, ctx 2081 libde265-1.0.3/libde265/motion.cc derive_luma_motion_merge_mode(ctx,shdr,img, ctx 2116 libde265-1.0.3/libde265/motion.cc mvpL[l] = luma_motion_vector_prediction(ctx,shdr,img,motion, ctx 2142 libde265-1.0.3/libde265/motion.cc void decode_prediction_unit(base_context* ctx, ctx 2156 libde265-1.0.3/libde265/motion.cc motion_vectors_and_ref_indices(ctx, shdr, img, motion, ctx 2161 libde265-1.0.3/libde265/motion.cc generate_inter_prediction_samples(ctx,shdr, img, xC,yC, xB,yB, nCS, nPbW,nPbH, &vi); ctx 69 libde265-1.0.3/libde265/motion.h void get_merge_candidate_list(base_context* ctx, ctx 92 libde265-1.0.3/libde265/motion.h void generate_inter_prediction_samples(base_context* ctx, ctx 103 libde265-1.0.3/libde265/motion.h void fill_luma_motion_vector_predictors(base_context* ctx, ctx 112 libde265-1.0.3/libde265/motion.h void decode_prediction_unit(base_context* ctx,const slice_segment_header* shdr, ctx 47 libde265-1.0.3/libde265/pps.cc bool pps_range_extension::read(bitreader* br, decoder_context* ctx, const pic_parameter_set* pps) ctx 49 libde265-1.0.3/libde265/pps.cc const seq_parameter_set* sps = ctx->get_sps(pps->seq_parameter_set_id); ctx 71 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 77 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 84 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 94 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 105 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 114 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 126 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 135 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 270 libde265-1.0.3/libde265/pps.cc bool pic_parameter_set::read(bitreader* br, decoder_context* ctx) ctx 279 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_NONEXISTING_PPS_REFERENCED, false); ctx 286 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_NONEXISTING_SPS_REFERENCED, false); ctx 297 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 304 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 310 libde265-1.0.3/libde265/pps.cc if (!ctx->has_sps(seq_parameter_set_id)) { ctx 311 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_NONEXISTING_SPS_REFERENCED, false); ctx 315 libde265-1.0.3/libde265/pps.cc sps = ctx->get_sps(seq_parameter_set_id); ctx 318 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 329 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 337 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 342 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 360 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 368 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 383 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 401 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 442 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 449 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 469 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 476 libde265-1.0.3/libde265/pps.cc ctx->add_warning(err, false); ctx 490 libde265-1.0.3/libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 509 libde265-1.0.3/libde265/pps.cc bool success = range_extension.read(br, ctx, this); ctx 478 libde265-1.0.3/libde265/sao.cc decoder_context* ctx = img->decctx; ctx 507 libde265-1.0.3/libde265/sao.cc add_task(&ctx->thread_pool_, task); ctx 38 libde265-1.0.3/libde265/slice.cc #define LOCK de265_mutex_lock(&ctx->thread_pool.mutex) ctx 39 libde265-1.0.3/libde265/slice.cc #define UNLOCK de265_mutex_unlock(&ctx->thread_pool.mutex) ctx 147 libde265-1.0.3/libde265/slice.cc bool read_pred_weight_table(bitreader* br, slice_segment_header* shdr, decoder_context* ctx) ctx 151 libde265-1.0.3/libde265/slice.cc pic_parameter_set* pps = ctx->get_pps((int)shdr->slice_pic_parameter_set_id); ctx 153 libde265-1.0.3/libde265/slice.cc seq_parameter_set* sps = ctx->get_sps((int)pps->seq_parameter_set_id); ctx 356 libde265-1.0.3/libde265/slice.cc de265_error slice_segment_header::read(bitreader* br, decoder_context* ctx, ctx 371 libde265-1.0.3/libde265/slice.cc if (ctx->get_RapPicFlag()) { // TODO: is this still correct ? Should we drop RapPicFlag ? ctx 378 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_NONEXISTING_PPS_REFERENCED, false); ctx 382 libde265-1.0.3/libde265/slice.cc if (!ctx->has_pps(slice_pic_parameter_set_id)) { ctx 383 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_NONEXISTING_PPS_REFERENCED, false); ctx 387 libde265-1.0.3/libde265/slice.cc pps = ctx->get_pps(slice_pic_parameter_set_id); ctx 391 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_NONEXISTING_SPS_REFERENCED, false); ctx 408 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_DEPENDENT_SLICE_WITH_ADDRESS_ZERO, false); ctx 412 libde265-1.0.3/libde265/slice.cc if (ctx->previous_slice_header == NULL) { ctx 416 libde265-1.0.3/libde265/slice.cc *this = *ctx->previous_slice_header; ctx 430 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICE_SEGMENT_ADDRESS_INVALID, false); ctx 446 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 468 libde265-1.0.3/libde265/slice.cc if (ctx->get_nal_unit_type() != NAL_UNIT_IDR_W_RADL && ctx 469 libde265-1.0.3/libde265/slice.cc ctx->get_nal_unit_type() != NAL_UNIT_IDR_N_LP) { ctx 474 libde265-1.0.3/libde265/slice.cc read_short_term_ref_pic_set(ctx, sps, ctx 489 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SHORT_TERM_REF_PIC_SET_OUT_OF_RANGE, false); ctx 524 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_MAX_NUM_REF_PICS_EXCEEDED, false); ctx 537 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_NON_EXISTING_LT_REFERENCE_CANDIDATE_IN_SLICE_HEADER, false); ctx 544 libde265-1.0.3/libde265/slice.cc ctx->PocLsbLt[i] = sps->lt_ref_pic_poc_lsb_sps[ lt_idx_sps[i] ]; ctx 545 libde265-1.0.3/libde265/slice.cc ctx->UsedByCurrPicLt[i] = sps->used_by_curr_pic_lt_sps_flag[ lt_idx_sps[i] ]; ctx 552 libde265-1.0.3/libde265/slice.cc ctx->PocLsbLt[i] = poc_lsb_lt[i]; ctx 553 libde265-1.0.3/libde265/slice.cc ctx->UsedByCurrPicLt[i] = used_by_curr_pic_lt_flag[i]; ctx 556 libde265-1.0.3/libde265/slice.cc if (ctx->UsedByCurrPicLt[i]) { ctx 572 libde265-1.0.3/libde265/slice.cc ctx->DeltaPocMsbCycleLt[i] = delta_poc_msb_cycle_lt[i]; ctx 575 libde265-1.0.3/libde265/slice.cc ctx->DeltaPocMsbCycleLt[i] = (delta_poc_msb_cycle_lt[i] + ctx 576 libde265-1.0.3/libde265/slice.cc ctx->DeltaPocMsbCycleLt[i-1]); ctx 625 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 633 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 698 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 710 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE, false); ctx 719 libde265-1.0.3/libde265/slice.cc if (!read_pred_weight_table(br,this,ctx)) ctx 721 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE, false); ctx 728 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 736 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 744 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 750 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 778 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 785 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 809 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 819 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 826 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 836 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 864 libde265-1.0.3/libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 1267 libde265-1.0.3/libde265/slice.cc void slice_segment_header::dump_slice_segment_header(const decoder_context* ctx, int fd) const ctx 1280 libde265-1.0.3/libde265/slice.cc const pic_parameter_set* pps = ctx->get_pps(slice_pic_parameter_set_id); ctx 1283 libde265-1.0.3/libde265/slice.cc const seq_parameter_set* sps = ctx->get_sps((int)pps->seq_parameter_set_id); ctx 1289 libde265-1.0.3/libde265/slice.cc if (ctx->get_nal_unit_type() >= NAL_UNIT_BLA_W_LP && ctx 1290 libde265-1.0.3/libde265/slice.cc ctx->get_nal_unit_type() <= NAL_UNIT_RESERVED_IRAP_VCL23) { ctx 1322 libde265-1.0.3/libde265/slice.cc if (ctx->get_nal_unit_type() != NAL_UNIT_IDR_W_RADL && ctx 1323 libde265-1.0.3/libde265/slice.cc ctx->get_nal_unit_type() != NAL_UNIT_IDR_N_LP) { ctx 1344 libde265-1.0.3/libde265/slice.cc LOG2("PocLsbLt[%d] : %d\n", i, ctx->PocLsbLt[i]); ctx 1345 libde265-1.0.3/libde265/slice.cc LOG2("UsedByCurrPicLt[%d] : %d\n", i, ctx->UsedByCurrPicLt[i]); ctx 1346 libde265-1.0.3/libde265/slice.cc LOG2("DeltaPocMsbCycleLt[%d] : %d\n", i, ctx->DeltaPocMsbCycleLt[i]); ctx 1659 libde265-1.0.3/libde265/slice.cc decoder_context* ctx = tctx->decctx; ctx 150 libde265-1.0.3/libde265/threads.cc int w = pool->tasks[0].data.task_ctb.ctx->current_sps->PicWidthInCtbsY; ctx 151 libde265-1.0.3/libde265/threads.cc int h = pool->tasks[0].data.task_ctb.ctx->current_sps->PicHeightInCtbsY; ctx 29 libde265-1.0.3/libde265/visualize.cc int w = ctx->img->get_width(); ctx 30 libde265-1.0.3/libde265/visualize.cc int h = ctx->img->get_height(); ctx 34 libde265-1.0.3/libde265/visualize.cc int stride = ctx->img->get_luma_stride(); ctx 36 libde265-1.0.3/libde265/visualize.cc for (int ctbY=0;ctbY<ctx->current_sps->PicHeightInCtbsY;ctbY++) ctx 37 libde265-1.0.3/libde265/visualize.cc for (int ctbX=0;ctbX<ctx->current_sps->PicWidthInCtbsY;ctbX++) ctx 43 libde265-1.0.3/libde265/visualize.cc uint8_t *src = ctx->img->get_image_plane_at_pos(0,x0,y0); ctx 37 libde265-1.0.3/sherlock265/VideoDecoder.cc ctx(NULL), ctx 118 libde265-1.0.3/sherlock265/VideoDecoder.cc de265_release_next_picture(ctx); ctx 121 libde265-1.0.3/sherlock265/VideoDecoder.cc img = de265_peek_next_picture(ctx); ctx 126 libde265-1.0.3/sherlock265/VideoDecoder.cc de265_error err = de265_decode(ctx, &more); ctx 132 libde265-1.0.3/sherlock265/VideoDecoder.cc img = de265_peek_next_picture(ctx); ctx 137 libde265-1.0.3/sherlock265/VideoDecoder.cc int err = de265_push_data(ctx,buf,buf_size ,0,0); ctx 434 libde265-1.0.3/sherlock265/VideoDecoder.cc ctx = de265_new_decoder(); ctx 435 libde265-1.0.3/sherlock265/VideoDecoder.cc de265_start_worker_threads(ctx, 4); // start 4 background threads ctx 442 libde265-1.0.3/sherlock265/VideoDecoder.cc if (ctx) { de265_free_decoder(ctx); } ctx 81 libde265-1.0.3/sherlock265/VideoDecoder.hh de265_decoder_context* ctx; ctx 57 libheif-1.3.2/examples/heif_convert.cc ContextReleaser(struct heif_context* ctx) : ctx_(ctx) {} ctx 112 libheif-1.3.2/examples/heif_convert.cc struct heif_context* ctx = heif_context_alloc(); ctx 113 libheif-1.3.2/examples/heif_convert.cc if (!ctx) { ctx 118 libheif-1.3.2/examples/heif_convert.cc ContextReleaser cr(ctx); ctx 120 libheif-1.3.2/examples/heif_convert.cc err = heif_context_read_from_file(ctx, input_filename.c_str(), nullptr); ctx 126 libheif-1.3.2/examples/heif_convert.cc int num_images = heif_context_get_number_of_top_level_images(ctx); ctx 135 libheif-1.3.2/examples/heif_convert.cc num_images = heif_context_get_list_of_top_level_image_IDs(ctx, image_IDs, num_images); ctx 154 libheif-1.3.2/examples/heif_convert.cc err = heif_context_get_image_handle(ctx, image_IDs[idx], &handle); ctx 121 libheif-1.3.2/examples/heif_info.cc std::shared_ptr<heif_context> ctx(heif_context_alloc(), ctx 123 libheif-1.3.2/examples/heif_info.cc if (!ctx) { ctx 129 libheif-1.3.2/examples/heif_info.cc err = heif_context_read_from_file(ctx.get(), input_filename, nullptr); ctx 132 libheif-1.3.2/examples/heif_info.cc heif_context_debug_dump_boxes_to_file(ctx.get(), STDOUT_FILENO); // dump to stdout ctx 145 libheif-1.3.2/examples/heif_info.cc int numImages = heif_context_get_number_of_top_level_images(ctx.get()); ctx 147 libheif-1.3.2/examples/heif_info.cc heif_context_get_list_of_top_level_image_IDs(ctx.get(), IDs, numImages); ctx 151 libheif-1.3.2/examples/heif_info.cc struct heif_error err = heif_context_get_image_handle(ctx.get(), IDs[i], &handle); ctx 242 libheif-1.3.2/examples/heif_info.cc std::cout << "num images: " << heif_context_get_number_of_top_level_images(ctx.get()) << "\n"; ctx 245 libheif-1.3.2/examples/heif_info.cc err = heif_context_get_primary_image_handle(ctx.get(), &handle); ctx 112 libheif-1.3.2/examples/heif_test.cc heif::Context ctx; ctx 113 libheif-1.3.2/examples/heif_test.cc ctx.read_from_file(input_filename); ctx 119 libheif-1.3.2/examples/heif_test.cc heif::ImageHandle handle = ctx.get_image_handle(id); ctx 153 libheif-1.3.2/examples/heif_test.cc heif::ImageHandle handle = ctx.get_image_handle(idpair.first); ctx 112 libheif-1.3.2/libheif/encoder_fuzzer.cc static struct heif_error writer_write(struct heif_context* ctx, const void* data, size_t size, void* userdata) { ctx 29 libheif-1.3.2/libheif/file_fuzzer.cc static void TestDecodeImage(struct heif_context* ctx, ctx 53 libheif-1.3.2/libheif/file_fuzzer.cc struct heif_context* ctx; ctx 59 libheif-1.3.2/libheif/file_fuzzer.cc ctx = heif_context_alloc(); ctx 60 libheif-1.3.2/libheif/file_fuzzer.cc assert(ctx); ctx 61 libheif-1.3.2/libheif/file_fuzzer.cc err = heif_context_read_from_memory(ctx, data, size, nullptr); ctx 67 libheif-1.3.2/libheif/file_fuzzer.cc err = heif_context_get_primary_image_handle(ctx, &handle); ctx 70 libheif-1.3.2/libheif/file_fuzzer.cc TestDecodeImage(ctx, handle); ctx 74 libheif-1.3.2/libheif/file_fuzzer.cc images_count = heif_context_get_number_of_top_level_images(ctx); ctx 83 libheif-1.3.2/libheif/file_fuzzer.cc err = heif_context_get_image_handle(ctx, image_IDs[i], &handle); ctx 89 libheif-1.3.2/libheif/file_fuzzer.cc TestDecodeImage(ctx, handle); ctx 96 libheif-1.3.2/libheif/file_fuzzer.cc TestDecodeImage(ctx, thumbnail_handle); ctx 105 libheif-1.3.2/libheif/file_fuzzer.cc heif_context_free(ctx); ctx 86 libheif-1.3.2/libheif/heif.cc struct heif_context* ctx = new heif_context; ctx 87 libheif-1.3.2/libheif/heif.cc ctx->context = std::make_shared<HeifContext>(); ctx 89 libheif-1.3.2/libheif/heif.cc return ctx; ctx 92 libheif-1.3.2/libheif/heif.cc void heif_context_free(heif_context* ctx) ctx 94 libheif-1.3.2/libheif/heif.cc delete ctx; ctx 97 libheif-1.3.2/libheif/heif.cc heif_error heif_context_read_from_file(heif_context* ctx, const char* filename, ctx 100 libheif-1.3.2/libheif/heif.cc Error err = ctx->context->read_from_file(filename); ctx 101 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 104 libheif-1.3.2/libheif/heif.cc heif_error heif_context_read_from_memory(heif_context* ctx, const void* mem, size_t size, ctx 107 libheif-1.3.2/libheif/heif.cc Error err = ctx->context->read_from_memory(mem, size, true); ctx 108 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 111 libheif-1.3.2/libheif/heif.cc heif_error heif_context_read_from_memory_without_copy(heif_context* ctx, const void* mem, size_t size, ctx 114 libheif-1.3.2/libheif/heif.cc Error err = ctx->context->read_from_memory(mem, size, false); ctx 115 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 118 libheif-1.3.2/libheif/heif.cc heif_error heif_context_read_from_reader(struct heif_context* ctx, ctx 125 libheif-1.3.2/libheif/heif.cc Error err = ctx->context->read(reader); ctx 126 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 131 libheif-1.3.2/libheif/heif.cc void heif_context_debug_dump_boxes_to_file(struct heif_context* ctx, int fd) { ctx 132 libheif-1.3.2/libheif/heif.cc if (!ctx) { ctx 136 libheif-1.3.2/libheif/heif.cc std::string dump = ctx->context->debug_dump_boxes(); ctx 146 libheif-1.3.2/libheif/heif.cc heif_error heif_context_get_primary_image_handle(heif_context* ctx, heif_image_handle** img) ctx 151 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 154 libheif-1.3.2/libheif/heif.cc std::shared_ptr<HeifContext::Image> primary_image = ctx->context->get_primary_image(); ctx 161 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 168 libheif-1.3.2/libheif/heif.cc return Error::Ok.error_struct(ctx->context.get()); ctx 172 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_get_primary_image_ID(struct heif_context* ctx, heif_item_id* id) ctx 176 libheif-1.3.2/libheif/heif.cc heif_suberror_Null_pointer_argument).error_struct(ctx->context.get()); ctx 179 libheif-1.3.2/libheif/heif.cc std::shared_ptr<HeifContext::Image> primary = ctx->context->get_primary_image(); ctx 182 libheif-1.3.2/libheif/heif.cc heif_suberror_No_or_invalid_primary_item).error_struct(ctx->context.get()); ctx 187 libheif-1.3.2/libheif/heif.cc return Error::Ok.error_struct(ctx->context.get()); ctx 191 libheif-1.3.2/libheif/heif.cc int heif_context_is_top_level_image_ID(struct heif_context* ctx, heif_item_id id) ctx 193 libheif-1.3.2/libheif/heif.cc const std::vector<std::shared_ptr<HeifContext::Image>> images = ctx->context->get_top_level_images(); ctx 205 libheif-1.3.2/libheif/heif.cc int heif_context_get_number_of_top_level_images(heif_context* ctx) ctx 207 libheif-1.3.2/libheif/heif.cc return (int)ctx->context->get_top_level_images().size(); ctx 211 libheif-1.3.2/libheif/heif.cc int heif_context_get_list_of_top_level_image_IDs(struct heif_context* ctx, ctx 215 libheif-1.3.2/libheif/heif.cc if (ID_array == nullptr || count==0 || ctx==nullptr) { ctx 222 libheif-1.3.2/libheif/heif.cc const std::vector<std::shared_ptr<HeifContext::Image>> imgs = ctx->context->get_top_level_images(); ctx 232 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_get_image_handle(struct heif_context* ctx, ctx 239 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 242 libheif-1.3.2/libheif/heif.cc const std::vector<std::shared_ptr<HeifContext::Image>> images = ctx->context->get_top_level_images(); ctx 254 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 261 libheif-1.3.2/libheif/heif.cc return Error::Ok.error_struct(ctx->context.get()); ctx 758 libheif-1.3.2/libheif/heif.cc static struct heif_error heif_file_writer_write(struct heif_context* ctx, ctx 765 libheif-1.3.2/libheif/heif.cc return Error::Ok.error_struct(ctx->context.get()); ctx 769 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_write_to_file(struct heif_context* ctx, ctx 775 libheif-1.3.2/libheif/heif.cc return heif_context_write(ctx, &writer, (void*)filename); ctx 779 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_write(struct heif_context* ctx, ctx 785 libheif-1.3.2/libheif/heif.cc heif_suberror_Null_pointer_argument).error_struct(ctx->context.get()); ctx 788 libheif-1.3.2/libheif/heif.cc return err.error_struct(ctx->context.get()); ctx 792 libheif-1.3.2/libheif/heif.cc ctx->context->write(swriter); ctx 795 libheif-1.3.2/libheif/heif.cc return writer->write(ctx, data.data(), data.size(), userdata); ctx 799 libheif-1.3.2/libheif/heif.cc int heif_context_get_encoder_descriptors(struct heif_context* ctx, ctx 1244 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_encode_image(struct heif_context* ctx, ctx 1252 libheif-1.3.2/libheif/heif.cc heif_suberror_Null_pointer_argument).error_struct(ctx->context.get()); ctx 1264 libheif-1.3.2/libheif/heif.cc error = ctx->context->encode_image(input_image->image, ctx 1270 libheif-1.3.2/libheif/heif.cc return error.error_struct(ctx->context.get()); ctx 1275 libheif-1.3.2/libheif/heif.cc if (ctx->context->is_primary_image_set() == false) { ctx 1276 libheif-1.3.2/libheif/heif.cc ctx->context->set_primary_image(image); ctx 1288 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_assign_thumbnail(struct heif_context* ctx, ctx 1292 libheif-1.3.2/libheif/heif.cc Error error = ctx->context->assign_thumbnail(thumbnail_image->image, master_image->image); ctx 1293 libheif-1.3.2/libheif/heif.cc return error.error_struct(ctx->context.get()); ctx 1297 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_encode_thumbnail(struct heif_context* ctx, ctx 1313 libheif-1.3.2/libheif/heif.cc Error error = ctx->context->encode_thumbnail(image->image, ctx 1319 libheif-1.3.2/libheif/heif.cc return error.error_struct(ctx->context.get()); ctx 1323 libheif-1.3.2/libheif/heif.cc error = ctx->context->assign_thumbnail(image_handle->image, thumbnail_image); ctx 1325 libheif-1.3.2/libheif/heif.cc return error.error_struct(ctx->context.get()); ctx 1343 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_set_primary_image(struct heif_context* ctx, ctx 1346 libheif-1.3.2/libheif/heif.cc ctx->context->set_primary_image(image_handle->image); ctx 1352 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_add_exif_metadata(struct heif_context* ctx, ctx 1356 libheif-1.3.2/libheif/heif.cc Error error = ctx->context->add_exif_metadata(image_handle->image, data, size); ctx 1358 libheif-1.3.2/libheif/heif.cc return error.error_struct(ctx->context.get()); ctx 1366 libheif-1.3.2/libheif/heif.cc struct heif_error heif_context_add_XMP_metadata(struct heif_context* ctx, ctx 1370 libheif-1.3.2/libheif/heif.cc Error error = ctx->context->add_XMP_metadata(image_handle->image, data, size); ctx 1372 libheif-1.3.2/libheif/heif.cc return error.error_struct(ctx->context.get()); ctx 340 libheif-1.3.2/libheif/heif.h int heif_context_get_number_of_top_level_images(struct heif_context* ctx); ctx 343 libheif-1.3.2/libheif/heif.h int heif_context_is_top_level_image_ID(struct heif_context* ctx, heif_item_id id); ctx 348 libheif-1.3.2/libheif/heif.h int heif_context_get_list_of_top_level_image_IDs(struct heif_context* ctx, ctx 353 libheif-1.3.2/libheif/heif.h struct heif_error heif_context_get_primary_image_ID(struct heif_context* ctx, heif_item_id* id); ctx 358 libheif-1.3.2/libheif/heif.h struct heif_error heif_context_get_primary_image_handle(struct heif_context* ctx, ctx 363 libheif-1.3.2/libheif/heif.h struct heif_error heif_context_get_image_handle(struct heif_context* ctx, ctx 371 libheif-1.3.2/libheif/heif.h void heif_context_debug_dump_boxes_to_file(struct heif_context* ctx, int fd); ctx 687 libheif-1.3.2/libheif/heif.h struct heif_error (*write)(struct heif_context* ctx, // TODO: why do we need this parameter? ctx 166 libheif-1.3.2/libheif/heif_cxx.h friend struct ::heif_error heif_writer_trampoline_write(struct heif_context* ctx, ctx 376 libheif-1.3.2/libheif/heif_cxx.h heif_context* ctx = heif_context_alloc(); ctx 377 libheif-1.3.2/libheif/heif_cxx.h m_context = std::shared_ptr<heif_context>(ctx, ctx 486 libheif-1.3.2/libheif/heif_cxx.h inline Context Context::wrap_without_releasing(heif_context* ctx) { ctx 488 libheif-1.3.2/libheif/heif_cxx.h context.m_context = std::shared_ptr<heif_context>(ctx, ctx 494 libheif-1.3.2/libheif/heif_cxx.h inline struct ::heif_error heif_writer_trampoline_write(struct heif_context* ctx, ctx 500 libheif-1.3.2/libheif/heif_cxx.h (void)ctx; ctx 36 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_decoder_context* ctx; ctx 144 libheif-1.3.2/libheif/heif_decoder_libde265.cc decoder->ctx = de265_new_decoder(); ctx 147 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_set_parameter_bool(decoder->ctx, DE265_DECODER_PARAM_DISABLE_DEBLOCKING, 1); ctx 148 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_set_parameter_bool(decoder->ctx, DE265_DECODER_PARAM_DISABLE_SAO, 1); ctx 151 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_start_worker_threads(decoder->ctx, 1); ctx 162 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_error err = de265_free_decoder(decoder->ctx); ctx 201 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_push_NAL(decoder->ctx, cdata+ptr, nal_size, 0, nullptr); ctx 215 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_push_end_of_stream(decoder->ctx); ctx 217 libheif-1.3.2/libheif/heif_decoder_libde265.cc int action = de265_get_action(decoder->ctx, 1); ctx 221 libheif-1.3.2/libheif/heif_decoder_libde265.cc const de265_image* img = de265_get_next_picture(decoder->ctx); ctx 261 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_push_NAL(decoder->ctx, cdata+ptr, nal_size, 0, nullptr); ctx 278 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_flush_data(decoder->ctx); ctx 285 libheif-1.3.2/libheif/heif_decoder_libde265.cc decode_err = de265_decode(decoder->ctx, &more); ctx 291 libheif-1.3.2/libheif/heif_decoder_libde265.cc const struct de265_image* image = de265_get_next_picture(decoder->ctx); ctx 295 libheif-1.3.2/libheif/heif_decoder_libde265.cc de265_release_next_picture(decoder->ctx);