History log of /external/libavc/encoder/ih264e_api.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
fef5e9e203fd2686b395a226f1909c6a704375f3 29-Nov-2016 Ray Essick <essick@google.com> Merge "Encoder: Defined structures for accessing MB header data"
am: 8aa140b8a5

Change-Id: Ib3e9cad8eb8ddbd5c941ff4d4c96a12e0f309831
c7d9c91417bf69c783f390e48dbbe7aafb45bbda 23-Nov-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Encoder: Defined structures for accessing MB header data

Instead of using hard coded address offsets,
defined structures to access MB Header for each MB type
This improves readability of the code

Also helps in maintaining required alignment for MV
MV elements need to be aligned to 2 byte boundary
Unaligned accesses result in undefined behavior

Bug: 33073518
Test: Tested with -fsanitize=alignment enabled on avcenc
Change-Id: I51c009b7deded76315a4bf2880444d21ae7d517f
/external/libavc/encoder/ih264e_api.c
983e1aecd4739d2a558228e3fb6f9895333f25d4 30-Mar-2016 Doney Alex <doney.alex@ittiam.com> Encoder: Added support for configuring VUI parameters.

Bug: 27442922

Change-Id: I781195e78c480e7449f49467abb1df71902e568d
/external/libavc/encoder/ih264e_api.c
dfe686ad4a159a25195d614fa88cf00828f443db 23-Feb-2016 Doney Alex <doney.alex@ittiam.com> DO NOT MERGE Encoder: Added support for Constrained intra prediction.

Change-Id: I674746047b2b007ca4bc52fad1a2cd9b177cd7bb
/external/libavc/encoder/ih264e_api.c
62ce412f748142ee7984f90152db93df6af4ece2 26-Feb-2016 Doney Alex <doney.alex@ittiam.com> Encoder: Added support for Constrained intra prediction. am: 8668fbcc97
am: e0f8b95f0c

* commit 'e0f8b95f0c5876c0659c790cc403b5c5a2193ee1':
Encoder: Added support for Constrained intra prediction.
8668fbcc9794d28af468df8d669394dfe73df790 23-Feb-2016 Doney Alex <doney.alex@ittiam.com> Encoder: Added support for Constrained intra prediction.

Change-Id: I674746047b2b007ca4bc52fad1a2cd9b177cd7bb
/external/libavc/encoder/ih264e_api.c
089f41d1f563b0b68909e823d04702fc34bf6cac 09-Feb-2016 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Encoder: Fixed an out of bound write in AIR map

pu2_intr_rfrsh_map was initialized with a wrong pointer which was
resulting in an out of bound write.
This was resulting in inconsistent output between runs when AIR was
enabled

Bug: 27076302

Change-Id: I1f36936837e3cb221ff218c3c6e7b8b20a0e26a7
/external/libavc/encoder/ih264e_api.c
4202606c70de812a040fbd79c8721dcd5d3c764e 30-Jul-2015 Hamsalekha S <hamsalekha.s@ittiam.com> Encoder added support for VUI params

SPS will now include vui params
Removed a trailing space in ih264e_api.c

Change-Id: I67a57741689206e571e9a83f7e3360149f87e06a
/external/libavc/encoder/ih264e_api.c
5696adb5ec093ff6e10f3460541d92cfd6ea2ee5 03-Jul-2015 Martin Storsjo <martin@martin.st> Validate the u4_entropy_coding_mode field

Previously, if this field wasn't set, the invalid coding mode
could lead to crashes later.

Change-Id: If8dd2f8d5f2fbdd6bb76772344f959df23159167
/external/libavc/encoder/ih264e_api.c
18e256879b62e15e13fe995af2db5aee08d127be 10-Jun-2015 Martin Storsjo <martin@martin.st> Remove the now unused stride field from the set dimensions struct

Since 90a3904fd3 and d020be5ac7, this field doesn't have any actual
effect - the strides are taken from the input pictures.

Change-Id: I9b08cbf8ee558e038d0017a6176d7b3bd3c428bd
/external/libavc/encoder/ih264e_api.c
cc87241e7963acd01387fc825fe47b21dfd824fa 12-Jun-2015 Martin Storsjo <martin@martin.st> Don't declare variables after statements

This fixes building with compilers that are strict about the pre-C99
rule about having all variable declarations before statements.

Change-Id: I06dd0cc42a6dbe90025c3c913a0c8d9ffb0acbcb
/external/libavc/encoder/ih264e_api.c
517e0627ef1680e00378b4f40f9dd1d20cd36aa8 20-Jun-2015 Martin Storsjo <martin@martin.st> Allow setting profile IV_PROFILE_MAIN

Now once that the encoder supports the main profile, allow it to
be set in the IVE_CMD_CTL_SET_PROFILE_PARAMS request.

The actual profile value set here is ignored in practice, but
at least allow setting it to main.
/external/libavc/encoder/ih264e_api.c
d2d469e52068c389d09ef6a752582dc0f037d468 19-Jun-2015 Harinarayanan K K <harinarayanan.kk@ittiam.com> Added check for minimum output buffer size.

Changed macro specifying the minimum size required for output buffer.

Added an error check on the size allocated for output buffer.

Change-Id: I98e4f46e62ffc974df760f2633689de079ca3e5e
/external/libavc/encoder/ih264e_api.c
8588303afa4064cdbd91a653d45e5716b377b767 19-Jun-2015 Harinarayanan K K <harinarayanan.kk@ittiam.com> Added code to handle cases with qp less than 10

When qp goes less than 10, all I16x16 mode evaluations
are disabled and I4x4 evaluations are enabled irrespective
of preset. This will ensure that the residual will not
exceed the supported range of entropy

Minimum Qp cannot be set less than 4 now. When QP goes lesser,
the residual may exceed the supported range even with I4x4 enabled.

Change-Id: I25b404fcd9c9e9dbdd77679280968635ee047eb3
/external/libavc/encoder/ih264e_api.c
6cb6772805d86c66848b15a54926e396daed06b1 19-Jun-2015 Harinarayanan K K <harinarayanan.kk@ittiam.com> Reduced memory requirements.

Buffer allocation is based on minimum level required for the
input resolution rather than the input max level.

Number of maximum context sets can be set to 1 to reduce
memory usage.

Added a macro ENC_MIN_PU_SIZE for minimum size of
inter prediction unit supported by encoder.

Changed the maximum constraint on number of MBs for NMB
processing to width in Mbs.

Change-Id: I5a9255e93935d90c13262681aafc772aedf8ae81
/external/libavc/encoder/ih264e_api.c
d020be5ac7242afb1a5e434dec4b2b6b2dd8ddf0 09-Jun-2015 Martin Storsjo <martin@martin.st> Remove the codec level stride field

This field isn't used at the moment at all. The public field
ive_ctl_set_dimensions_ip_t.u4_strd is kept to avoid breaking
other calling code, although it doesn't have any actual function
any longer.

Change-Id: Icfc88846fa63f209c67b8e1f8e0cc21bc4ddb73a
/external/libavc/encoder/ih264e_api.c
134291ea0b1b9794b4d7feee2c3ffdbd941c5237 18-Jun-2015 Harinarayanan K K <harinarayanan.kk@ittiam.com> Added support for Main Profile toolsets in encoder.

Added support for CABAC entropy coding.
Added support for B slices.
Fixed an issue in rate control constant QP mode.

Change-Id: Ib759d35e8e943f941aa9b8bbff0362d92c619994
/external/libavc/encoder/ih264e_api.c
afe8d03624af31b54f78d49c617f5a718294043e 23-Jun-2015 Martin Storsjo <martin@martin.st> Force regenerating the header via i4_gen_header instead of i4_header_mode

If i4_header_mode is set (without the caller explicitly requesting it),
the next frame to be encoded will be missed altogether (when only
a header is output).

Instead force a header to be generated prepended to the next frame.
If the caller explicitly requests header mode, it will be output
in a separate call.

Change-Id: If475717edf980bccb2076f880c60c9dd7dede904
/external/libavc/encoder/ih264e_api.c
5cdb888fea0dbc2027400f5f2c2459e6b26eec0c 09-Jun-2015 Harish Mahendrakar <harish.mahendrakar@ittiam.com> Fixed an overread in YUV420 Semi-planar input usecase

Handled non-multiple of 16 dimensions for 420 semiplanar input
Modified test code to remove alignment of width and height

Change-Id: I83ff8165364a863d577fcac81e711b07eec9c004
/external/libavc/encoder/ih264e_api.c
fc508f2e870642d0e84ffabda0ca9771946c7958 24-May-2015 Martin Storsjo <martin@martin.st> Fix an overread in the slice map

After incrementing the macroblock position in ih264e_update_proc_ctxt,
the slice index of the next macroblock is read. The value that is read
isn't actually used, but make sure that the array is large enough to
avoid overreads.

Change-Id: I44ddb49773244c7d1e404199fc57a9e30a8959e0
/external/libavc/encoder/ih264e_api.c
cd9e51fc2b6091aa344363ee8a4f881e938ff80c 18-Apr-2015 Lajos Molnar <lajos@google.com> fix file permissions

Change-Id: Ia4f99d5b963acd8d8a1afc2fbdf06b122d898f63
/external/libavc/encoder/ih264e_api.c
8d3d303c7942ced6a987a52db8977d768dc3605f 13-Mar-2015 Hamsalekha S <hamsalekha.s@ittiam.com> Initial version

Change-Id: I7efe9a589cd24edf86e8d086b40c27cbbf8b4017
/external/libavc/encoder/ih264e_api.c