On Wed, Jan 02, 2019 at 06:12:08PM -0300, James Almer wrote:
> On 1/2/2019 3:53 PM, Paul B Mahol wrote:
> > +static int hcom_decode(AVCodecContext *avctx, void *data,
> > + int *got_frame, AVPacket *pkt)
> > +{
> > +HCOMContext *s = avctx->priv_data;
> > +AVFrame *fram
2019-01-14 20:32 GMT+01:00, Paul B Mahol :
> On 1/6/19, Carl Eugen Hoyos wrote:
>> 2019-01-03 0:51 GMT+01:00, Rostislav Pehlivanov :
>>> On Wed, 2 Jan 2019 at 19:02, Paul B Mahol wrote:
>>
>>
+while (bits-- > 0) {
+
+if (current & 0x8000) {
+
On 1/6/19, Carl Eugen Hoyos wrote:
> 2019-01-03 0:51 GMT+01:00, Rostislav Pehlivanov :
>> On Wed, 2 Jan 2019 at 19:02, Paul B Mahol wrote:
>
>
>>> +while (bits-- > 0) {
>>> +
>>> +if (current & 0x8000) {
>>> +s->dict_entry = s->dict[s->dict_entry].r;
>>> +
2019-01-03 0:51 GMT+01:00, Rostislav Pehlivanov :
> On Wed, 2 Jan 2019 at 19:02, Paul B Mahol wrote:
>> +while (bits-- > 0) {
>> +
>> +if (current & 0x8000) {
>> +s->dict_entry = s->dict[s->dict_entry].r;
>> +} else {
>> +s->dic
On Wed, 2 Jan 2019 at 19:02, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol
> ---
> libavcodec/Makefile | 1 +
> libavcodec/allcodecs.c | 1 +
> libavcodec/avcodec.h| 1 +
> libavcodec/codec_desc.c | 7 ++
> libavcodec/hcom.c | 137 +
On 1/2/2019 3:53 PM, Paul B Mahol wrote:
> +static int hcom_decode(AVCodecContext *avctx, void *data,
> + int *got_frame, AVPacket *pkt)
> +{
> +HCOMContext *s = avctx->priv_data;
> +AVFrame *frame = data;
> +GetByteContext gb;
> +uint32_t current;
> +int r
On 1/2/19, James Almer wrote:
> On 1/2/2019 3:53 PM, Paul B Mahol wrote:
>> Signed-off-by: Paul B Mahol
>> ---
>> libavcodec/Makefile | 1 +
>> libavcodec/allcodecs.c | 1 +
>> libavcodec/avcodec.h| 1 +
>> libavcodec/codec_desc.c | 7 ++
>> libavcodec/hcom.c | 137 +++
On 1/2/2019 3:53 PM, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol
> ---
> libavcodec/Makefile | 1 +
> libavcodec/allcodecs.c | 1 +
> libavcodec/avcodec.h| 1 +
> libavcodec/codec_desc.c | 7 ++
> libavcodec/hcom.c | 137
> 5 f
Signed-off-by: Paul B Mahol
---
libavcodec/Makefile | 1 +
libavcodec/allcodecs.c | 1 +
libavcodec/avcodec.h| 1 +
libavcodec/codec_desc.c | 7 ++
libavcodec/hcom.c | 137
5 files changed, 147 insertions(+)
create mode 100644 libav