~ubuntu-branches/ubuntu/utopic/libav/utopic-proposed

« back to all changes in this revision

Viewing changes to libavcodec/x86/h264_idct_10bit.asm

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Reinhard Tartler, Rico Tzschichholz
  • Date: 2014-08-30 11:02:45 UTC
  • mfrom: (1.3.47 sid)
  • Revision ID: package-import@ubuntu.com-20140830110245-io3dg7q85wfr7125
Tags: 6:11~beta1-2
[ Reinhard Tartler ]
* Make libavcodec-dev depend on libavresample-dev

[ Rico Tzschichholz ]
* Some fixes and leftovers from soname bumps

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
SECTION .text
33
33
 
34
34
;-----------------------------------------------------------------------------
35
 
; void h264_idct_add(pixel *dst, dctcoef *block, int stride)
 
35
; void ff_h264_idct_add_10(pixel *dst, int16_t *block, int stride)
36
36
;-----------------------------------------------------------------------------
37
37
%macro STORE_DIFFx2 6
38
38
    psrad       %1, 6
87
87
IDCT_ADD_10
88
88
 
89
89
;-----------------------------------------------------------------------------
90
 
; h264_idct_add16(pixel *dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8])
 
90
; void ff_h264_idct_add16_10(pixel *dst, const int *block_offset,
 
91
;                            int16_t *block, int stride,
 
92
;                            const uint8_t nnzc[6*8])
91
93
;-----------------------------------------------------------------------------
92
94
;;;;;;; NO FATE SAMPLES TRIGGER THIS
93
95
%macro ADD4x4IDCT 0
157
159
IDCT_ADD16_10
158
160
 
159
161
;-----------------------------------------------------------------------------
160
 
; void h264_idct_dc_add(pixel *dst, dctcoef *block, int stride)
 
162
; void ff_h264_idct_dc_add_10(pixel *dst, int16_t *block, int stride)
161
163
;-----------------------------------------------------------------------------
162
164
%macro IDCT_DC_ADD_OP_10 3
163
165
    pxor      m5, m5
199
201
    RET
200
202
 
201
203
;-----------------------------------------------------------------------------
202
 
; void h264_idct8_dc_add(pixel *dst, dctcoef *block, int stride)
 
204
; void ff_h264_idct8_dc_add_10(pixel *dst, int16_t *block, int stride)
203
205
;-----------------------------------------------------------------------------
204
206
%macro IDCT8_DC_ADD 0
205
207
cglobal h264_idct8_dc_add_10,3,4,7
222
224
IDCT8_DC_ADD
223
225
 
224
226
;-----------------------------------------------------------------------------
225
 
; h264_idct_add16intra(pixel *dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8])
 
227
; void ff_h264_idct_add16intra_10(pixel *dst, const int *block_offset,
 
228
;                                 int16_t *block, int stride,
 
229
;                                 const uint8_t nnzc[6*8])
226
230
;-----------------------------------------------------------------------------
227
231
%macro AC 1
228
232
.ac%1:
294
298
 
295
299
%assign last_block 36
296
300
;-----------------------------------------------------------------------------
297
 
; h264_idct_add8(pixel **dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8])
 
301
; void ff_h264_idct_add8_10(pixel **dst, const int *block_offset,
 
302
;                           int16_t *block, int stride,
 
303
;                           const uint8_t nnzc[6*8])
298
304
;-----------------------------------------------------------------------------
299
305
%macro IDCT_ADD8 0
300
306
cglobal h264_idct_add8_10,5,8,7
328
334
IDCT_ADD8
329
335
 
330
336
;-----------------------------------------------------------------------------
331
 
; void h264_idct8_add(pixel *dst, dctcoef *block, int stride)
 
337
; void ff_h264_idct8_add_10(pixel *dst, int16_t *block, int stride)
332
338
;-----------------------------------------------------------------------------
333
339
%macro IDCT8_1D 2
334
340
    SWAP      0, 1
535
541
IDCT8_ADD
536
542
 
537
543
;-----------------------------------------------------------------------------
538
 
; h264_idct8_add4(pixel **dst, const int *block_offset, dctcoef *block, int stride, const uint8_t nnzc[6*8])
 
544
; void ff_h264_idct8_add4_10(pixel **dst, const int *block_offset,
 
545
;                            int16_t *block, int stride,
 
546
;                            const uint8_t nnzc[6*8])
539
547
;-----------------------------------------------------------------------------
540
548
;;;;;;; NO FATE SAMPLES TRIGGER THIS
541
549
%macro IDCT8_ADD4_OP 2