Home
last modified time | relevance | path

Searched refs:p_buffer (Results 1 – 6 of 6) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/
Dbits.h43 static inline gint bits_initwrite( bits_buffer_t *p_buffer, in bits_initwrite() argument
46 p_buffer->i_size = i_size; in bits_initwrite()
47 p_buffer->i_data = 0; in bits_initwrite()
48 p_buffer->i_mask = 0x80; in bits_initwrite()
49 p_buffer->p_data = p_data; in bits_initwrite()
50 if( !p_buffer->p_data ) in bits_initwrite()
52 if( !( p_buffer->p_data = g_slice_alloc0( i_size ) ) ) in bits_initwrite()
55 p_buffer->p_data[0] = 0; in bits_initwrite()
59 static inline void bits_align( bits_buffer_t *p_buffer ) in bits_align() argument
61 if( p_buffer->i_mask != 0x80 && p_buffer->i_data < p_buffer->i_size ) in bits_align()
[all …]
/third_party/ffmpeg/libavcodec/
Dlibxavs2.c128 uint8_t *p_buffer; in xavs2_copy_frame_with_shift() local
135 p_buffer = frame->data[plane]; in xavs2_copy_frame_with_shift()
139 p_plane[wIdx] = p_buffer[wIdx] << shift_in; in xavs2_copy_frame_with_shift()
142 p_buffer += frame->linesize[plane]; in xavs2_copy_frame_with_shift()
150 uint8_t *p_buffer; in xavs2_copy_frame() local
157 p_buffer = frame->data[plane]; in xavs2_copy_frame()
160 memcpy(p_plane, p_buffer, stride); in xavs2_copy_frame()
162 p_buffer += frame->linesize[plane]; in xavs2_copy_frame()
Dlibsvtav1.c139 svt_enc->in_buf->p_buffer = av_mallocz(sizeof(*in_data)); in alloc_buffer()
140 if (!svt_enc->in_buf->p_buffer) in alloc_buffer()
227 EbSvtIOFormat *in_data = (EbSvtIOFormat *)header_ptr->p_buffer; in read_in_data()
306 memcpy(avctx->extradata, headerPtr->p_buffer, avctx->extradata_size); in eb_enc_init()
337 headerPtrLast.p_buffer = NULL; in eb_send_frame()
418 memcpy(pkt->data, headerPtr->p_buffer, headerPtr->n_filled_len); in eb_receive_packet()
462 av_free(svt_enc->in_buf->p_buffer); in eb_enc_close()
Dsnowenc.c230 uint8_t p_buffer[1024]; in encode_q_branch() local
366 pc.bytestream= p_buffer; //FIXME end/start? and at the other stoo in encode_q_branch()
447 memcpy(pbbak, p_buffer, p_len); in encode_q_branch()
/third_party/gstreamer/gstplugins_bad/ext/openjpeg/
Dgstopenjpegenc.c1035 read_fn (void *p_buffer, OPJ_SIZE_T p_nb_bytes, void *p_user_data) in read_fn() argument
1041 write_fn (void *p_buffer, OPJ_SIZE_T p_nb_bytes, void *p_user_data) in write_fn() argument
1051 memcpy (mstream->data + mstream->offset, p_buffer, p_nb_bytes); in write_fn()
Dgstopenjpegdec.c1145 read_fn (void *p_buffer, OPJ_SIZE_T p_nb_bytes, void *p_user_data) in read_fn() argument
1158 memcpy (p_buffer, mstream->data + mstream->offset, read); in read_fn()
1165 write_fn (void *p_buffer, OPJ_SIZE_T p_nb_bytes, void *p_user_data) in write_fn() argument