Lines Matching refs:encoder
43 … { CBR = 0, VBR = 1, CQ = 2 } | Enumerates the bit rate modes of a video encoder. (This enum is de…
50 …me](#oh_videoencoder_createbymime) (const char \*mime) | Creates a video encoder instance based on…
51 …coder_createbyname) (const char \*name) | Creates a video encoder instance based on an encoder nam…
52 …vcodec) \*codec) | Clears the internal resources of a video encoder and destroys the encoder insta…
53 …back so that your application can respond to events generated by a video encoder. (This function i…
54 …ecCallback callback so that your application can respond to events generated by a video encoder. |
55 … parameter callback so that your application can respond to events generated by a video encoder. |
56 …_base.md#oh_avcodec) \*codec, OH_AVFormat \*format) | Configures a video encoder. Typically, you n…
57 …_AVCodec](_codec_base.md#oh_avcodec) \*codec) | Prepares internal resources for a video encoder. |
58 …tart) ([OH_AVCodec](_codec_base.md#oh_avcodec) \*codec) | Starts a video encoder. This function sh…
59 …_stop) ([OH_AVCodec](_codec_base.md#oh_avcodec) \*codec) | Stops a video encoder and releases the …
60 … the input and output data and parameters, for example, H.264 PPS/SPS, cached in a video encoder. |
61 …[OH_AVCodec](_codec_base.md#oh_avcodec) \*codec) | Resets a video encoder. The encoder returns to …
62 …avcodec) \*codec) | Obtains the OH_AVFormat information about the output data of a video encoder. |
63 …*codec, OH_AVFormat \*format) | Set the OH_AVFormat information when a video encoder is running. |
64 …dow](_codec_base.md#ohnativewindow) \*\*window) | Obtains the input surface from a video encoder. |
65 …oh_avcodec) \*codec, uint32_t index) | Frees an output buffer of a video encoder. (This function i…
66 …am) ([OH_AVCodec](_codec_base.md#oh_avcodec) \*codec) | Notifies a video encoder that input stream…
67 …fer_attr.md) attr) | Pushes the input buffer filled with data to a video encoder. (This function i…
68 …2_t index) | Pushes the OH_AVBuffer corresponding to the index to a video encoder in buffer mode. |
69 …hes the parameter configured for a frame with the given index to a video encoder in surface mode. …
70 …nt32_t index) | Returns the processed OH_AVBuffer corresponding to the index to a video encoder. |
71 …_base.md#oh_avcodec) \*codec) | Obtains the description of the image received by a video encoder. |
72 …ec_base.md#oh_avcodec) \*codec, bool \*isValid) | Checks whether a video encoder instance is valid…
99 | codec | Pointer to a video encoder instance. |
116 Enumerates the bit rate modes of a video encoder.
144 Configures a video encoder. Typically, you need to configure the description information about the …
165 … | AV_ERR_OK | The default value of the encoder is used. …
174 … | AV_ERR_OK | The default bit rate of the encoder is used. …
186 | codec | Pointer to a video encoder instance. |
195 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
199 1. The value of **codec** is a null pointer or does not point to an encoder instance.
217 Creates a video encoder instance based on a MIME type. This function is recommended.
231 Returns the pointer to the video encoder instance created if the operation is successful; returns N…
242 …reates a video encoder instance based on an encoder name. Tho use this function, you must know the…
254 | name | Pointer to a video encoder name. |
258 Returns the pointer to the video encoder instance created if the operation is successful; returns N…
269 Clears the internal resources of a video encoder and destroys the encoder instance. You only need t…
279 | codec | Pointer to a video encoder instance. |
287 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
289 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
304 …rs the input and output data and parameters, for example, H.264 PPS/SPS, cached in a video encoder.
316 | codec | Pointer to a video encoder instance. |
324 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
326 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
343 Returns the processed OH_AVBuffer corresponding to the index to a video encoder. You need to call t…
355 | codec | Pointer to a video encoder instance. |
364 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
368 1. The value of **codec** is a null pointer or does not point to an encoder instance.
387 Obtains the description of the image received by a video encoder. This function must be called afte…
399 | codec | Pointer to a video encoder instance. |
403 … returns NULL if the value of **codec** is a null pointer or does not point to an encoder instance.
414 Obtains the OH_AVFormat information about the output data of a video encoder.
426 | codec | Pointer to a video encoder instance. |
430 … returns NULL if the value of **codec** is a null pointer or does not point to an encoder instance.
441 Sets an input surface for a video encoder. This function must be called after **OH_VideoEncoder_Con…
451 | codec | Pointer to a video encoder instance. |
460 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
473 Checks whether a video encoder instance is valid.
483 | codec | Pointer to a video encoder instance. |
484 | isValid | Pointer of the Boolean type. The value **true** means that the encoder instance is vali…
492 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
503 Notifies a video encoder that input streams end. You are advised to use this function for notificat…
513 | codec | Pointer to a video encoder instance. |
521 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
523 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
540 Prepares internal resources for a video encoder. This function must be called after **OH_VideoEncod…
550 | codec | Pointer to a video encoder instance. |
558 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
571 Pushes the OH_AVBuffer corresponding to the index to a video encoder in buffer mode.
581 | codec | Pointer to a video encoder instance. |
590 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
594 1. The value of **codec** is a null pointer or does not point to an encoder instance.
612 Pushes the parameter configured for a frame with the given index to a video encoder in surface mode.
622 | codec | Pointer to a video encoder instance. |
631 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
633 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
650 …back so that your application can respond to events generated by a video encoder. This function mu…
660 | codec | Pointer to a video encoder instance. |
670 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
672 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
689 …back so that your application can respond to events generated by a video encoder. In surface encod…
699 | codec | Pointer to a video encoder instance. |
709 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
711 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
728 …video encoder. The encoder returns to the initial state. To continue encoding, you must call **OH_…
738 | codec | Pointer to a video encoder instance. |
746 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
748 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
763 Set the OH_AVFormat information when a video encoder is running.
765 This function can be called only after the encoder is started. Incorrect parameter settings may cau…
775 | codec | Pointer to a video encoder instance. |
784 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
788 1. The value of **codec** is a null pointer or does not point to an encoder instance.
806 …rts a video encoder. This function should be called after a successful call of **OH_VideoEncoder_P…
810 In buffer mode, the encoder immediately triggers the input callback. Each time the caller completes…
820 | codec | Pointer to a video encoder instance. |
828 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
830 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
847 Stops a video encoder and releases the input and output buffers. After the video encoder is stopped…
857 | codec | Pointer to a video encoder instance. |
865 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
867 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
887 …back so that your application can respond to events generated by a video encoder. This function mu…
901 | codec | Pointer to a video encoder instance. |
911 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
913 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
930 Pushes the input buffer filled with data to a video encoder.
944 | codec | Pointer to a video encoder instance. |
954 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
956 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…
973 Frees an output buffer of a video encoder.
987 | codec | Pointer to a video encoder instance. |
996 **AV_ERR_NO_MEMORY**: An internal exception occurs in the encoder instance, for example, a null poi…
998 **AV_ERR_INVALID_VAL**: The value of **codec** is a null pointer or does not point to an encoder in…