Sample-based Weighted Prediction with Directional Template Matching for HEVC lossless coding | IEEE Conference Publication | IEEE Xplore