Lines Matching defs:opcode
3282 av_log(h->s.avctx, AV_LOG_DEBUG, "mmco:%d %d %d\n", h->mmco[i].opcode, h->mmco[i].short_pic_num, h->mmco[i].long_arg);
3284 if( mmco[i].opcode == MMCO_SHORT2UNUSED
3285 || mmco[i].opcode == MMCO_SHORT2LONG){
3289 if(mmco[i].opcode != MMCO_SHORT2LONG || !h->long_ref[mmco[i].long_arg]
3296 switch(mmco[i].opcode){
3433 h->mmco[0].opcode= MMCO_LONG;
3440 MMCOOpcode opcode= get_ue_golomb_31(gb);
3442 h->mmco[i].opcode= opcode;
3443 if(opcode==MMCO_SHORT2UNUSED || opcode==MMCO_SHORT2LONG){
3450 if(opcode==MMCO_SHORT2LONG || opcode==MMCO_LONG2UNUSED || opcode==MMCO_LONG || opcode==MMCO_SET_MAX_LONG){
3452 if(long_arg >= 32 || (long_arg >= 16 && !(opcode == MMCO_LONG2UNUSED && FIELD_PICTURE))){
3453 av_log(h->s.avctx, AV_LOG_ERROR, "illegal long ref in memory management control operation %d\n", opcode);
3459 if(opcode > (unsigned)MMCO_LONG){
3460 av_log(h->s.avctx, AV_LOG_ERROR, "illegal memory management control operation %d\n", opcode);
3463 if(opcode == MMCO_END)
3472 h->mmco[0].opcode= MMCO_SHORT2UNUSED;
3477 h->mmco[1].opcode= MMCO_SHORT2UNUSED;