Marko Viitanen
be6d658354
Merge branch 'interpolation'
2013-09-25 14:31:10 +03:00
Marko Viitanen
7cf8b1062b
minor style changes to inter_recon()
2013-09-25 14:28:00 +03:00
Marko Viitanen
90239a8bbd
fixed filter_inter_halfpel_chroma() by adding offset value
2013-09-25 14:27:26 +03:00
Marko Viitanen
37b0f45d80
Merge branch 'projects' of Z:/Work/HEVC_encoder into interpolation
2013-09-25 11:02:40 +03:00
Marko Viitanen
3d228278ef
Fixes and comments for inter_recon and filter_inter_halfpel_chroma
2013-09-25 11:01:08 +03:00
Ari Koivula
41170cb0f1
Merge branch 'projects'
2013-09-24 21:52:12 +03:00
Ari Koivula
cda681294c
Fix unsigned/signed mismatch warning.
2013-09-24 21:32:11 +03:00
Ari Koivula
e5cced6b4a
Move _CRT_SECURE_NO_WARNINGS to property sheet.
2013-09-24 21:31:48 +03:00
Ari Koivula
ca34dd4b3f
Fix .vcxproj files by hand.
...
- Remove stupid stuff.
- Reorder imports so that default settings are gathered correctly.
Microsoft.Cpp.props needs to be imported after ConfigurationType and
UseDebugLibraries have been set because it does different stuff depending
on their values.
2013-09-24 21:31:05 +03:00
Ari Koivula
2c19aa59b2
Fix build directories.
...
- Make all archs and confs use solution/bin/$conf. This was changed by
accident earlier.
- Change intermediate build directories to $arch-$conf form.
- Put libs in build/$arch-$conf-libs.
- Remove unnecessary options from individual confs.
2013-09-24 21:30:37 +03:00
Ari Koivula
aa2ee15060
Add a simple test for picture_list.
...
- Add solution/src to includes for all projects.
- Add solution/../../seatest to includes for all projects.
2013-09-24 21:29:56 +03:00
Ari Koivula
91e3d76aef
Fix configuration.
2013-09-24 21:03:48 +03:00
Ari Koivula
0df24a3a5b
Rename tests/main.c to tests_main.c.
2013-09-24 16:34:49 +03:00
Marko Viitanen
13e058abce
Fixed (some) bugs in filter_inter_halfpel_chroma and inter_recon
...
Optimizations for filter to only filter horizontal or vertical pixels
2013-09-24 15:43:20 +03:00
Ari Koivula
74b8bf8c0a
Add example unit tests.
2013-09-24 13:59:19 +03:00
Ari Koivula
2fc6696536
Add Visual Studio project for unit tests.
2013-09-24 13:58:00 +03:00
Ari Koivula
adf98f7876
Change HEVC_encoder into a static library and add HEVC_interface for the exe.
...
- Move more settings to property sheets.
2013-09-24 13:43:15 +03:00
Ari Koivula
28e0090bd2
Make cpu-id arch detection use our own macro.
2013-09-24 12:41:14 +03:00
Ari Koivula
d381ec234d
Move linker options into a property sheet.
2013-09-24 10:20:03 +03:00
Marko Viitanen
469644dd5b
Added interpolation filter for half-pel chroma, NOT WORKING
2013-09-23 18:07:16 +03:00
Ari Koivula
933c4a94fe
Move release compiler properties into a separate property sheet.
2013-09-23 17:59:00 +03:00
Ari Koivula
ddd37b6551
Move compiler properties into separate property sheet.
...
This is done in preparation for adding new projects to the solution.
2013-09-23 17:45:34 +03:00
Ari Koivula
ceac5bb580
Remove users.props from configurations.
2013-09-23 17:33:28 +03:00
Ari Koivula
e770f77564
Remove unnecessary preprocessor defines from project settings.
...
- _WIN32 and _WIN64 are defined by windows headers.
- _DEBUG is defined when debug libs are used.
- _CONSOLE does nothing.
2013-09-23 17:32:07 +03:00
Ari Koivula
a3f2e84587
Redo x64 detection to not rely on predefined macro.
2013-09-23 17:27:17 +03:00
Ari Koivula
30c16fe299
Remove unused members from cabac_data.
...
- Removing them also makes cabac_init unnecessary.
2013-09-20 15:04:02 +03:00
Ari Koivula
602e0fee9c
Merge branch 'refactoring'
2013-09-20 13:01:33 +03:00
Ari Koivula
6dd049a238
Refactor: picture.h remaining renames.
2013-09-20 12:49:44 +03:00
Ari Koivula
8d5dd67f76
Refactor: Change name of CU_info.CU to cu_array.
2013-09-20 12:47:53 +03:00
Ari Koivula
5233c417df
Refactor: search.c/.h full cleanup.
2013-09-20 12:18:23 +03:00
Marko Viitanen
03ab259a9e
Refactor: transform.c/.h full cleanup.
2013-09-20 11:51:09 +03:00
Ari Koivula
d09e2bd214
Refactor: picture.c/.h full cleanup.
2013-09-20 11:15:18 +03:00
Ari Koivula
86b4ee475a
Refactor: picture.c remove leading whitespace.
...
Changing indentation like this really messes with diff, so I did it in
a separate commit.
2013-09-20 11:08:27 +03:00
Marko Viitanen
3a9449e5e0
Refactor: intra.c full cleanup
2013-09-19 16:21:53 +03:00
Ari Koivula
f750c24948
Refactor: nal.c/.h full cleanup.
...
- Move constant from the signature of calc_checksum into a macro.
2013-09-19 16:03:02 +03:00
Ari Koivula
4416d6ec36
Refactor: filter.c/.h full cleanup.
2013-09-19 15:29:54 +03:00
Ari Koivula
61c1d7413f
Add extern for g_chroma_scale.
...
- g_chroma_scale is used in filter.c.
2013-09-19 15:29:54 +03:00
Marko Viitanen
5264569f43
Refactor: inter.c/.h full cleanup
2013-09-19 15:08:30 +03:00
Ari Koivula
d6932128aa
Fix incorrect precedence.
...
- This bug was due to incorrect translation of ternary to if-expression
during refactoring. Addition has higher precedence than bit shift.
2013-09-19 13:46:20 +03:00
Marko Viitanen
33df8e3db5
Refactor: encmain.c full cleanup
2013-09-19 12:48:45 +03:00
Ari Koivula
996769c725
Refactor: Move ctx_init from cabac to context.
2013-09-19 12:47:39 +03:00
Ari Koivula
d47391163c
Refactoring: Remove array g_next_state from cabac.h.
...
- This array is no longer used. Macros CTX_UPDATE_LPS and CTX_UPDATE_MPS are
used instead.
2013-09-19 12:41:36 +03:00
Ari Koivula
b25abe7c0b
Refactor: cabac.c/.h full cleanup.
2013-09-19 12:38:11 +03:00
Marko Viitanen
32c984159f
Refactor: context.c/.h full cleanup
2013-09-19 12:22:26 +03:00
Marko Viitanen
f9f30e33ee
Refactor: config.c/.h full cleanup
2013-09-19 11:28:58 +03:00
Ari Koivula
f4833ba931
Refactor: cabac.c renaming.
2013-09-19 11:05:42 +03:00
Ari Koivula
627762dcd8
Refactor: Fix include guards.
...
- Remove _ from the beginning of include guards because that prefix is
for the implementation.
- Move include guards to the beginning of file.
- Unify the syntax.
2013-09-19 10:36:24 +03:00
Ari Koivula
adf619f9dd
Refactor: Update file comments.
2013-09-18 18:01:20 +03:00
Marko Viitanen
db3d8d8a6e
Refactor: bitstream.c full cleanup
2013-09-18 16:03:47 +03:00
Marko Viitanen
df8c5a6acd
Refactor: transform.h renaming.
2013-09-18 15:14:31 +03:00