• Haihao Xiang's avatar
    msdk: return the right pointer · e5279cd9
    Haihao Xiang authored
    The first channel in memory for MFX_FOURCC_RGB4 (VA_FOURCC_ARGB or
    GST_VIDEO_FORMAT_BGRA) is B, not A. In MSDK, channle B is used to access
    data for RGB4 surface. In addition, the returned pointers for
    MFX_FOURCC_AYUV and MFX_FOURCC_Y410 in gst_msdk_video_memory_map_full
    were wrong too before this fix.