comparison h264.c @ 2971:1c22981c3498 libavcodec

new qscale type to distinguish H264
author henry
date Sun, 18 Dec 2005 13:29:09 +0000
parents ef2149182f1c
children bfabfdf9ce55
comparison
equal deleted inserted replaced
2970:583b6ac45c07 2971:1c22981c3498
7550 } 7550 }
7551 } 7551 }
7552 7552
7553 if(!s->current_picture_ptr) return buf_index; //no frame 7553 if(!s->current_picture_ptr) return buf_index; //no frame
7554 7554
7555 s->current_picture_ptr->qscale_type= FF_QSCALE_TYPE_H264;
7555 s->current_picture_ptr->pict_type= s->pict_type; 7556 s->current_picture_ptr->pict_type= s->pict_type;
7556 s->current_picture_ptr->key_frame= s->pict_type == I_TYPE && h->nal_unit_type == NAL_IDR_SLICE; 7557 s->current_picture_ptr->key_frame= s->pict_type == I_TYPE && h->nal_unit_type == NAL_IDR_SLICE;
7557 7558
7558 h->prev_frame_num_offset= h->frame_num_offset; 7559 h->prev_frame_num_offset= h->frame_num_offset;
7559 h->prev_frame_num= h->frame_num; 7560 h->prev_frame_num= h->frame_num;