summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-23 16:48:41 +0100
committerClément Bœsch <u@pkh.me>2017-03-23 16:48:41 +0100
commit038e6aef7a54577a3bba6666cff21f5f4e3b2d0b (patch)
treeaa6c995c63df15efca280358172a77326700d886 /libavcodec
parent590fb5291ad434889b445e8b8d949daed97db5dd (diff)
parent4abe3b049d987420eb891f74a35af2cebbf52144 (diff)
Merge commit '4abe3b049d987420eb891f74a35af2cebbf52144'
* commit '4abe3b049d987420eb891f74a35af2cebbf52144': hevc: rename hevc.[ch] to hevcdec.[ch] Merged-by: Clément Bœsch <u@pkh.me>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/Makefile2
-rw-r--r--libavcodec/dxva2_hevc.c2
-rw-r--r--libavcodec/h2645_parse.c2
-rw-r--r--libavcodec/hevc_cabac.c2
-rw-r--r--libavcodec/hevc_data.c2
-rw-r--r--libavcodec/hevc_filter.c2
-rw-r--r--libavcodec/hevc_mp4toannexb_bsf.c2
-rw-r--r--libavcodec/hevc_mvs.c2
-rw-r--r--libavcodec/hevc_parse.c2
-rw-r--r--libavcodec/hevc_parse.h2
-rw-r--r--libavcodec/hevc_parser.c2
-rw-r--r--libavcodec/hevc_ps.c2
-rw-r--r--libavcodec/hevc_ps_enc.c2
-rw-r--r--libavcodec/hevc_refs.c2
-rw-r--r--libavcodec/hevc_sei.c2
-rw-r--r--libavcodec/hevcdec.c (renamed from libavcodec/hevc.c)2
-rw-r--r--libavcodec/hevcdec.h (renamed from libavcodec/hevc.h)6
-rw-r--r--libavcodec/hevcdsp_template.c2
-rw-r--r--libavcodec/hevcpred.c2
-rw-r--r--libavcodec/qsvenc_hevc.c2
-rw-r--r--libavcodec/vaapi_encode_h265.c2
-rw-r--r--libavcodec/vaapi_hevc.c2
-rw-r--r--libavcodec/vdpau_hevc.c2
23 files changed, 25 insertions, 25 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index b8d7a005ea..3889ced234 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -334,7 +334,7 @@ OBJS-$(CONFIG_H264_VAAPI_ENCODER) += vaapi_encode_h264.o vaapi_encode_h26x.
OBJS-$(CONFIG_H264_VIDEOTOOLBOX_ENCODER) += videotoolboxenc.o
OBJS-$(CONFIG_HAP_DECODER) += hapdec.o hap.o
OBJS-$(CONFIG_HAP_ENCODER) += hapenc.o hap.o
-OBJS-$(CONFIG_HEVC_DECODER) += hevc.o hevc_mvs.o hevc_ps.o hevc_sei.o \
+OBJS-$(CONFIG_HEVC_DECODER) += hevcdec.o hevc_mvs.o hevc_ps.o hevc_sei.o \
hevc_cabac.o hevc_refs.o hevcpred.o \
hevcdsp.o hevc_filter.o h2645_parse.o hevc_data.o
OBJS-$(CONFIG_HEVC_CUVID_DECODER) += cuvid.o
diff --git a/libavcodec/dxva2_hevc.c b/libavcodec/dxva2_hevc.c
index 981c8883ac..5de8b7c0a8 100644
--- a/libavcodec/dxva2_hevc.c
+++ b/libavcodec/dxva2_hevc.c
@@ -22,7 +22,7 @@
#include "libavutil/avassert.h"
-#include "hevc.h"
+#include "hevcdec.h"
// The headers above may include w32threads.h, which uses the original
// _WIN32_WINNT define, while dxva2_internal.h redefines it to target a
diff --git a/libavcodec/h2645_parse.c b/libavcodec/h2645_parse.c
index c3961a5e90..c14c4152c0 100644
--- a/libavcodec/h2645_parse.c
+++ b/libavcodec/h2645_parse.c
@@ -26,7 +26,7 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "h2645_parse.h"
int ff_h2645_extract_rbsp(const uint8_t *src, int length,
diff --git a/libavcodec/hevc_cabac.c b/libavcodec/hevc_cabac.c
index 4f90dab1ac..969f37203f 100644
--- a/libavcodec/hevc_cabac.c
+++ b/libavcodec/hevc_cabac.c
@@ -25,7 +25,7 @@
#include "libavutil/common.h"
#include "cabac_functions.h"
-#include "hevc.h"
+#include "hevcdec.h"
#define CABAC_MAX_BIN 31
diff --git a/libavcodec/hevc_data.c b/libavcodec/hevc_data.c
index f74f2725c0..0298fadcc8 100644
--- a/libavcodec/hevc_data.c
+++ b/libavcodec/hevc_data.c
@@ -20,7 +20,7 @@
#include <stdint.h>
-#include "hevc.h"
+#include "hevcdec.h"
const uint8_t ff_hevc_diag_scan4x4_x[16] = {
0, 0, 1, 0,
diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c
index fe520f45b2..14e7c8dd50 100644
--- a/libavcodec/hevc_filter.c
+++ b/libavcodec/hevc_filter.c
@@ -26,7 +26,7 @@
#include "libavutil/internal.h"
#include "cabac_functions.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "bit_depth_template.c"
diff --git a/libavcodec/hevc_mp4toannexb_bsf.c b/libavcodec/hevc_mp4toannexb_bsf.c
index 5cc642b0d3..9002a98c4f 100644
--- a/libavcodec/hevc_mp4toannexb_bsf.c
+++ b/libavcodec/hevc_mp4toannexb_bsf.c
@@ -27,7 +27,7 @@
#include "avcodec.h"
#include "bsf.h"
#include "bytestream.h"
-#include "hevc.h"
+#include "hevcdec.h"
#define MIN_HEVCC_LENGTH 23
diff --git a/libavcodec/hevc_mvs.c b/libavcodec/hevc_mvs.c
index 4a6dde0f67..edad491406 100644
--- a/libavcodec/hevc_mvs.c
+++ b/libavcodec/hevc_mvs.c
@@ -21,7 +21,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "hevc.h"
+#include "hevcdec.h"
static const uint8_t l0_l1_cand_idx[12][2] = {
{ 0, 1, },
diff --git a/libavcodec/hevc_parse.c b/libavcodec/hevc_parse.c
index cf04bc2fff..d6bf872303 100644
--- a/libavcodec/hevc_parse.c
+++ b/libavcodec/hevc_parse.c
@@ -18,7 +18,7 @@
#include "bytestream.h"
#include "h2645_parse.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "hevc_parse.h"
static int hevc_decode_nal_units(const uint8_t *buf, int buf_size, HEVCParamSets *ps,
diff --git a/libavcodec/hevc_parse.h b/libavcodec/hevc_parse.h
index 877356a687..39bd23e6ea 100644
--- a/libavcodec/hevc_parse.h
+++ b/libavcodec/hevc_parse.h
@@ -24,7 +24,7 @@
#ifndef AVCODEC_HEVC_PARSE_H
#define AVCODEC_HEVC_PARSE_H
-#include "hevc.h"
+#include "hevcdec.h"
int ff_hevc_decode_extradata(const uint8_t *data, int size, HEVCParamSets *ps,
int *is_nalff, int *nal_length_size,
diff --git a/libavcodec/hevc_parser.c b/libavcodec/hevc_parser.c
index 3546048609..22a9623601 100644
--- a/libavcodec/hevc_parser.c
+++ b/libavcodec/hevc_parser.c
@@ -23,7 +23,7 @@
#include "libavutil/common.h"
#include "golomb.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "h2645_parse.h"
#include "parser.h"
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index ccc80fa8a1..4a3091ca7b 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -25,7 +25,7 @@
#include "libavutil/imgutils.h"
#include "golomb.h"
-#include "hevc.h"
+#include "hevcdec.h"
static const uint8_t default_scaling_list_intra[] = {
16, 16, 16, 16, 17, 18, 21, 24,
diff --git a/libavcodec/hevc_ps_enc.c b/libavcodec/hevc_ps_enc.c
index c05bf63d3b..edff3e75e2 100644
--- a/libavcodec/hevc_ps_enc.c
+++ b/libavcodec/hevc_ps_enc.c
@@ -19,7 +19,7 @@
*/
#include "golomb.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "put_bits.h"
static void write_ptl_layer(PutBitContext *pb, PTLCommon *ptl)
diff --git a/libavcodec/hevc_refs.c b/libavcodec/hevc_refs.c
index 611ad458de..aa1162735c 100644
--- a/libavcodec/hevc_refs.c
+++ b/libavcodec/hevc_refs.c
@@ -26,7 +26,7 @@
#include "internal.h"
#include "thread.h"
-#include "hevc.h"
+#include "hevcdec.h"
void ff_hevc_unref_frame(HEVCContext *s, HEVCFrame *frame, int flags)
{
diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c
index 148f246df1..bb4414402d 100644
--- a/libavcodec/hevc_sei.c
+++ b/libavcodec/hevc_sei.c
@@ -23,7 +23,7 @@
*/
#include "golomb.h"
-#include "hevc.h"
+#include "hevcdec.h"
enum HEVC_SEI_TYPE {
SEI_TYPE_BUFFERING_PERIOD = 0,
diff --git a/libavcodec/hevc.c b/libavcodec/hevcdec.c
index 0b007f16e5..8893648e0a 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevcdec.c
@@ -37,7 +37,7 @@
#include "bytestream.h"
#include "cabac_functions.h"
#include "golomb.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "profiles.h"
const uint8_t ff_hevc_pel_weight[65] = { [2] = 0, [4] = 1, [6] = 2, [8] = 3, [12] = 4, [16] = 5, [24] = 6, [32] = 7, [48] = 8, [64] = 9 };
diff --git a/libavcodec/hevc.h b/libavcodec/hevcdec.h
index ff9a6cbf6d..519c7a634c 100644
--- a/libavcodec/hevc.h
+++ b/libavcodec/hevcdec.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVCODEC_HEVC_H
-#define AVCODEC_HEVC_H
+#ifndef AVCODEC_HEVCDEC_H
+#define AVCODEC_HEVCDEC_H
#include <stdatomic.h>
@@ -1083,4 +1083,4 @@ extern const uint8_t ff_hevc_diag_scan4x4_y[16];
extern const uint8_t ff_hevc_diag_scan8x8_x[64];
extern const uint8_t ff_hevc_diag_scan8x8_y[64];
-#endif /* AVCODEC_HEVC_H */
+#endif /* AVCODEC_HEVCDEC_H */
diff --git a/libavcodec/hevcdsp_template.c b/libavcodec/hevcdsp_template.c
index 2b06dc5cba..25f1a81202 100644
--- a/libavcodec/hevcdsp_template.c
+++ b/libavcodec/hevcdsp_template.c
@@ -21,7 +21,7 @@
*/
#include "get_bits.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "bit_depth_template.c"
#include "hevcdsp.h"
diff --git a/libavcodec/hevcpred.c b/libavcodec/hevcpred.c
index 02c1766059..7a86ed3d31 100644
--- a/libavcodec/hevcpred.c
+++ b/libavcodec/hevcpred.c
@@ -20,7 +20,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "hevc.h"
+#include "hevcdec.h"
#include "hevcpred.h"
diff --git a/libavcodec/qsvenc_hevc.c b/libavcodec/qsvenc_hevc.c
index 55e2e2539c..8b63bdc7f5 100644
--- a/libavcodec/qsvenc_hevc.c
+++ b/libavcodec/qsvenc_hevc.c
@@ -30,7 +30,7 @@
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "h2645_parse.h"
#include "internal.h"
#include "qsv.h"
diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c
index 6ed1270dc9..1332c282cc 100644
--- a/libavcodec/vaapi_encode_h265.c
+++ b/libavcodec/vaapi_encode_h265.c
@@ -25,7 +25,7 @@
#include "libavutil/pixfmt.h"
#include "avcodec.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "internal.h"
#include "put_bits.h"
#include "vaapi_encode.h"
diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c
index 34d32795b7..6dd35db19e 100644
--- a/libavcodec/vaapi_hevc.c
+++ b/libavcodec/vaapi_hevc.c
@@ -24,7 +24,7 @@
#include <va/va_dec_hevc.h>
#include "avcodec.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "hwaccel.h"
#include "vaapi_decode.h"
diff --git a/libavcodec/vdpau_hevc.c b/libavcodec/vdpau_hevc.c
index ee93b3a5e8..c00e3b105e 100644
--- a/libavcodec/vdpau_hevc.c
+++ b/libavcodec/vdpau_hevc.c
@@ -24,7 +24,7 @@
#include "avcodec.h"
#include "internal.h"
-#include "hevc.h"
+#include "hevcdec.h"
#include "hwaccel.h"
#include "vdpau.h"
#include "vdpau_internal.h"