ctx 622 dec265/dec265.cc de265_decoder_context* ctx = de265_new_decoder(); ctx 624 dec265/dec265.cc de265_set_parameter_bool(ctx, DE265_DECODER_PARAM_BOOL_SEI_CHECK_HASH, check_hash); ctx 625 dec265/dec265.cc de265_set_parameter_bool(ctx, DE265_DECODER_PARAM_SUPPRESS_FAULTY_PICTURES, false); ctx 627 dec265/dec265.cc de265_set_parameter_bool(ctx, DE265_DECODER_PARAM_DISABLE_DEBLOCKING, disable_deblocking); ctx 628 dec265/dec265.cc de265_set_parameter_bool(ctx, DE265_DECODER_PARAM_DISABLE_SAO, disable_sao); ctx 631 dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_DUMP_SPS_HEADERS, 1); ctx 632 dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_DUMP_VPS_HEADERS, 1); ctx 633 dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_DUMP_PPS_HEADERS, 1); ctx 634 dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_DUMP_SLICE_HEADERS, 1); ctx 638 dec265/dec265.cc de265_set_parameter_int(ctx, DE265_DECODER_PARAM_ACCELERATION_CODE, de265_acceleration_SCALAR); ctx 650 dec265/dec265.cc err = de265_start_worker_threads(ctx, nThreads); ctx 654 dec265/dec265.cc de265_set_limit_TID(ctx, highestTID); ctx 693 dec265/dec265.cc err = de265_push_NAL(ctx, buf,n, pos, (void*)1); ctx 711 dec265/dec265.cc err = de265_push_data(ctx, buf, n, pos, (void*)2); ctx 722 dec265/dec265.cc de265_reset(ctx); ctx 733 dec265/dec265.cc err = de265_flush_data(ctx); // indicate end of stream ctx 747 dec265/dec265.cc err = de265_decode(ctx, &more); ctx 759 dec265/dec265.cc const de265_image* img = de265_get_next_picture(ctx); ctx 773 dec265/dec265.cc de265_error warning = de265_get_warning(ctx); ctx 799 dec265/dec265.cc de265_free_decoder(ctx); ctx 37 libde265/de265.cc de265_error read_vps(decoder_context* ctx, bitreader* reader, video_parameter_set* vps); ctx 218 libde265/de265.cc decoder_context* ctx = new decoder_context; ctx 219 libde265/de265.cc if (!ctx) { ctx 224 libde265/de265.cc return (de265_decoder_context*)ctx; ctx 230 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 232 libde265/de265.cc ctx->stop_thread_pool(); ctx 234 libde265/de265.cc delete ctx; ctx 242 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 249 libde265/de265.cc de265_error err = ctx->start_thread_pool(number_of_threads); ctx 309 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 315 libde265/de265.cc return ctx->nal_parser.push_data(data,len,pts,user_data); ctx 323 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 329 libde265/de265.cc return ctx->nal_parser.push_NAL(data,len,pts,user_data); ctx 335 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 337 libde265/de265.cc return ctx->decode(more); ctx 343 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 345 libde265/de265.cc ctx->nal_parser.flush_data(); ctx 353 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 354 libde265/de265.cc ctx->nal_parser.mark_end_of_frame(); ctx 362 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 364 libde265/de265.cc ctx->nal_parser.flush_data(); ctx 365 libde265/de265.cc ctx->nal_parser.mark_end_of_stream(); ctx 373 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 377 libde265/de265.cc ctx->reset(); ctx 394 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 396 libde265/de265.cc if (ctx->num_pictures_in_output_queue()>0) { ctx 397 libde265/de265.cc de265_image* img = ctx->get_next_picture_in_output_queue(); ctx 408 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 412 libde265/de265.cc if (ctx->num_pictures_in_output_queue()==0) { return; } ctx 414 libde265/de265.cc de265_image* next_image = ctx->get_next_picture_in_output_queue(); ctx 427 libde265/de265.cc ctx->pop_next_picture_in_output_queue(); ctx 434 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 435 libde265/de265.cc return ctx->get_highest_TID(); ctx 440 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 441 libde265/de265.cc return ctx->get_current_TID(); ctx 446 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 447 libde265/de265.cc ctx->set_limit_TID(max_tid); ctx 452 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 453 libde265/de265.cc ctx->set_framerate_ratio(percent); ctx 458 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 459 libde265/de265.cc return ctx->change_framerate(more); ctx 465 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 467 libde265/de265.cc return ctx->get_warning(); ctx 472 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 477 libde265/de265.cc ctx->param_sei_check_hash = !!value; ctx 481 libde265/de265.cc ctx->param_suppress_faulty_pictures = !!value; ctx 485 libde265/de265.cc ctx->param_disable_deblocking = !!value; ctx 489 libde265/de265.cc ctx->param_disable_sao = !!value; ctx 511 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 516 libde265/de265.cc ctx->param_sps_headers_fd = value; ctx 520 libde265/de265.cc ctx->param_vps_headers_fd = value; ctx 524 libde265/de265.cc ctx->param_pps_headers_fd = value; ctx 528 libde265/de265.cc ctx->param_slice_headers_fd = value; ctx 532 libde265/de265.cc ctx->set_acceleration_functions((enum de265_acceleration)value); ctx 546 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 551 libde265/de265.cc return ctx->param_sei_check_hash; ctx 554 libde265/de265.cc return ctx->param_suppress_faulty_pictures; ctx 557 libde265/de265.cc return ctx->param_disable_deblocking; ctx 560 libde265/de265.cc return ctx->param_disable_sao; ctx 579 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 581 libde265/de265.cc return ctx->nal_parser.bytes_in_input_queue(); ctx 587 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 589 libde265/de265.cc return ctx->nal_parser.number_of_NAL_units_pending(); ctx 666 libde265/de265.cc decoder_context* ctx = (decoder_context*)de265ctx; ctx 668 libde265/de265.cc ctx->set_image_allocation_functions(allocfunc, userdata); ctx 327 libde265/de265.h int (*get_buffer)(de265_decoder_context* ctx, // first parameter deprecated ctx 331 libde265/de265.h void (*release_buffer)(de265_decoder_context* ctx, // first parameter deprecated ctx 995 libde265/deblock.cc decoder_context* ctx = img->decctx; ctx 1013 libde265/deblock.cc add_task(&ctx->thread_pool_, task); ctx 1022 libde265/deblock.cc decoder_context* ctx = img->decctx; ctx 1039 libde265/deblock.cc sprintf(buf,"lf-after-V-%05d.yuv", ctx->img->PicOrderCntVal); ctx 1040 libde265/deblock.cc write_picture_to_file(ctx->img, buf); ctx 1054 libde265/deblock.cc sprintf(buf,"lf-after-H-%05d.yuv", ctx->img->PicOrderCntVal); ctx 1055 libde265/deblock.cc write_picture_to_file(ctx->img, buf); ctx 159 libde265/decctx.cc ctx->nal_parser.free_NAL_unit(nal); ctx 370 libde265/decctx.cc ctx->end_of_stream = false; ctx 371 libde265/decctx.cc ctx->pending_input_NAL = NULL; ctx 372 libde265/decctx.cc ctx->current_vps = NULL; ctx 373 libde265/decctx.cc ctx->current_sps = NULL; ctx 374 libde265/decctx.cc ctx->current_pps = NULL; ctx 375 libde265/decctx.cc ctx->num_worker_threads = 0; ctx 376 libde265/decctx.cc ctx->current_image_poc_lsb = 0; ctx 377 libde265/decctx.cc ctx->first_decoded_picture = 0; ctx 378 libde265/decctx.cc ctx->NoRaslOutputFlag = 0; ctx 379 libde265/decctx.cc ctx->HandleCraAsBlaFlag = 0; ctx 380 libde265/decctx.cc ctx->FirstAfterEndOfSequenceNAL = 0; ctx 381 libde265/decctx.cc ctx->PicOrderCntMsb = 0; ctx 382 libde265/decctx.cc ctx->prevPicOrderCntLsb = 0; ctx 383 libde265/decctx.cc ctx->prevPicOrderCntMsb = 0; ctx 384 libde265/decctx.cc ctx->NumPocStCurrBefore=0; ctx 385 libde265/decctx.cc ctx->NumPocStCurrAfter=0; ctx 386 libde265/decctx.cc ctx->NumPocStFoll=0; ctx 387 libde265/decctx.cc ctx->NumPocLtCurr=0; ctx 388 libde265/decctx.cc ctx->NumPocLtFoll=0; ctx 389 libde265/decctx.cc ctx->nal_unit_type=0; ctx 390 libde265/decctx.cc ctx->IdrPicFlag=0; ctx 391 libde265/decctx.cc ctx->RapPicFlag=0; ctx 1185 libde265/decctx.cc decoder_context* ctx = this; ctx 1194 libde265/decctx.cc ctx->process_nal_hdr(&nal_hdr); ctx 1252 libde265/decctx.cc ctx->FirstAfterEndOfSequenceNAL = true; ctx 1267 libde265/decctx.cc decoder_context* ctx = this; ctx 1271 libde265/decctx.cc if (ctx->nal_parser.get_NAL_queue_length() == 0 && ctx 1272 libde265/decctx.cc (ctx->nal_parser.is_end_of_stream() || ctx->nal_parser.is_end_of_frame()) && ctx 1273 libde265/decctx.cc ctx->image_units.empty()) { ctx 1278 libde265/decctx.cc ctx->dpb.flush_reorder_buffer(); ctx 1280 libde265/decctx.cc if (more) { *more = ctx->dpb.num_pictures_in_output_queue(); } ctx 1289 libde265/decctx.cc if (ctx->nal_parser.is_end_of_stream() == false && ctx 1290 libde265/decctx.cc ctx->nal_parser.is_end_of_frame() == false && ctx 1291 libde265/decctx.cc ctx->nal_parser.get_NAL_queue_length() == 0) { ctx 1301 libde265/decctx.cc if (!ctx->dpb.has_free_dpb_picture(false)) { ctx 1312 libde265/decctx.cc if (ctx->nal_parser.get_NAL_queue_length()) { // number_of_NAL_units_pending()) { ctx 1313 libde265/decctx.cc NAL_unit* nal = ctx->nal_parser.pop_from_NAL_queue(); ctx 1315 libde265/decctx.cc err = ctx->decode_NAL(nal); ctx 1319 libde265/decctx.cc else if (ctx->nal_parser.is_end_of_frame() == true && ctx 1320 libde265/decctx.cc ctx->image_units.empty()) { ctx 183 libde265/decctx.h decoder_context* ctx; ctx 106 libde265/image.cc static int de265_image_get_buffer(de265_decoder_context* ctx, ctx 158 libde265/image.cc static void de265_image_release_buffer(de265_decoder_context* ctx, ctx 79 libde265/md5.cc (ctx->block[(n)] = \ ctx 85 libde265/md5.cc (ctx->block[(n)]) ctx 92 libde265/md5.cc static void *body(MD5_CTX *ctx, void *data, unsigned long size) ctx 100 libde265/md5.cc a = ctx->a; ctx 101 libde265/md5.cc b = ctx->b; ctx 102 libde265/md5.cc c = ctx->c; ctx 103 libde265/md5.cc d = ctx->d; ctx 191 libde265/md5.cc ctx->a = a; ctx 192 libde265/md5.cc ctx->b = b; ctx 193 libde265/md5.cc ctx->c = c; ctx 194 libde265/md5.cc ctx->d = d; ctx 199 libde265/md5.cc void MD5_Init(MD5_CTX *ctx) ctx 201 libde265/md5.cc ctx->a = 0x67452301; ctx 202 libde265/md5.cc ctx->b = 0xefcdab89; ctx 203 libde265/md5.cc ctx->c = 0x98badcfe; ctx 204 libde265/md5.cc ctx->d = 0x10325476; ctx 206 libde265/md5.cc ctx->lo = 0; ctx 207 libde265/md5.cc ctx->hi = 0; ctx 210 libde265/md5.cc void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size) ctx 215 libde265/md5.cc saved_lo = ctx->lo; ctx 216 libde265/md5.cc if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) ctx 217 libde265/md5.cc ctx->hi++; ctx 218 libde265/md5.cc ctx->hi += size >> 29; ctx 226 libde265/md5.cc memcpy(&ctx->buffer[used], data, size); ctx 230 libde265/md5.cc memcpy(&ctx->buffer[used], data, free); ctx 233 libde265/md5.cc body(ctx, ctx->buffer, 64); ctx 237 libde265/md5.cc data = body(ctx, data, size & ~(unsigned long)0x3f); ctx 241 libde265/md5.cc memcpy(ctx->buffer, data, size); ctx 244 libde265/md5.cc void MD5_Final(unsigned char *result, MD5_CTX *ctx) ctx 248 libde265/md5.cc used = ctx->lo & 0x3f; ctx 250 libde265/md5.cc ctx->buffer[used++] = 0x80; ctx 255 libde265/md5.cc memset(&ctx->buffer[used], 0, free); ctx 256 libde265/md5.cc body(ctx, ctx->buffer, 64); ctx 261 libde265/md5.cc memset(&ctx->buffer[used], 0, free - 8); ctx 263 libde265/md5.cc ctx->lo <<= 3; ctx 264 libde265/md5.cc ctx->buffer[56] = ctx->lo; ctx 265 libde265/md5.cc ctx->buffer[57] = ctx->lo >> 8; ctx 266 libde265/md5.cc ctx->buffer[58] = ctx->lo >> 16; ctx 267 libde265/md5.cc ctx->buffer[59] = ctx->lo >> 24; ctx 268 libde265/md5.cc ctx->buffer[60] = ctx->hi; ctx 269 libde265/md5.cc ctx->buffer[61] = ctx->hi >> 8; ctx 270 libde265/md5.cc ctx->buffer[62] = ctx->hi >> 16; ctx 271 libde265/md5.cc ctx->buffer[63] = ctx->hi >> 24; ctx 273 libde265/md5.cc body(ctx, ctx->buffer, 64); ctx 275 libde265/md5.cc result[0] = ctx->a; ctx 276 libde265/md5.cc result[1] = ctx->a >> 8; ctx 277 libde265/md5.cc result[2] = ctx->a >> 16; ctx 278 libde265/md5.cc result[3] = ctx->a >> 24; ctx 279 libde265/md5.cc result[4] = ctx->b; ctx 280 libde265/md5.cc result[5] = ctx->b >> 8; ctx 281 libde265/md5.cc result[6] = ctx->b >> 16; ctx 282 libde265/md5.cc result[7] = ctx->b >> 24; ctx 283 libde265/md5.cc result[8] = ctx->c; ctx 284 libde265/md5.cc result[9] = ctx->c >> 8; ctx 285 libde265/md5.cc result[10] = ctx->c >> 16; ctx 286 libde265/md5.cc result[11] = ctx->c >> 24; ctx 287 libde265/md5.cc result[12] = ctx->d; ctx 288 libde265/md5.cc result[13] = ctx->d >> 8; ctx 289 libde265/md5.cc result[14] = ctx->d >> 16; ctx 290 libde265/md5.cc result[15] = ctx->d >> 24; ctx 292 libde265/md5.cc memset(ctx, 0, sizeof(*ctx)); ctx 41 libde265/md5.h extern void MD5_Init(MD5_CTX *ctx); ctx 42 libde265/md5.h extern void MD5_Update(MD5_CTX *ctx, void *data, unsigned long size); ctx 43 libde265/md5.h extern void MD5_Final(unsigned char *result, MD5_CTX *ctx); ctx 50 libde265/motion.cc void mc_luma(const base_context* ctx, ctx 79 libde265/motion.cc ctx->acceleration.put_hevc_qpel(out, out_stride, ctx 157 libde265/motion.cc ctx->acceleration.put_hevc_qpel(out, out_stride, ctx 175 libde265/motion.cc void mc_chroma(const base_context* ctx, ctx 206 libde265/motion.cc ctx->acceleration.put_hevc_epel(out, out_stride, ctx 255 libde265/motion.cc ctx->acceleration.put_hevc_epel_hv(out, out_stride, ctx 260 libde265/motion.cc ctx->acceleration.put_hevc_epel_h(out, out_stride, ctx 265 libde265/motion.cc ctx->acceleration.put_hevc_epel_v(out, out_stride, ctx 279 libde265/motion.cc void generate_inter_prediction_samples(base_context* ctx, ctx 344 libde265/motion.cc ctx->add_warning(DE265_WARNING_NONEXISTING_REFERENCE_PICTURE_ACCESSED, false); ctx 348 libde265/motion.cc const de265_image* refPic = ctx->get_image(shdr->RefPicList[l][vi->refIdx[l]]); ctx 354 libde265/motion.cc ctx->add_warning(DE265_WARNING_NONEXISTING_REFERENCE_PICTURE_ACCESSED, false); ctx 368 libde265/motion.cc mc_luma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 374 libde265/motion.cc mc_luma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 381 libde265/motion.cc mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 384 libde265/motion.cc mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 389 libde265/motion.cc mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 392 libde265/motion.cc mc_chroma(ctx, sps, vi->mv[l].x, vi->mv[l].y, xP,yP, ctx 443 libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[0], stride[0], ctx 445 libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[1], stride[1], ctx 448 libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[2], stride[2], ctx 453 libde265/motion.cc ctx->add_warning(DE265_WARNING_BOTH_PREDFLAGS_ZERO, false); ctx 477 libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[0], stride[0], ctx 480 libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[1], stride[1], ctx 483 libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[2], stride[2], ctx 488 libde265/motion.cc ctx->add_warning(DE265_WARNING_BOTH_PREDFLAGS_ZERO, false); ctx 504 libde265/motion.cc ctx->acceleration.put_weighted_pred_avg(pixels[0], stride[0], ctx 512 libde265/motion.cc ctx->acceleration.put_weighted_pred_avg(pixels[1], stride[1], ctx 515 libde265/motion.cc ctx->acceleration.put_weighted_pred_avg(pixels[2], stride[2], ctx 548 libde265/motion.cc ctx->acceleration.put_weighted_bipred(pixels[0], stride[0], ctx 559 libde265/motion.cc ctx->acceleration.put_weighted_bipred(pixels[1], stride[1], ctx 564 libde265/motion.cc ctx->acceleration.put_weighted_bipred(pixels[2], stride[2], ctx 575 libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[0], stride[0], ctx 577 libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[1], stride[1], ctx 580 libde265/motion.cc ctx->acceleration.put_unweighted_pred(pixels[2], stride[2], ctx 600 libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[0], stride[0], ctx 603 libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[1], stride[1], ctx 607 libde265/motion.cc ctx->acceleration.put_weighted_pred(pixels[2], stride[2], ctx 617 libde265/motion.cc ctx->add_warning(DE265_WARNING_BOTH_PREDFLAGS_ZERO, false); ctx 1100 libde265/motion.cc void derive_collocated_motion_vectors(base_context* ctx, ctx 1116 libde265/motion.cc assert(ctx->has_image(colPic)); ctx 1117 libde265/motion.cc const de265_image* colImg = ctx->get_image(colPic); ctx 1123 libde265/motion.cc ctx->add_warning(DE265_WARNING_COLLOCATED_MOTION_VECTOR_OUTSIDE_IMAGE_AREA, false); ctx 1191 libde265/motion.cc const de265_image* refimg = ctx->get_image(shdr->RefPicList[1][rIdx]); ctx 1203 libde265/motion.cc const de265_image* refimg = ctx->get_image(shdr->RefPicList[0][rIdx]); ctx 1265 libde265/motion.cc ctx->add_warning(DE265_WARNING_INCORRECT_MOTION_VECTOR_SCALING, false); ctx 1277 libde265/motion.cc void derive_temporal_luma_vector_prediction(base_context* ctx, ctx 1320 libde265/motion.cc if (!ctx->has_image(colPic)) { ctx 1325 libde265/motion.cc ctx->add_warning(DE265_WARNING_NONEXISTING_REFERENCE_PICTURE_ACCESSED, false); ctx 1349 libde265/motion.cc derive_collocated_motion_vectors(ctx,img,shdr, xP,yP, colPic, xColPb,yColPb, refIdxL, X, ctx 1368 libde265/motion.cc derive_collocated_motion_vectors(ctx,img,shdr, xP,yP, colPic, xColPb,yColPb, refIdxL, X, ctx 1383 libde265/motion.cc void derive_combined_bipredictive_merging_candidates(const base_context* ctx, ctx 1412 libde265/motion.cc const de265_image* img0 = l0Cand.predFlag[0] ? ctx->get_image(shdr->RefPicList[0][l0Cand.refIdx[0]]) : NULL; ctx 1413 libde265/motion.cc const de265_image* img1 = l1Cand.predFlag[1] ? ctx->get_image(shdr->RefPicList[1][l1Cand.refIdx[1]]) : NULL; ctx 1453 libde265/motion.cc void get_merge_candidate_list_without_step_9(base_context* ctx, ctx 1504 libde265/motion.cc derive_temporal_luma_vector_prediction(ctx,img,shdr, xP,yP,nPbW,nPbH, ctx 1512 libde265/motion.cc derive_temporal_luma_vector_prediction(ctx,img,shdr, ctx 1535 libde265/motion.cc derive_combined_bipredictive_merging_candidates(ctx, shdr, ctx 1555 libde265/motion.cc void get_merge_candidate_list(base_context* ctx, ctx 1564 libde265/motion.cc get_merge_candidate_list_without_step_9(ctx, shdr, ctx 1611 libde265/motion.cc void derive_luma_motion_merge_mode(base_context* ctx, ctx 1621 libde265/motion.cc get_merge_candidate_list_without_step_9(ctx, shdr, ctx 1639 libde265/motion.cc void derive_spatial_luma_vector_prediction(base_context* ctx, ctx 1690 libde265/motion.cc const de265_image* tmpimg = ctx->get_image(shdr->RefPicList[X][ refIdxLX ]); ctx 1706 libde265/motion.cc if (vi.predFlag[X]) imgX = ctx->get_image(shdr->RefPicList[X][ vi.refIdx[X] ]); ctx 1708 libde265/motion.cc if (vi.predFlag[Y]) imgY = ctx->get_image(shdr->RefPicList[Y][ vi.refIdx[Y] ]); ctx 1775 libde265/motion.cc const de265_image* refPicA = ctx->get_image(shdr->RefPicList[refPicList][refIdxA ]); ctx 1776 libde265/motion.cc const de265_image* refPicX = ctx->get_image(shdr->RefPicList[X ][refIdxLX]); ctx 1797 libde265/motion.cc ctx->add_warning(DE265_WARNING_INCORRECT_MOTION_VECTOR_SCALING, false); ctx 1841 libde265/motion.cc if (vi.predFlag[X]) imgX = ctx->get_image(shdr->RefPicList[X][ vi.refIdx[X] ]); ctx 1843 libde265/motion.cc if (vi.predFlag[Y]) imgY = ctx->get_image(shdr->RefPicList[Y][ vi.refIdx[Y] ]); ctx 1917 libde265/motion.cc const de265_image* refPicB=ctx->get_image(shdr->RefPicList[refPicList][refIdxB ]); ctx 1918 libde265/motion.cc const de265_image* refPicX=ctx->get_image(shdr->RefPicList[X ][refIdxLX]); ctx 1935 libde265/motion.cc ctx->add_warning(DE265_WARNING_INCORRECT_MOTION_VECTOR_SCALING, false); ctx 1946 libde265/motion.cc void fill_luma_motion_vector_predictors(base_context* ctx, ctx 1959 libde265/motion.cc derive_spatial_luma_vector_prediction(ctx, img, shdr, xC,yC, nCS, xP,yP, ctx 1976 libde265/motion.cc derive_temporal_luma_vector_prediction(ctx, img, shdr, ctx 2022 libde265/motion.cc MotionVector luma_motion_vector_prediction(base_context* ctx, ctx 2032 libde265/motion.cc fill_luma_motion_vector_predictors(ctx, shdr, img, ctx 2063 libde265/motion.cc void motion_vectors_and_ref_indices(base_context* ctx, ctx 2081 libde265/motion.cc derive_luma_motion_merge_mode(ctx,shdr,img, ctx 2116 libde265/motion.cc mvpL[l] = luma_motion_vector_prediction(ctx,shdr,img,motion, ctx 2142 libde265/motion.cc void decode_prediction_unit(base_context* ctx, ctx 2156 libde265/motion.cc motion_vectors_and_ref_indices(ctx, shdr, img, motion, ctx 2161 libde265/motion.cc generate_inter_prediction_samples(ctx,shdr, img, xC,yC, xB,yB, nCS, nPbW,nPbH, &vi); ctx 69 libde265/motion.h void get_merge_candidate_list(base_context* ctx, ctx 92 libde265/motion.h void generate_inter_prediction_samples(base_context* ctx, ctx 103 libde265/motion.h void fill_luma_motion_vector_predictors(base_context* ctx, ctx 112 libde265/motion.h void decode_prediction_unit(base_context* ctx,const slice_segment_header* shdr, ctx 47 libde265/pps.cc bool pps_range_extension::read(bitreader* br, decoder_context* ctx, const pic_parameter_set* pps) ctx 49 libde265/pps.cc const seq_parameter_set* sps = ctx->get_sps(pps->seq_parameter_set_id); ctx 71 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 77 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 84 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 94 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 105 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 114 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 126 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 135 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 270 libde265/pps.cc bool pic_parameter_set::read(bitreader* br, decoder_context* ctx) ctx 279 libde265/pps.cc ctx->add_warning(DE265_WARNING_NONEXISTING_PPS_REFERENCED, false); ctx 286 libde265/pps.cc ctx->add_warning(DE265_WARNING_NONEXISTING_SPS_REFERENCED, false); ctx 297 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 304 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 310 libde265/pps.cc if (!ctx->has_sps(seq_parameter_set_id)) { ctx 311 libde265/pps.cc ctx->add_warning(DE265_WARNING_NONEXISTING_SPS_REFERENCED, false); ctx 315 libde265/pps.cc sps = ctx->get_sps(seq_parameter_set_id); ctx 318 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 329 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 337 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 342 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 360 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 368 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 383 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 401 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 442 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 449 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 469 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 476 libde265/pps.cc ctx->add_warning(err, false); ctx 490 libde265/pps.cc ctx->add_warning(DE265_WARNING_PPS_HEADER_INVALID, false); ctx 509 libde265/pps.cc bool success = range_extension.read(br, ctx, this); ctx 478 libde265/sao.cc decoder_context* ctx = img->decctx; ctx 507 libde265/sao.cc add_task(&ctx->thread_pool_, task); ctx 38 libde265/slice.cc #define LOCK de265_mutex_lock(&ctx->thread_pool.mutex) ctx 39 libde265/slice.cc #define UNLOCK de265_mutex_unlock(&ctx->thread_pool.mutex) ctx 147 libde265/slice.cc bool read_pred_weight_table(bitreader* br, slice_segment_header* shdr, decoder_context* ctx) ctx 151 libde265/slice.cc pic_parameter_set* pps = ctx->get_pps((int)shdr->slice_pic_parameter_set_id); ctx 153 libde265/slice.cc seq_parameter_set* sps = ctx->get_sps((int)pps->seq_parameter_set_id); ctx 356 libde265/slice.cc de265_error slice_segment_header::read(bitreader* br, decoder_context* ctx, ctx 371 libde265/slice.cc if (ctx->get_RapPicFlag()) { // TODO: is this still correct ? Should we drop RapPicFlag ? ctx 378 libde265/slice.cc ctx->add_warning(DE265_WARNING_NONEXISTING_PPS_REFERENCED, false); ctx 382 libde265/slice.cc if (!ctx->has_pps(slice_pic_parameter_set_id)) { ctx 383 libde265/slice.cc ctx->add_warning(DE265_WARNING_NONEXISTING_PPS_REFERENCED, false); ctx 387 libde265/slice.cc pps = ctx->get_pps(slice_pic_parameter_set_id); ctx 391 libde265/slice.cc ctx->add_warning(DE265_WARNING_NONEXISTING_SPS_REFERENCED, false); ctx 408 libde265/slice.cc ctx->add_warning(DE265_WARNING_DEPENDENT_SLICE_WITH_ADDRESS_ZERO, false); ctx 412 libde265/slice.cc if (ctx->previous_slice_header == NULL) { ctx 416 libde265/slice.cc *this = *ctx->previous_slice_header; ctx 430 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICE_SEGMENT_ADDRESS_INVALID, false); ctx 446 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 468 libde265/slice.cc if (ctx->get_nal_unit_type() != NAL_UNIT_IDR_W_RADL && ctx 469 libde265/slice.cc ctx->get_nal_unit_type() != NAL_UNIT_IDR_N_LP) { ctx 474 libde265/slice.cc read_short_term_ref_pic_set(ctx, sps, ctx 489 libde265/slice.cc ctx->add_warning(DE265_WARNING_SHORT_TERM_REF_PIC_SET_OUT_OF_RANGE, false); ctx 524 libde265/slice.cc ctx->add_warning(DE265_WARNING_MAX_NUM_REF_PICS_EXCEEDED, false); ctx 537 libde265/slice.cc ctx->add_warning(DE265_NON_EXISTING_LT_REFERENCE_CANDIDATE_IN_SLICE_HEADER, false); ctx 544 libde265/slice.cc ctx->PocLsbLt[i] = sps->lt_ref_pic_poc_lsb_sps[ lt_idx_sps[i] ]; ctx 545 libde265/slice.cc ctx->UsedByCurrPicLt[i] = sps->used_by_curr_pic_lt_sps_flag[ lt_idx_sps[i] ]; ctx 552 libde265/slice.cc ctx->PocLsbLt[i] = poc_lsb_lt[i]; ctx 553 libde265/slice.cc ctx->UsedByCurrPicLt[i] = used_by_curr_pic_lt_flag[i]; ctx 556 libde265/slice.cc if (ctx->UsedByCurrPicLt[i]) { ctx 572 libde265/slice.cc ctx->DeltaPocMsbCycleLt[i] = delta_poc_msb_cycle_lt[i]; ctx 575 libde265/slice.cc ctx->DeltaPocMsbCycleLt[i] = (delta_poc_msb_cycle_lt[i] + ctx 576 libde265/slice.cc ctx->DeltaPocMsbCycleLt[i-1]); ctx 625 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 633 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 698 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 710 libde265/slice.cc ctx->add_warning(DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE, false); ctx 719 libde265/slice.cc if (!read_pred_weight_table(br,this,ctx)) ctx 721 libde265/slice.cc ctx->add_warning(DE265_ERROR_CODED_PARAMETER_OUT_OF_RANGE, false); ctx 728 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 736 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 744 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 750 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 778 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 785 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 809 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 819 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 826 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 836 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 864 libde265/slice.cc ctx->add_warning(DE265_WARNING_SLICEHEADER_INVALID, false); ctx 1267 libde265/slice.cc void slice_segment_header::dump_slice_segment_header(const decoder_context* ctx, int fd) const ctx 1280 libde265/slice.cc const pic_parameter_set* pps = ctx->get_pps(slice_pic_parameter_set_id); ctx 1283 libde265/slice.cc const seq_parameter_set* sps = ctx->get_sps((int)pps->seq_parameter_set_id); ctx 1289 libde265/slice.cc if (ctx->get_nal_unit_type() >= NAL_UNIT_BLA_W_LP && ctx 1290 libde265/slice.cc ctx->get_nal_unit_type() <= NAL_UNIT_RESERVED_IRAP_VCL23) { ctx 1322 libde265/slice.cc if (ctx->get_nal_unit_type() != NAL_UNIT_IDR_W_RADL && ctx 1323 libde265/slice.cc ctx->get_nal_unit_type() != NAL_UNIT_IDR_N_LP) { ctx 1344 libde265/slice.cc LOG2("PocLsbLt[%d] : %d\n", i, ctx->PocLsbLt[i]); ctx 1345 libde265/slice.cc LOG2("UsedByCurrPicLt[%d] : %d\n", i, ctx->UsedByCurrPicLt[i]); ctx 1346 libde265/slice.cc LOG2("DeltaPocMsbCycleLt[%d] : %d\n", i, ctx->DeltaPocMsbCycleLt[i]); ctx 1659 libde265/slice.cc decoder_context* ctx = tctx->decctx; ctx 150 libde265/threads.cc int w = pool->tasks[0].data.task_ctb.ctx->current_sps->PicWidthInCtbsY; ctx 151 libde265/threads.cc int h = pool->tasks[0].data.task_ctb.ctx->current_sps->PicHeightInCtbsY; ctx 29 libde265/visualize.cc int w = ctx->img->get_width(); ctx 30 libde265/visualize.cc int h = ctx->img->get_height(); ctx 34 libde265/visualize.cc int stride = ctx->img->get_luma_stride(); ctx 36 libde265/visualize.cc for (int ctbY=0;ctbY<ctx->current_sps->PicHeightInCtbsY;ctbY++) ctx 37 libde265/visualize.cc for (int ctbX=0;ctbX<ctx->current_sps->PicWidthInCtbsY;ctbX++) ctx 43 libde265/visualize.cc uint8_t *src = ctx->img->get_image_plane_at_pos(0,x0,y0); ctx 37 sherlock265/VideoDecoder.cc ctx(NULL), ctx 118 sherlock265/VideoDecoder.cc de265_release_next_picture(ctx); ctx 121 sherlock265/VideoDecoder.cc img = de265_peek_next_picture(ctx); ctx 126 sherlock265/VideoDecoder.cc de265_error err = de265_decode(ctx, &more); ctx 132 sherlock265/VideoDecoder.cc img = de265_peek_next_picture(ctx); ctx 137 sherlock265/VideoDecoder.cc int err = de265_push_data(ctx,buf,buf_size ,0,0); ctx 434 sherlock265/VideoDecoder.cc ctx = de265_new_decoder(); ctx 435 sherlock265/VideoDecoder.cc de265_start_worker_threads(ctx, 4); // start 4 background threads ctx 442 sherlock265/VideoDecoder.cc if (ctx) { de265_free_decoder(ctx); } ctx 81 sherlock265/VideoDecoder.hh de265_decoder_context* ctx;