Revision 2d2b5a14 libavcodec/dxva2_h264.c

View differences:

libavcodec/dxva2_h264.c
95 95
    pp->wBitFields                    = ((s->picture_structure != PICT_FRAME) <<  0) |
96 96
                                        (h->sps.mb_aff                        <<  1) |
97 97
                                        (h->sps.residual_color_transform_flag <<  2) |
98
                                        /* sp_for_switch_flag (not implemented by Libav) */
98
                                        /* sp_for_switch_flag (not implemented by FFmpeg) */
99 99
                                        (0                                    <<  3) |
100 100
                                        (h->sps.chroma_format_idc             <<  4) |
101 101
                                        ((h->nal_ref_idc != 0)                <<  6) |
......
146 146
    pp->deblocking_filter_control_present_flag = h->pps.deblocking_filter_parameters_present;
147 147
    pp->redundant_pic_cnt_present_flag= h->pps.redundant_pic_cnt_present;
148 148
    pp->Reserved8BitsB                = 0;
149
    pp->slice_group_change_rate_minus1= 0;  /* XXX not implemented by Libav */
150
    //pp->SliceGroupMap[810];               /* XXX not implemented by Libav */
149
    pp->slice_group_change_rate_minus1= 0;  /* XXX not implemented by FFmpeg */
150
    //pp->SliceGroupMap[810];               /* XXX not implemented by FFmpeg */
151 151
}
152 152

  
153 153
static void fill_scaling_lists(const H264Context *h, DXVA_Qmatrix_H264 *qm)
......
243 243
            }
244 244
        }
245 245
    }
246
    slice->slice_qs_delta    = 0; /* XXX not implemented by Libav */
246
    slice->slice_qs_delta    = 0; /* XXX not implemented by FFmpeg */
247 247
    slice->slice_qp_delta    = s->qscale - h->pps.init_qp;
248 248
    slice->redundant_pic_cnt = h->redundant_pic_count;
249 249
    if (h->slice_type == FF_B_TYPE)

Also available in: Unified diff