Home
last modified time | relevance | path

Searched refs:vtctx (Results 1 - 7 of 7) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dvideotoolboxenc.c272 static void set_async_error(VTEncContext *vtctx, int err) in set_async_error() argument
276 pthread_mutex_lock(&vtctx->lock); in set_async_error()
278 vtctx->async_error = err; in set_async_error()
280 info = vtctx->q_head; in set_async_error()
281 vtctx->q_head = vtctx->q_tail = NULL; in set_async_error()
290 pthread_mutex_unlock(&vtctx->lock); in set_async_error()
293 static void clear_frame_queue(VTEncContext *vtctx) in clear_frame_queue() argument
295 set_async_error(vtctx, 0); in clear_frame_queue()
298 static int vtenc_q_pop(VTEncContext *vtctx, boo argument
348 vtenc_q_push(VTEncContext *vtctx, CMSampleBufferRef buffer, ExtraSEI *sei) vtenc_q_push() argument
468 VTEncContext *vtctx = avctx->priv_data; get_params_size() local
523 VTEncContext *vtctx = avctx->priv_data; copy_param_sets() local
583 VTEncContext *vtctx = avctx->priv_data; set_extradata() local
638 VTEncContext *vtctx = avctx->priv_data; vtenc_output_callback() local
671 VTEncContext *vtctx = avctx->priv_data; get_length_code_size() local
706 VTEncContext *vtctx = avctx->priv_data; get_vt_h264_profile_level() local
811 VTEncContext *vtctx = avctx->priv_data; get_vt_hevc_profile_level() local
853 VTEncContext *vtctx = avctx->priv_data; add_color_attr() local
1084 VTEncContext *vtctx = avctx->priv_data; vtenc_create_encoder() local
1430 VTEncContext *vtctx = avctx->priv_data; vtenc_configure_encoder() local
1549 VTEncContext *vtctx = avctx->priv_data; vtenc_init() local
1987 VTEncContext *vtctx = avctx->priv_data; vtenc_cm_to_avpacket() local
2122 VTEncContext *vtctx = avctx->priv_data; get_cv_pixel_info() local
2289 VTEncContext* vtctx = avctx->priv_data; create_cv_pixel_buffer() local
2390 vtenc_send_frame(AVCodecContext *avctx, VTEncContext *vtctx, const AVFrame *frame) vtenc_send_frame() argument
2454 VTEncContext *vtctx = avctx->priv_data; vtenc_frame() local
2522 VTEncContext *vtctx = avctx->priv_data; vtenc_populate_extradata() local
2604 VTEncContext *vtctx = avctx->priv_data; vtenc_close() local
[all...]
H A Dvideotoolbox.c73 int ff_videotoolbox_buffer_copy(VTContext *vtctx, in ff_videotoolbox_buffer_copy() argument
79 tmp = av_fast_realloc(vtctx->bitstream, in ff_videotoolbox_buffer_copy()
80 &vtctx->allocated_size, in ff_videotoolbox_buffer_copy()
86 vtctx->bitstream = tmp; in ff_videotoolbox_buffer_copy()
87 memcpy(vtctx->bitstream, buffer, size); in ff_videotoolbox_buffer_copy()
88 vtctx->bitstream_size = size; in ff_videotoolbox_buffer_copy()
187 VTContext *vtctx = avctx->internal->hwaccel_priv_data; in ff_videotoolbox_avcc_extradata_create() local
222 if (vtctx) in ff_videotoolbox_avcc_extradata_create()
223 memcpy(vtctx->sps, h->ps.sps->data + 1, 3); in ff_videotoolbox_avcc_extradata_create()
395 VTContext *vtctx in ff_videotoolbox_h264_start_frame() local
410 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_h264_decode_params() local
432 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_common_decode_slice() local
471 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_get_context() local
498 VTContext *vtctx = avctx->internal->hwaccel_priv_data; ff_videotoolbox_uninit() local
517 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_buffer_create() local
693 VTContext *vtctx = opaque; videotoolbox_decoder_callback() local
714 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_session_decode_frame() local
1007 VTContext *vtctx = avctx->internal->hwaccel_priv_data; ff_videotoolbox_common_end_frame() local
1041 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_h264_end_frame() local
1074 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_hevc_end_frame() local
1090 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_mpeg_start_frame() local
1121 VTContext *vtctx = avctx->internal->hwaccel_priv_data; videotoolbox_prores_decode_slice() local
1178 VTContext *vtctx = avctx->internal->hwaccel_priv_data; ff_videotoolbox_common_init() local
1402 av_videotoolbox_default_init2(AVCodecContext *avctx, AVVideotoolboxContext *vtctx) av_videotoolbox_default_init2() argument
[all...]
H A Dvideotoolbox_vp9.c114 VTContext *vtctx = avctx->internal->hwaccel_priv_data; in videotoolbox_vp9_decode_slice() local
116 return ff_videotoolbox_buffer_copy(vtctx, buffer, size); in videotoolbox_vp9_decode_slice()
H A Dvideotoolbox.h109 * @param vtctx the Videotoolbox context to use
113 int av_videotoolbox_default_init2(AVCodecContext *avctx, AVVideotoolboxContext *vtctx);
H A Dvt_internal.h56 int ff_videotoolbox_buffer_copy(VTContext *vtctx,
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_tgsi.c92 struct virgl_transform_context *vtctx = (struct virgl_transform_context *)ctx; in virgl_tgsi_transform_declaration() local
102 virgl_tgsi_transform_declaration_input_temp(decl, &vtctx->input_temp[INPUT_TEMP_LAYER], in virgl_tgsi_transform_declaration()
104 virgl_tgsi_transform_declaration_input_temp(decl, &vtctx->input_temp[INPUT_TEMP_VIEWPORT_INDEX], in virgl_tgsi_transform_declaration()
108 virgl_tgsi_transform_declaration_input_temp(decl, &vtctx->input_temp[INPUT_TEMP_BLOCK_ID], in virgl_tgsi_transform_declaration()
110 virgl_tgsi_transform_declaration_input_temp(decl, &vtctx->input_temp[INPUT_TEMP_HELPER_INVOCATION], in virgl_tgsi_transform_declaration()
116 vtctx->writemask_fixup_outs[vtctx->num_writemask_fixups++] = decl->Range.First; in virgl_tgsi_transform_declaration()
118 vtctx->writemask_fixup_outs[vtctx->num_writemask_fixups++] = decl->Range.Last; in virgl_tgsi_transform_declaration()
121 vtctx in virgl_tgsi_transform_declaration()
147 struct virgl_transform_context *vtctx = (struct virgl_transform_context *)ctx; virgl_tgsi_transform_property() local
188 struct virgl_transform_context *vtctx = (struct virgl_transform_context *)ctx; virgl_tgsi_transform_prolog() local
270 struct virgl_transform_context *vtctx = (struct virgl_transform_context *)ctx; virgl_tgsi_transform_instruction() local
[all...]
/third_party/ffmpeg/fftools/
H A Dffmpeg_videotoolbox.c146 AVVideotoolboxContext *vtctx = av_videotoolbox_alloc_context(); in videotoolbox_init() local
151 vtctx->cv_pix_fmt_type = UTGetOSTypeFromString(pixfmt_str); in videotoolbox_init()
157 ret = av_videotoolbox_default_init2(s, vtctx); in videotoolbox_init()

Completed in 5 milliseconds