Lines Matching defs:poc
891 static int get_scale_factor(H264Context * const h, int poc, int poc1, int i){
892 int poc0 = h->ref_list[0][i].poc;
897 int tb = av_clip(poc - poc0, -128, 127);
905 const int poc = h->s.current_picture_ptr->field_poc[ s->picture_structure == PICT_BOTTOM_FIELD ];
906 const int poc1 = h->ref_list[1][0].poc;
909 const int poc = h->s.current_picture_ptr->field_poc[field];
912 h->dist_scale_factor_field[field][i^field] = get_scale_factor(h, poc, poc1, i+16);
916 h->dist_scale_factor[i] = get_scale_factor(h, poc, poc1, i);
933 int poc = ref1->ref_poc[colfield][list][old_ref];
936 poc |= 3;
937 else if( interl && (poc&3) == 3) //FIXME store all MBAFF references so this isnt needed
938 poc= (poc&~3) + rfield + 1;
941 if(4*h->ref_list[list][j].frame_num + (h->ref_list[list][j].reference&3) == poc){
1000 int cur_poc = s->current_picture_ptr->poc;
2704 pic->poc= pic->field_poc[parity == PICT_BOTTOM_FIELD];
2753 const int poc= src[i]->poc;
2754 if(((poc > limit) ^ dir) && ((poc < best_poc) ^ dir)){
2755 best_poc= poc;
2761 limit= sorted[out_i++]->poc - dir;
2781 cur_poc= s->current_picture_ptr->poc;
2969 field[0].poc= field[0].field_poc[0];
2974 field[1].poc= field[1].field_poc[1];
3055 int cur_poc = s->current_picture_ptr->poc;
3063 && h->ref_list[0][0].poc + h->ref_list[1][0].poc == 2*cur_poc){
3075 int poc0 = h->ref_list[0][ref0].poc;
3077 int poc1 = h->ref_list[1][ref1].poc;
3246 av_log(h->s.avctx, AV_LOG_DEBUG, "%d fn:%d poc:%d %p\n", i, pic->frame_num, pic->poc, pic->data[0]);
3261 av_log(h->s.avctx, AV_LOG_DEBUG, "%d fn:%d poc:%d %p\n", i, pic->frame_num, pic->poc, pic->data[0]);
3355 s->current_picture_ptr->poc=
3507 //printf("poc: %d %d\n", h->poc_msb, h->poc_lsb);
3547 int poc= 2*(h->frame_num_offset + h->frame_num);
3550 poc--;
3552 field_poc[0]= poc;
3553 field_poc[1]= poc;
3560 cur->poc= FFMIN(cur->field_poc[0], cur->field_poc[1]);
4076 av_log(h->s.avctx, AV_LOG_DEBUG, "slice:%d %s mb:%d %c%s%s pps:%u frame:%d poc:%d/%d ref:%d/%d qp:%d loop:%d:%d:%d weight:%d%s %s\n",
7217 av_log(h->s.avctx, AV_LOG_DEBUG, "sps:%u profile:%d/%d poc:%d ref:%d %dx%d %s %s crop:%d/%d/%d/%d %s %s\n",
7641 for(i=1; h->delayed_pic[i] && (h->delayed_pic[i]->poc && !h->delayed_pic[i]->key_frame); i++)
7642 if(h->delayed_pic[i]->poc < out->poc){
7848 for(i=1; h->delayed_pic[i] && (h->delayed_pic[i]->poc && !h->delayed_pic[i]->key_frame); i++)
7849 if(h->delayed_pic[i]->poc < out->poc){
7853 cross_idr = !h->delayed_pic[0]->poc || !!h->delayed_pic[i] || h->delayed_pic[0]->key_frame;
7855 out_of_order = !cross_idr && out->poc < h->outputed_poc;
7861 ((!cross_idr && out->poc > h->outputed_poc + 2)
7876 h->outputed_poc = out->poc;