Searched refs:decoder_ctx (Results 1 – 6 of 6) sorted by relevance
| /third_party/ffmpeg/doc/examples/ |
| D | qsvdec.c | 90 static int decode_packet(DecodeContext *decode, AVCodecContext *decoder_ctx, in decode_packet() argument 96 ret = avcodec_send_packet(decoder_ctx, pkt); in decode_packet() 105 ret = avcodec_receive_frame(decoder_ctx, frame); in decode_packet() 141 AVCodecContext *decoder_ctx = NULL; in main() local 194 decoder_ctx = avcodec_alloc_context3(decoder); in main() 195 if (!decoder_ctx) { in main() 199 decoder_ctx->codec_id = AV_CODEC_ID_H264; in main() 201 decoder_ctx->extradata = av_mallocz(video_st->codecpar->extradata_size + in main() 203 if (!decoder_ctx->extradata) { in main() 207 memcpy(decoder_ctx->extradata, video_st->codecpar->extradata, in main() [all …]
|
| D | vaapi_transcode.c | 43 static AVCodecContext *decoder_ctx = NULL, *encoder_ctx = NULL; variable 88 if (!(decoder_ctx = avcodec_alloc_context3(decoder))) in open_input_file() 92 if ((ret = avcodec_parameters_to_context(decoder_ctx, video->codecpar)) < 0) { in open_input_file() 98 decoder_ctx->hw_device_ctx = av_buffer_ref(hw_device_ctx); in open_input_file() 99 if (!decoder_ctx->hw_device_ctx) { in open_input_file() 103 decoder_ctx->get_format = get_vaapi_format; in open_input_file() 105 if ((ret = avcodec_open2(decoder_ctx, decoder, NULL)) < 0) in open_input_file() 150 ret = avcodec_send_packet(decoder_ctx, pkt); in dec_enc() 160 ret = avcodec_receive_frame(decoder_ctx, frame); in dec_enc() 172 encoder_ctx->hw_frames_ctx = av_buffer_ref(decoder_ctx->hw_frames_ctx); in dec_enc() [all …]
|
| D | hw_decode.c | 154 AVCodecContext *decoder_ctx = NULL; in main() local 208 if (!(decoder_ctx = avcodec_alloc_context3(decoder))) in main() 212 if (avcodec_parameters_to_context(decoder_ctx, video->codecpar) < 0) in main() 215 decoder_ctx->get_format = get_hw_format; in main() 217 if (hw_decoder_init(decoder_ctx, type) < 0) in main() 220 if ((ret = avcodec_open2(decoder_ctx, decoder, NULL)) < 0) { in main() 234 ret = decode_write(decoder_ctx, &packet); in main() 242 ret = decode_write(decoder_ctx, &packet); in main() 247 avcodec_free_context(&decoder_ctx); in main()
|
| /third_party/mesa3d/src/intel/vulkan/ |
| D | anv_batch_chain.c | 2186 intel_print_batch(&device->decoder_ctx, in anv_queue_exec_locked() 2195 intel_print_batch(&device->decoder_ctx, (*bo)->bo->map, in anv_queue_exec_locked() 2200 intel_print_batch(&device->decoder_ctx, in anv_queue_exec_locked() 2451 intel_print_batch(&device->decoder_ctx, in anv_queue_submit_simple_batch()
|
| D | anv_device.c | 3150 intel_batch_decode_ctx_init(&device->decoder_ctx, in anv_CreateDevice() 3156 device->decoder_ctx.dynamic_base = DYNAMIC_STATE_POOL_MIN_ADDRESS; in anv_CreateDevice() 3157 device->decoder_ctx.surface_base = SURFACE_STATE_POOL_MIN_ADDRESS; in anv_CreateDevice() 3158 device->decoder_ctx.instruction_base = in anv_CreateDevice() 3655 intel_batch_decode_ctx_finish(&device->decoder_ctx); in anv_DestroyDevice()
|
| D | anv_private.h | 1256 struct intel_batch_decode_ctx decoder_ctx; member
|