~ubuntu-branches/ubuntu/wily/libde265/wily

« back to all changes in this revision

Viewing changes to libde265/fallback.cc

  • Committer: Package Import Robot
  • Author(s): Joachim Bauch
  • Date: 2015-07-16 11:07:46 UTC
  • mfrom: (2.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20150716110746-76vsv24j3yux7tnu
Tags: 1.0.2-1
* Imported Upstream version 1.0.2
* Added new files to copyright information.
* Only export decoder API and update symbols for new version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
{
28
28
  accel->put_weighted_pred_avg_8 = put_weighted_pred_avg_8_fallback;
29
29
  accel->put_unweighted_pred_8   = put_unweighted_pred_8_fallback;
30
 
 
31
30
  accel->put_weighted_pred_8 = put_weighted_pred_8_fallback;
32
31
  accel->put_weighted_bipred_8 = put_weighted_bipred_8_fallback;
33
32
 
 
33
  accel->put_weighted_pred_avg_16 = put_weighted_pred_avg_16_fallback;
 
34
  accel->put_unweighted_pred_16   = put_unweighted_pred_16_fallback;
 
35
  accel->put_weighted_pred_16 = put_weighted_pred_16_fallback;
 
36
  accel->put_weighted_bipred_16 = put_weighted_bipred_16_fallback;
 
37
 
 
38
 
34
39
  accel->put_hevc_epel_8    = put_epel_8_fallback;
35
 
  accel->put_hevc_epel_h_8  = put_epel_hv_8_fallback;
36
 
  accel->put_hevc_epel_v_8  = put_epel_hv_8_fallback;
37
 
  accel->put_hevc_epel_hv_8 = put_epel_hv_8_fallback;
 
40
  accel->put_hevc_epel_h_8  = put_epel_hv_fallback<uint8_t>;
 
41
  accel->put_hevc_epel_v_8  = put_epel_hv_fallback<uint8_t>;
 
42
  accel->put_hevc_epel_hv_8 = put_epel_hv_fallback<uint8_t>;
38
43
 
39
44
  accel->put_hevc_qpel_8[0][0] = put_qpel_0_0_fallback;
40
45
  accel->put_hevc_qpel_8[0][1] = put_qpel_0_1_fallback;
53
58
  accel->put_hevc_qpel_8[3][2] = put_qpel_3_2_fallback;
54
59
  accel->put_hevc_qpel_8[3][3] = put_qpel_3_3_fallback;
55
60
 
 
61
  accel->put_hevc_epel_16    = put_epel_16_fallback;
 
62
  accel->put_hevc_epel_h_16  = put_epel_hv_fallback<uint16_t>;
 
63
  accel->put_hevc_epel_v_16  = put_epel_hv_fallback<uint16_t>;
 
64
  accel->put_hevc_epel_hv_16 = put_epel_hv_fallback<uint16_t>;
 
65
 
 
66
  accel->put_hevc_qpel_16[0][0] = put_qpel_0_0_fallback_16;
 
67
  accel->put_hevc_qpel_16[0][1] = put_qpel_0_1_fallback_16;
 
68
  accel->put_hevc_qpel_16[0][2] = put_qpel_0_2_fallback_16;
 
69
  accel->put_hevc_qpel_16[0][3] = put_qpel_0_3_fallback_16;
 
70
  accel->put_hevc_qpel_16[1][0] = put_qpel_1_0_fallback_16;
 
71
  accel->put_hevc_qpel_16[1][1] = put_qpel_1_1_fallback_16;
 
72
  accel->put_hevc_qpel_16[1][2] = put_qpel_1_2_fallback_16;
 
73
  accel->put_hevc_qpel_16[1][3] = put_qpel_1_3_fallback_16;
 
74
  accel->put_hevc_qpel_16[2][0] = put_qpel_2_0_fallback_16;
 
75
  accel->put_hevc_qpel_16[2][1] = put_qpel_2_1_fallback_16;
 
76
  accel->put_hevc_qpel_16[2][2] = put_qpel_2_2_fallback_16;
 
77
  accel->put_hevc_qpel_16[2][3] = put_qpel_2_3_fallback_16;
 
78
  accel->put_hevc_qpel_16[3][0] = put_qpel_3_0_fallback_16;
 
79
  accel->put_hevc_qpel_16[3][1] = put_qpel_3_1_fallback_16;
 
80
  accel->put_hevc_qpel_16[3][2] = put_qpel_3_2_fallback_16;
 
81
  accel->put_hevc_qpel_16[3][3] = put_qpel_3_3_fallback_16;
 
82
 
 
83
 
 
84
 
56
85
  accel->transform_skip_8 = transform_skip_8_fallback;
57
 
  accel->transform_bypass_8 = transform_bypass_8_fallback;
58
 
  accel->transform_4x4_luma_add_8 = transform_4x4_luma_add_8_fallback;
59
 
  accel->transform_4x4_add_8   = transform_4x4_add_8_fallback;
60
 
  accel->transform_8x8_add_8   = transform_8x8_add_8_fallback;
61
 
  accel->transform_16x16_add_8 = transform_16x16_add_8_fallback;
62
 
  accel->transform_32x32_add_8 = transform_32x32_add_8_fallback;
 
86
  accel->transform_skip_rdpcm_h_8 = transform_skip_rdpcm_h_8_fallback;
 
87
  accel->transform_skip_rdpcm_v_8 = transform_skip_rdpcm_v_8_fallback;
 
88
  accel->transform_bypass = transform_bypass_fallback;
 
89
  accel->transform_bypass_rdpcm_h = transform_bypass_rdpcm_h_fallback;
 
90
  accel->transform_bypass_rdpcm_v = transform_bypass_rdpcm_v_fallback;
 
91
  accel->transform_4x4_dst_add_8 = transform_4x4_luma_add_8_fallback;
 
92
  accel->transform_add_8[0] = transform_4x4_add_8_fallback;
 
93
  accel->transform_add_8[1] = transform_8x8_add_8_fallback;
 
94
  accel->transform_add_8[2] = transform_16x16_add_8_fallback;
 
95
  accel->transform_add_8[3] = transform_32x32_add_8_fallback;
 
96
 
 
97
  accel->transform_skip_16 = transform_skip_16_fallback;
 
98
  accel->transform_4x4_dst_add_16 = transform_4x4_luma_add_16_fallback;
 
99
  accel->transform_add_16[0] = transform_4x4_add_16_fallback;
 
100
  accel->transform_add_16[1] = transform_8x8_add_16_fallback;
 
101
  accel->transform_add_16[2] = transform_16x16_add_16_fallback;
 
102
  accel->transform_add_16[3] = transform_32x32_add_16_fallback;
 
103
 
 
104
  accel->rotate_coefficients = rotate_coefficients_fallback;
 
105
  accel->add_residual_8  = add_residual_fallback<uint8_t>;
 
106
  accel->add_residual_16 = add_residual_fallback<uint16_t>;
 
107
  accel->rdpcm_h = rdpcm_h_fallback;
 
108
  accel->rdpcm_v = rdpcm_v_fallback;
 
109
  accel->transform_skip_residual = transform_skip_residual_fallback;
 
110
 
 
111
  accel->transform_idst_4x4   = transform_idst_4x4_fallback;
 
112
  accel->transform_idct_4x4   = transform_idct_4x4_fallback;
 
113
  accel->transform_idct_8x8   = transform_idct_8x8_fallback;
 
114
  accel->transform_idct_16x16 = transform_idct_16x16_fallback;
 
115
  accel->transform_idct_32x32 = transform_idct_32x32_fallback;
 
116
 
 
117
  accel->fwd_transform_4x4_dst_8 = fdst_4x4_8_fallback;
 
118
  accel->fwd_transform_8[0] = fdct_4x4_8_fallback;
 
119
  accel->fwd_transform_8[1] = fdct_8x8_8_fallback;
 
120
  accel->fwd_transform_8[2] = fdct_16x16_8_fallback;
 
121
  accel->fwd_transform_8[3] = fdct_32x32_8_fallback;
 
122
 
 
123
  accel->hadamard_transform_8[0] = hadamard_4x4_8_fallback;
 
124
  accel->hadamard_transform_8[1] = hadamard_8x8_8_fallback;
 
125
  accel->hadamard_transform_8[2] = hadamard_16x16_8_fallback;
 
126
  accel->hadamard_transform_8[3] = hadamard_32x32_8_fallback;
63
127
}