summaryrefslogtreecommitdiff
path: root/libavcodec/hap.h
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2022-03-23 01:19:58 +0100
committerMarton Balint <cus@passwd.hu>2022-04-10 20:12:23 +0200
commita4570d7a66da772d2f530980a60ef5057750f8e6 (patch)
treef9ad3338c5e094da112d2caaddcca4d21af6958d /libavcodec/hap.h
parentb3074ac9f4987bd730d6e8e7d50c107ec65d79a3 (diff)
avcodec/hapenc: use the common texturedsp encode function
And add slice thread capabilities. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/hap.h')
-rw-r--r--libavcodec/hap.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/hap.h b/libavcodec/hap.h
index 7e065e4838..fb5a4c4123 100644
--- a/libavcodec/hap.h
+++ b/libavcodec/hap.h
@@ -80,9 +80,7 @@ typedef struct HapContext {
int texture_count; /* 2 for HAQA, 1 for other version */
int texture_section_size; /* size of the part of the texture section (for HAPQA) */
- /* Pointer to the selected compress function (encoder only) */
- int (*tex_fun)(uint8_t *dst, ptrdiff_t stride, const uint8_t *block);
-
+ TextureDSPThreadContext enc;
TextureDSPThreadContext dec[2];
} HapContext;