This commit is contained in:
Devaev Maxim
2020-12-08 12:45:47 +03:00
parent 5ded791ef0
commit d94bb948eb
2 changed files with 2 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ int omx_encoder_prepare(struct omx_encoder_t *omx, struct device_t *dev, unsigne
return 0;
}
int omx_encoder_compress_buffer(struct hw_buffer_t *hw, struct picture_t *picture) {
int omx_encoder_compress_buffer(struct omx_encoder_t *omx, struct hw_buffer_t *hw, struct picture_t *picture) {
# define IN(_next) omx->input_buffer->_next
# define OUT(_next) omx->output_buffer->_next

View File

@@ -71,4 +71,4 @@ struct omx_encoder_t *omx_encoder_init(void);
void omx_encoder_destroy(struct omx_encoder_t *omx);
int omx_encoder_prepare(struct omx_encoder_t *omx, struct device_t *dev, unsigned quality);
int omx_encoder_compress_buffer(struct hw_buffer_t *hw, struct picture_t *picture);
int omx_encoder_compress_buffer(struct omx_encoder_t *omx, struct hw_buffer_t *hw, struct picture_t *picture);