Lines Matching refs:muxer
43 * @param muxer Pointer to an OH_AVMuxer instance.
47 * {@link AV_ERR_INVALID_VAL}, the muxer or rotation invalid.
51 OH_AVErrCode OH_AVMuxer_SetRotation(OH_AVMuxer *muxer, int32_t rotation);
54 * @brief Add track format to the muxer.
57 * @param muxer Pointer to an OH_AVMuxer instance
64 * {@link AV_ERR_INVALID_VAL}, the muxer or trackIndex or trackFormat invalid.
71 OH_AVErrCode OH_AVMuxer_AddTrack(OH_AVMuxer *muxer, int32_t *trackIndex, OH_AVFormat *trackFormat);
74 * @brief Start the muxer.
77 * @param muxer Pointer to an OH_AVMuxer instance
80 * {@link AV_ERR_INVALID_VAL}, the muxer invalid.
85 OH_AVErrCode OH_AVMuxer_Start(OH_AVMuxer *muxer);
88 * @brief Write an encoded sample to the muxer.
93 * @param muxer Pointer to an OH_AVMuxer instance
99 * {@link AV_ERR_INVALID_VAL}, the muxer or trackIndex or sample or info invalid.
107 OH_AVErrCode OH_AVMuxer_WriteSample(OH_AVMuxer *muxer, uint32_t trackIndex,
111 * @brief Write an encoded sample to the muxer.
116 * @param muxer Pointer to an OH_AVMuxer instance
121 * {@link AV_ERR_INVALID_VAL}, the muxer or trackIndex or sample invalid.
127 OH_AVErrCode OH_AVMuxer_WriteSampleBuffer(OH_AVMuxer *muxer, uint32_t trackIndex,
131 * @brief Stop the muxer.
132 * Note: Once the muxer stops, it can not be restarted.
134 * @param muxer Pointer to an OH_AVMuxer instance
137 * {@link AV_ERR_INVALID_VAL}, the muxer invalid.
141 OH_AVErrCode OH_AVMuxer_Stop(OH_AVMuxer *muxer);
144 * @brief Clear the internal resources of the muxer and destroy the muxer instance
146 * @param muxer Pointer to an OH_AVMuxer instance
149 * {@link AV_ERR_INVALID_VAL}, the muxer invalid.
152 OH_AVErrCode OH_AVMuxer_Destroy(OH_AVMuxer *muxer);